/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Grid de opciones de login */
.login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.login-card.profesor::before {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.login-card.alumno::before {
    background: linear-gradient(90deg, #a8edea, #fed6e3);
}

.login-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.login-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.login-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-login {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

.btn-login:active {
    transform: translateY(0);
}

/* Información del sistema */
.info-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    color: white;
    text-align: center;
}

.info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-section p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
}

.footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .login-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-icon {
        font-size: 3rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .login-card {
        padding: 25px 15px;
    }

    .btn-login {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Sin animaciones */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Iconos Unicode */
.icon-admin::before { content: "👨‍💼"; }
.icon-profesor::before { content: "👨‍🏫"; }
.icon-alumno::before { content: "👨‍🎓"; }
.icon-graduation::before { content: "🎓"; }
.icon-shield::before { content: "🛡️"; }
.icon-book::before { content: "📚"; }
.icon-users::before { content: "👥"; }
.icon-chart::before { content: "📊"; }
.icon-mobile::before { content: "📱"; }
.icon-heart::before { content: "❤️"; }
