/**
 * ESTILOS DE LA PÁGINA DE LOGIN - GOLDEN APP
 * 
 * Este archivo contiene todos los estilos específicos para la página
 * de inicio de sesión, incluyendo elementos decorativos y responsive design.
 * 
 * @author Equipo Golden Bridge
 * @version 1.0.0
 * @date 2024
 */

/* ========================================
   LAYOUT PRINCIPAL DE LA PÁGINA
   ======================================== */

/* Estilos específicos para la página de login */
.login-page {
    min-height: 100vh;
    background-color: var(--color-background);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ========================================
   ELEMENTOS DECORATIVOS
   ======================================== */

/* Elementos decorativos de fondo */
.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Figura de la esquina superior derecha */
.decoration-top-right {
    position: fixed;
    top: -5%;
    right: -5%;
    width: 60%;
    height: 60%;
    opacity: 1;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* Círculos en la esquina inferior izquierda */
.circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.circle-1 {
    width: 724px;
    height: 724px;
    background: rgba(236, 211, 129, 0.59);
    opacity: 1;
    position: absolute;
    bottom: -362px;
    left: -362px;
    border-radius: 50%;
}

.circle-2 {
    width: 572px;
    height: 572px;
    background: rgba(236, 211, 129, 0.6);
    opacity: 1;
    position: absolute;
    bottom: -286px;
    left: -286px;
    border-radius: 50%;
}

.circle-3 {
    width: 438px;
    height: 438px;
    background: rgba(236, 211, 129, 1);
    opacity: 1;
    position: absolute;
    bottom: -219px;
    left: -219px;
    border-radius: 50%;
}

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */

/* Contenedor principal */
.login-container {
    position: relative;
    z-index: 10;
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 400px;
    width: 90%;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
}

/* ========================================
   SECCIÓN DEL LOGO
   ======================================== */

/* Logo Section */
.logo-section {
    margin-bottom: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-icon {
    width: 300px;
    height: 200px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-golden {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-bridge {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-top: -5px;
}

.logo-dots {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-left: 5px;
    letter-spacing: 2px;
}

/* Formulario */
/* ========================================
   FORMULARIO DE LOGIN
   ======================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, rgba(236, 211, 129, 0.8) 0%, rgba(236, 211, 129, 0.6) 100%);*/
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 211, 129, 0.3);
}

.input-field:focus-within {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.input-icon {
    color: var(--color-text-dark);
    font-size: 1.2rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.input-control {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 0.75rem 0;
}

.input-control::placeholder {
    color: var(--color-text-dark);
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botón de inicio de sesión */
.login-button {
    background: linear-gradient(135deg, rgba(7, 136, 201, 1) 0%, rgba(7, 136, 201, 0.8) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 1rem;
    border: 1px solid rgba(236, 211, 129, 0.5);
}

.login-button:hover {
    background-color: #d4a940;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.login-button:active {
    transform: translateY(0);
}

.btn-primary {
    border-color: #0788c9;
    background: #0788c9;
    color: #fff;
}

/* ========================================
   PIE DE PÁGINA
   ======================================== */

/* Footer */
.login-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
}

.login-footer p {
    color: #666;
    font-size: 0.875rem;
    font-weight: 400;
}

/* ========================================
   DISEÑO RESPONSIVE
   ======================================== */

/* Responsive Design */

/* Pantallas grandes (desktop) */
@media (min-width: 1200px) {
    .decoration-top-right {
        width: 65%;
        height: 65%;
        top: -5%;
        right: -17%;
    }
    
    .circle-1 {
        width: 900px;
        height: 900px;
        bottom: -450px;
        left: -450px;
    }
    
    .circle-2 {
        width: 700px;
        height: 700px;
        bottom: -350px;
        left: -350px;
    }
    
    .circle-3 {
        width: 550px;
        height: 550px;
        bottom: -275px;
        left: -275px;
    }
}
@media (max-width: 768px) {
    .login-container {
        padding: 4rem 3rem;
        margin: 1rem;
    }
    
    .logo-icon {
        width: 200px;
        height: 80px;
    }
    
    .logo-golden {
        font-size: 3rem;
    }
    
    .logo-bridge {
        font-size: 1.6rem;
    }
    
    /* Figuras decorativas responsivas */
    .decoration-top-right {
        width: 55%;
        height: 55%;
        top: -8%;
        right: -8%;
    }
    
    .circle-1 {
        width: 500px;
        height: 500px;
        bottom: -250px;
        left: -250px;
    }
    
    .circle-2 {
        width: 400px;
        height: 400px;
        bottom: -200px;
        left: -200px;
    }
    
    .circle-3 {
        width: 300px;
        height: 300px;
        bottom: -150px;
        left: -150px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem 1rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 150px;
        height: 100px;
    }
    
    .logo-text {
        align-items: center;
    }
    
    .login-footer {
        bottom: 1rem;
        left: 1rem;
    }
    
    /* Figuras decorativas para móviles pequeños */
    .decoration-top-right {
        width: 50%;
        height: 50%;
        top: -10%;
        right: -10%;
    }
    
    .circle-1 {
        width: 400px;
        height: 400px;
        bottom: -200px;
        left: -200px;
    }
    
    .circle-2 {
        width: 320px;
        height: 320px;
        bottom: -160px;
        left: -160px;
    }
    
    .circle-3 {
        width: 240px;
        height: 240px;
        bottom: -120px;
        left: -120px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .logo-icon {
        width: 180px;
        height: 120px;
    }
    
    .login-container {
        padding: 1rem 0.5rem;
    }
    
    .decoration-top-right {
        width: 45%;
        height: 45%;
        top: -12%;
        right: -12%;
    }

    /* Figuras decorativas para móviles pequeños */
    .decoration-top-right {
        width: 50%;
        height: 50%;
        top: -10%;
        right: -10%;
    }
    
    .circle-1 {
        width: 200px;
        height: 400px;
        bottom: -200px;
        left: -200px;
    }
    
    .circle-2 {
        width: 320px;
        height: 320px;
        bottom: -160px;
        left: -160px;
    }
    
    .circle-3 {
        width: 240px;
        height: 240px;
        bottom: -120px;
        left: -120px;
    }
} 