/* --- Global Styles & Body --- */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: grey !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 3px;
}

.card-container {
    position: relative;
    width: 100%;
    max-width: 540px;
    background-color: #fff;
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
}

.card-header {
    position: relative;
    height: 215px;
    width: 100%;
    z-index: 1;

}

.banner {
    width: 100%;
    height: 100%;
    max-height: 215px;
}

.logo-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: 215px;
    top: 0;
    left: 0;
}

.logo {
    max-height: 100%;
    max-width: 50%;
}

.profile-card-container {
    position: relative;
    margin-top: -50px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 20;
}

.profile-card {
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: #fff;
    width: calc(100% - 40px);
    min-height: 40px;
    box-shadow: 1px 1px 5px 1px rgb(0 0 0/10%);
    border-radius: 10px;
    padding: 10px 10px;
    margin-bottom: 20px;
    gap: 10px;
}

.profile-picture {
    object-fit: cover;
}

.profile-picture-container {
    height: 80px;
    width: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 3;
}

.name {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 24px;
}

.job-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.social-icons-container {
    gap: 10px;
}

.social-icons-container i {
    height: 20px;
    width: 20px;
}


.main-card {
    box-shadow: 1px 1px 5px 1px rgb(0 0 0/10%);
    padding: 10px 10px 20px;
    margin-bottom: 5px;
}

.contact-info-container {
    position: relative;
}

.contact-info-list {
    position: relative;
    padding: 30px 10px 5px;
    z-index: 3;
}

.contact-info-item {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 12px;
}

.contact-icon {
    height: 35px;
    width: 35px;
    min-width: 35px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    font-size: 14px;
    font-weight: 500;
}

.buttons-container {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 50px;
}

.btn {
    width: 100%;
    padding: 15px 5px !important;
    border-radius: 10px !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: center;
    align-items: center;
}

.btn span {
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

.mainHeader h3 {
    font-size: 18px;
    margin: 0;
    position: relative;
    font-weight: 600;
}

.services {
    font-size: 14px;
}


.modal-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px
}

.modal-h h5 {
    margin: 0;
}

.modal-body label {
    width: 100%
}

.close {
    border: none;
    background-color: transparent;
    font-size: 30px;
    color: grey;
}

.input-group {
    display: flex;
}

.form-group .btn-outline-secondary {
    border: none;
    color: grey;
}

.form-group .btn-outline-secondary:hover {
    background-color: transparent;
    color: grey;
}

/* Styles for the loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it's above everything else */
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid transparent; /* Outer color */
    border-top: 5px solid #3498db; /* Blue color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.svg-icon {
    height: 20px;
    width: 20px;
}

.language-selector {
    z-index: 1000;
    position: absolute;
    top: 20px;
    left: 20px;
}

.language-dropdown {
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 10px; /* Rounded corners */
    padding: 5px 10px; /* Add some padding */
    display: inline-flex; /* Align elements horizontally */
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 14px; /* Default font size */
}

.language-dropdown:hover {
    background-color: #e9ecef; /* Slightly darker background on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhance shadow on hover */
}

.language-select {
    border: none !important; /* Remove the border completely */
    background-color: transparent !important; /* Transparent background */
    box-shadow: none !important; /* Remove any shadow */
    outline: none; /* Remove the focus outline */
    -webkit-appearance: none; /* Remove default styles for WebKit browsers */
    -moz-appearance: none; /* Remove default styles for Firefox */
    appearance: none; /* Remove default styles for all browsers */
    padding: 4px 8px; /* Adjust padding for smaller screens */
    font-size: 13px; /* Slightly smaller font size */
    color: #495057; /* Set text color */
    width: 100%; /* Ensure the width is responsive */
}

.language-select:focus {
    outline: none !important; /* Remove outline when focused */
    box-shadow: none !important; /* Ensure no shadow on focus */
    border: none !important; /* Ensure no border on focus */
}

.language-select option {
    font-size: 14px; /* Match font size */
    color: #495057; /* Subtle gray text */
}

@media (max-width: 768px) {
    .language-dropdown {
        padding: 3px 8px; /* Reduce padding for smaller screens */
        font-size: 12px; /* Smaller font size for mobile */
    }

    .language-select {
        font-size: 12px; /* Smaller font size for mobile */
        padding: 3px 6px; /* Adjust padding for mobile */
    }
}
