.student-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.student-card.selected {
    border: 2px solid var(--mud-palette-primary);
    box-shadow: 0 4px 20px rgba(var(--mud-palette-primary-rgb), 0.3);
}

.student-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.student-card .mud-card-header {
    padding-bottom: 8px;
}

.student-card .mud-card-content {
    padding-top: 8px;
}

.teacher-card {
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.dashboard-card {
    transition: all 0.3s ease;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    color: white;
    text-align: center;
    background-image: linear-gradient(rgba(6,24,63,0.6), rgba(6,24,63,0.6)), url('/images/education-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 3rem 1rem;
    border-radius: 0;
    margin: 0;
}

.hero-content {
    max-width: 980px;
}

.cta-row {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.login-microsoft, .login-microsoft:hover {
    background-color: white;
    color: #2F2F2F;
    padding: 25px;
}

.loading-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 600px) {
    .hero { 
        min-height: 100vh; 
        height: 100vh; 
        padding: 2rem 0.5rem; 
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
}
