﻿
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: white;
}

html, body {
    height: 100%;
    margin: 0;
}

.left-panel {
    height: 100vh;
    display: flex;
    padding: 20px;
    margin-left: 100px;
}

.logo-container img {
    width: 62px;
    height: 62px;
    height: auto;
}

.form-container {
    max-width: 400px; /* Reducir el ancho del formulario */
    width: 100%;
}

.right-panel {
    height: 90vh;
    padding: 20px;
    
}



.system-title {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.clinic-title {
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #333;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
}

    .form-control::placeholder {
        color: #adb5bd;
    }

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
}

    .custom-checkbox:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

.forgot-password {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

    .submit-button:hover {
        background-color: #5c636a;
    }

.support-text {
    text-align: left;
    font-size: 0.9rem;
    color: #6c757d;
}

.support-link {
    color: #0d6efd;
    text-decoration: none;
    margin-left: 0.25rem;
}

/* Asegúrate de que los inputs tengan un borde transparente cuando están enfocados */
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
    background-color: #f8f9fa;
}
.imgCarousel {
    width: 100%;
    height: 100%;
    gap: 0px;
}

.form-control {
    top: 250px;
    left: 157px;
    gap: 60px;
}

.error-message {
    color: red;
    margin-top: 10px;
    text-align: center;
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .loading-overlay img {
        max-width: 100px;
    }

b {
    font-family: Poppins;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: black;
}

h3 {
    font-family: Poppins;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: black;
    margin-bottom: -9px;
}

label {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.30000001192092896px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.form-control {
    background-color: #f2f2f2;
}

.divider {
    border-bottom: 1px solid #E3E3E3;
}

/* Establecer altura fija y centrar contenido */
#carouselExampleIndicators {
    position: relative;
    display: flex;
    height:600px;
    justify-content: center;
    overflow: hidden; /* Evitar desbordamiento */
    background-color: #E3E3E3; /* Fondo para uniformidad */
    border-radius:45px;
}

/* Forzar que las imágenes se ajusten al carrusel */
.imgCarousel {
    max-height: 100%;
    min-height:600px;
    object-fit:contain; /* Evitar deformación de la imagen */
}

/* Indicadores circulares centrados */
.carousel-indicators {
    position: absolute;
    bottom: 20px; /* Ajustar la posición */
    left: 33%;
    
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
    .carousel-indicators [data-bs-target] {
        width: 14px;
        height: 14px;
        background-color: white;
    }
        /* Estilo base del indicador */
        .carousel-indicators button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: white;
        border: none;
        opacity: 0.5;
        transition: all 0.5s ease;
    }

    /* Estilo del indicador activo */
    .carousel-indicators .active {
        background-color: #3869EB;
        opacity: 1;
        transform: scale(1.5); /* Estira solo en el eje X */
    }


/* Transición más suave entre slides */
.carousel-item {
    transition: transform 2s ease-in-out;
}

.textLabel{
    margin-top:15px;
    margin-bottom:5px;
}

.panel-recuperar {
    width:30%;
    gap: 40px;
    padding-top: 24px;
    padding-right: 40px;
    padding-bottom: 24px;
    padding-left: 40px;
    border-radius: 4px;
    position: fixed; /* Lo saca del flujo normal y lo posiciona respecto al viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Lo desplaza la mitad de su propio ancho y alto */
    z-index: 1200; /* Asegura que esté por encima de otros elementos si es necesario */
    background-color: white; /* O el color de fondo que desees */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Opcional: para darle un efecto de elevación */
    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.11px;
    text-align: center;
}

    .panel-recuperar p {
        font-family: Poppins;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0px;
        text-align: center;
    }

    .panel-recuperar .btn {
        gap: 8px;
        border-radius: 8px;
        padding-top: 8px;
        padding-right: 16px;
        padding-bottom: 8px;
        padding-left: 16px;
    }

    .panel-recuperar .btn-cancel {
        background: rgba(229, 229, 229, 1);
    }
.btn-succes {
    padding: 10px 12px 10px 12px;
    gap: 8px;
    border-radius: 4px;
    background: rgba(33, 161, 1, 1);
    font-family: Nunito Sans;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.82px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 1);
}

.backFade {
    position: fixed; /* Se posiciona de forma fija en toda la pantalla */
    top: 0;
    left: 0;
    width: 100%; /* Ocupa todo el ancho */
    height: 100%; /* Ocupa todo el alto */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente (negro con 50% opacidad) */
    justify-content: right;
    align-items: center;
}



/* Tablet (≤ 991.98px) */
@media (max-width: 991.98px) {
    .panel-recuperar {
        width: min(86vw, 520px);
        padding: 20px 28px;
        gap: 24px;
        font-size: 18px;
    }

        .panel-recuperar p {
            font-size: 15px;
        }
}

/* Mobile (≤ 575.98px) */
@media (max-width: 575.98px) {
    .panel-recuperar {
        width: 92vw; /* casi todo el ancho del viewport */
        padding: 16px 16px;
        gap: 16px;
        font-size: 16px;
    }

        .panel-recuperar p {
            font-size: 14px;
        }

        .panel-recuperar .btn {
            padding: 8px 12px; /* botones más compactos */
            width: 100%; /* opcional: apilar y ocupar ancho */
        }
}

/* Texto y botones (base) */
.panel-recuperar p {
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.panel-recuperar .btn {
    gap: 8px;
    border-radius: 8px;
    padding: 8px 16px;
}

.panel-recuperar .btn-cancel {
    background: rgba(229,229,229,1);
}
