/* Franjas rojas */
.red-stripe-top,
.red-stripe-bottom {
    background-color: #dc3545; /* Rojo Bootstrap */
    height: 40px;
}

.red-stripe-top {
    width: 100%;
    position: relative;
}

.red-stripe-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    color: white;
    text-align: center;
    margin: 0;
    font-size: 14px;
}

.footer-content p {
    margin: 0;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Contenedor principal de login */
.login-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-bottom: 40px;
}

.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9e9e9 100%);
    min-height: 100vh;
}

/* Sección del logo */
.logo-section {
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    border-radius: 0 50px 0 50px;
    overflow: hidden;
}

/* Formulario de login */
.login-form-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
}

.login-title {
    text-align: center;
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 24px;
}

.login-form {
    width: 100%;
}

.login-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.login-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
}

.login-form .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.login-btn {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    padding: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-btn:active {
    transform: translateY(0);
}

.form-check-label {
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

.alert {
    font-size: 14px;
    border-radius: 4px;
}

.login-form-section p {
    font-size: 14px;
    color: #666;
}

.login-form-section a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-form-section a:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .login-form-section {
        padding: 30px 20px;
        max-width: 100%;
        margin: 0 20px;
    }

    .logo {
        max-width: 200px;
    }

    .login-title {
        font-size: 20px;
    }

    .red-stripe-top,
    .red-stripe-bottom {
        height: 30px;
    }
}
