body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/*.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 430px;
    padding: 20px;
    text-align: center;
}*/

.cardTarjeta {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 430px;
    padding: 20px;
    text-align: center;
    height: 95vh; /* Let the card's height adjust dynamically */
    overflow-y: auto; /* Enable vertical scroll if content exceeds the card's height */
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .card {
        width: 100%; /* Expand card to full width on mobile */
        max-height: 100vh; /* Ensure the card fills the entire height on mobile */
        border-radius: 10px; /* Keep the corner radius on mobile */
        overflow-y: auto; /* Enable vertical scroll on mobile if needed */
    }

    body{
        display: block;
    }
}

#logoImage {
    height: 30px;
    display: block; 
    margin: 0 auto 20px;
}

#userImage{
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
}


.card h2 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.card p {
    color: gray;
    font-size: 14px;
    margin: 0 0 20px;
}

.contact-icons {
    display: flex;
    justify-content: space-around; /* Distribute icons evenly */
    margin: 20px 0;
}

.contact-icons a {
    width: 50px;
    height: 50px;
    background-color: #2f3e50; /* Dark background color */
    border-radius: 50%; /* Make the background circular */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 20px; /* Size of the background icon */
    background-repeat: no-repeat;
    background-position: center;
}


/*
.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    row-gap: 30px;
    justify-items: center; 
    margin-top: 20px;
} 
*/

.social-links {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* Adjust columns to fit available space */
    gap: 10px; /* Add space between icons */
    row-gap: 30px;
    justify-items: center; /* Center each link horizontally */
    justify-content: center; /* Center the entire row when items are less than 4 */
    margin-top: 20px;
}

.social-link-item {
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center; /* Horizontally center the icon and text */
    justify-content: center; /* Center content vertically */
    text-align: center; /* Ensure text is centered */
}

.social-link-item a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 5px;
}

.social-link-item span {
    font-size: 14px;
    color: #333; /* Text color */
}

/* Individual social media icons with local image files */
#phoneLink {
    background-image: url('../img/phone.png');
}

#emailLink {
    background-image: url('../img/email.png');
}

#locationLink {
    background-image: url('../img/location.png');
}

#appointmentLink {
    background-image: url('../img/calendar.png');
}

#genericLink {
    background-image: url('../img/web.png');
}

#facebookLink {
    background-image: url('../img/facebook.png');
}

#instagramLink {
    background-image: url('../img/instagram.png');
}

#whatsappLink {
    background-image: url('../img/whatsapp.png');
}

#linkedinLink {
    background-image: url('../img/linkedin.png');
}

#doctoraliaLink {
    background-image: url('../img/doctoralia.png');
}

#topdoctorsLink {
    background-image: url('../img/topdoctors.png');
}

#eleonorLink {
    background-image: url('../img/eleonor.png');
}

#saludtotalLink {
    background-image: url('../img/saludtotal.png');
}

#googlereviewLink {
    background-image: url('../img/googleReview.png');
}

.custom-link a {
    background-image: url('../img/web.png'); /* Apply the same image to all custom links */
}

.footer-section {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center;
    align-items: center; /* Center items horizontally */
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0%;
}

.action-buttons {
    display: flex;
    gap: 20px; /* Add space between the buttons */
}

.footer-button {
    background-color: #2f3e50; /* Dark background color for the buttons */
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers text and icon within the button */
    gap: 10px; /* Space between icon and text */
    transition: background-color 0.3s;
    width: 180px;
    height: 45px;
}

.footer-button:hover {
    background-color: #3f4f60; /* Slightly lighter color on hover */
}

.footer-button i {
    font-size: 13px; /* Size of the icons inside the buttons */
}

.powered-by {
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    align-items: center;
    gap: 10px; /* Space between the text and the logo */
    width: 100%; /* Ensures the flex container takes up full width */
    margin-top: 20px; /* Space between buttons and "Powered by" section */
}


.powered-by img {
    text-align: lefroghtt;
    height: 18px; /* Adjust the size of the Medikit logo */
}

.powered-by span {
    font-size: 16px;
    color: #333;
}

.select2-container .select2-selection--single {
	height: -moz-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: -webkit-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	line-height: 1.25;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	padding: 1.625rem 2.25rem .625rem 0.75rem;
	font-size: 1rem;
	background-color: var(--bs-body-bg);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-selection__rendered {
	padding: 0 !important;
}
.select2-container~label,
.iti~label {
	color: rgba(var(--bs-body-color-rgb),.65);
	transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--bs-body-color);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: -moz-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: -webkit-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
}
.select2-hidden-accessible.is-invalid + .select2-container--default .select2-selection--single,
.select2-hidden-accessible.is-invalid + .select2-container--default .select2-selection--multiple {
	border-color: var(--bs-form-invalid-border-color);
	padding-right: calc(1.5em + 0.75rem);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.3;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	outline: none;
}

.iti {
	width: 100%;
}
.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text] {
	padding: 1.625rem 0.75rem 0.625rem 50px;
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	line-height: 1.25;
}
.iti__selected-flag {
	padding-top: 15px;
}
#mobileNavBar {
	width: 224px;
}
.profileOption .row {
	width: 208px;
}
.profileOption .avatar-autor {
	width: 30px;
	height: 30px;
	border: 0px;
	color: #fff;
	line-height: 29px;
	background-position: center;
	background-repeat: no-repeat;
	-o-background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
	background-image: url("../img/bg-avatar-header.jpg");
	border-radius: 50%;
	font-size: 12px;
	text-align: center;
	font-weight: 700;
	display: inline-block;
	vertical-align: middle;
}
.profileOption a,
.profileOption p {
	color: white;
	font-size: 12px;
	line-height: 1;
}

.avatar-128 {
    height: 128px;
    width: 128px;
    font-size: 85px;
    line-height: 128px;
}
.avatar {
    position: relative;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 21px;
    line-height: 32px;
}

.form-floating.floating-placeholder > .form-control::placeholder {
    color: revert;
}
.form-floating.floating-placeholder > .form-control:not(:focus)::placeholder {
    color: transparent;
}