/*================================
   ESTILOS GENERALES
================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../img/fondoleon.jpeg') center center / cover fixed no-repeat;
    background-color: #1a1a1a;
    color: #fff;
    min-height: 100vh;
}

.login-container,
.dashboard-container,
.page-container,
.calendar-container,
.main-container {
    background: rgba(0, 0, 0, 0.45) !important;
}

/*================================
   LOGIN - CONTENEDOR PRINCIPAL
================================*/
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 40px 20px;
    text-align: center;
    color: #1a1a1a;
}

.login-header h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.login-header p {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.login-body {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder {
    color: #999;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding: 20px 40px;
    background: #f8f8f8;
    color: #666;
    font-size: 12px;
}

/*================================
   PÁGINA PRINCIPAL (INDEX)
================================*/
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('../img/fondoleones.jpg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.main-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.main-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-content p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
}

.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-main {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
}

.btn-secretaria {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.btn-secretaria:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-padres {
    background: white;
    color: #1a1a1a;
    border: 2px solid #FFD700;
}

.btn-padres:hover {
    background: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/*================================
   NAVBAR
================================*/
.navbar {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: #FFD700 !important;
    font-weight: bold;
    font-size: 24px;
}

.btn-principal {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/*================================
   CARDS
================================*/
.card {
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.card-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #1a1a1a;
    font-weight: bold;
}

/*================================
   ESTADOS DE ASISTENCIA
================================*/
.estado-presente {
    background: #28a745;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.estado-falta {
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.estado-atraso {
    background: #FFD700;
    color: #1a1a1a;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.estado-licencia {
    background: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

/*================================
   RESPONSIVE
================================*/
@media (max-width: 768px) {
    .main-content h1 {
        font-size: 36px;
    }

    .buttons-container {
        flex-direction: column;
    }

    .btn-main {
        width: 100%;
    }

    .login-box {
        max-width: 100%;
    }
 .logo{
    width: 25px;
    height: 25px;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 25px;
    max-height: 25px;
}

.logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.logo-login {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 30px;
    max-height: 30px;
}

.logo-login:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}
}