/* Login Page Styles - INNOVAI Transcript Identity */

:root {
    --color-primary-dark: #034EA2; /* PMS 293 C */
    --color-primary-light: #e40000; /* PMS Process Blue C */
    --font-heading: "Montserrat", sans-serif;
}

body {
    color: white;
    background:
            radial-gradient(
                    circle at top left,
                    hsl(198, 100%, 35%),
                    transparent 40%
            ),
            radial-gradient(
                    circle at bottom right,
                    hsl(198, 100%, 35%),
                    transparent 40%
            ),
            #043f86;
    font-family: var(--font-heading), serif;
}
.card {
    background-color: #f6f7f8;
    margin-bottom: 1.5rem;
}
.login-description {
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-size: 1.0rem;
}
.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
@media (max-width: 767.98px) {
    .login-description-text {
        margin-bottom: 2rem;
    }
}

h1 span {
    color: #00A1E4;
}

.login-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

button {
    background-color: #3b71ca;
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 4px 9px -4px rgba(59, 113, 202, 0.6);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 700 !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

button.btn.btn-primary {
    padding: 1rem !important;
}

button:hover {
    background-color: #386bc0;
    box-shadow: 0 8px 15px -5px rgba(59, 113, 202, 0.7);
}

.alert {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-family: var(--font-heading), serif;
    font-weight: 600;
}

.alert-danger {
    background-color: #f2dede;
    color: #a94442;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
}

#errorAlert::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(169, 68, 66, 0.25); /* Azul transparente encima del verde */
    width: 100%;
    animation: progressBar 3s linear forwards;
    z-index: 0; /* detrás del contenido */
}

#successAlert::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(60, 118, 61, 0.25); /* Azul transparente encima del verde */
    width: 100%;
    animation: progressBar 3s linear forwards;
    z-index: 0; /* detrás del contenido */
}

#successAlert > * {
    position: relative;
    z-index: 1; /* delante de la barra */
}

@keyframes progressBar {
    from { width: 100%; }
    to { width: 0; }
}

/* El label cuando el input está vacío */
.form-floating.floating-dark label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #50555b; /* Oscuro al inicio */
    opacity: 1;
}

/* El label cuando el input está activo o con texto */
.form-floating.floating-dark .form-control:focus ~ label,
.form-floating.floating-dark .form-control:not(:placeholder-shown) ~ label,
.form-floating.floating-dark .form-control:valid ~ label {
    color: #9d9d9d; /* Color más claro */
    font-weight: 500;
    opacity: 1;
}

#loading {
    display: none;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}







