/* Error de minimización. Devolviendo el contenido no minimizado.
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,46): run-time error CSS1039: Token not allowed after unary operator: '-pantone-navy'
(9,70): run-time error CSS1039: Token not allowed after unary operator: '-pantone-teal'
(67,17): run-time error CSS1039: Token not allowed after unary operator: '-pantone-gray'
(91,28): run-time error CSS1039: Token not allowed after unary operator: '-pantone-teal'
(114,17): run-time error CSS1039: Token not allowed after unary operator: '-pantone-teal'
(137,21): run-time error CSS1039: Token not allowed after unary operator: '-pantone-teal'
(142,46): run-time error CSS1039: Token not allowed after unary operator: '-pantone-navy'
(142,70): run-time error CSS1039: Token not allowed after unary operator: '-pantone-teal'
(244,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(245,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(246,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(247,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
 */
:root {
    --pantone-navy: #242B57; /* PANTONE 103-16 C */
    --pantone-teal: #007EAD; /* PANTONE 112-6 C */
    --pantone-gray: #949494; /* PANTONE 178-9 C */
    --pantone-gold: #EAB93E; /* PANTONE 14-7 C */
}

body {
    background: linear-gradient(135deg, var(--pantone-navy) 0%, var(--pantone-teal) 100%);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    padding-bottom: 80px; /* Espacio para el footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(36, 43, 87, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 126, 173, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    color: white;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

    .login-header h4 {
        margin: 0;
        font-weight: 800;
        letter-spacing: 0.5px;
        font-size: 2rem;
    }

.logo-container {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

    .logo-container img {
        max-width: 250px;
        height: auto;
    }

.login-body {
    padding: 2rem;
}

.floating-input {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.input-icon {
    color: var(--pantone-gray);
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.floating-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

    .floating-input input:focus {
        border-color: var(--pantone-teal);
        box-shadow: none;
    }

.floating-input label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    background: white;
    padding: 0 0.5rem;
    font-size: 1rem;
}

.floating-input input:focus + label,
.floating-input input:not(:placeholder-shown) + label,
.floating-input input[data-filled="true"] + label {
    top: 0;
    left: 1rem;
    font-size: 0.8rem;
    color: var(--pantone-teal);
    transform: translateY(-50%);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .password-toggle:hover {
        color: var(--pantone-teal);
        background: none;
    }

.btn-login {
    background: linear-gradient(135deg, var(--pantone-navy) 0%, var(--pantone-teal) 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

    .btn-login:hover {
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

    .btn-login:disabled,
    .btn-login.disabled {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
    }

.recaptcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Loader styles */
.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

    .loader:not(.hidden) {
        display: block;
    }

.hidden {
    display: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 576px) {
    body {
        padding: 10px;
        padding-bottom: 120px; /* Más espacio en móviles para el footer */
    }

    .login-header {
        padding: 1.5rem 1rem;
    }

        .login-header h4 {
            font-size: 1.8rem;
            letter-spacing: 0.5px;
        }

    .login-card {
        border-radius: 10px;
    }

    .login-body {
        padding: 1.5rem;
    }

    .logo-container {
        padding: 1rem;
    }
}

:root {
    --pantone-navy: #242B57; /* PANTONE 103-16 C */
    --pantone-teal: #007EAD; /* PANTONE 112-6 C */
    --pantone-gray: #949494; /* PANTONE 178-9 C */
    --pantone-gold: #EAB93E; /* PANTONE 14-7 C */
}

.custom-footer {
    color: white;
    padding: 1rem 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.copyright-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .custom-footer a:hover {
        color: #E3F2FD;
        transform: translateY(-1px);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-decoration: none;
    }

.footer-heart {
    color: #ff6b6b;
    animation: heartbeat 2s ease-in-out infinite;
    font-size: 1.1em;
}

.footer-text {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.2);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.2);
    }

    70% {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .custom-footer {
        text-align: center;
        padding: 1.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

