/* ===== LOGIN PAGE RESPONSIVE ===== */

/* For tablets and smaller screens */
@media (max-width: 992px) {
    .header-overlay h1 {
        font-size: 2.3rem;
    }
    
    .login-container {
        padding: 25px;
    }
}

/* For medium mobile devices */
@media (max-width: 768px) {
    .login-page {
        padding: 15px;
    }
    
    .container {
        margin: 10px;
        border-radius: 12px;
    }
    
    .header-image {
        height: 250px;
    }
    
    .header-overlay h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 30px 15px;
    }
    
    .login-header h2 {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .forgot-password {
        max-width: 100%;
        text-align: left;
    }
}

/* For small mobile devices */
@media (max-width: 576px) {
    .header-image {
        height: 200px;
    }
    
    .header-overlay h1 {
        font-size: 1.7rem;
    }
    
    .login-container {
        padding: 20px;
        max-width: 100%;
    }
    
    .login-header h2 {
        font-size: 1.4rem;
    }
    
    .form-group input {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .toggle-password {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .forgot-password {
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 14px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 15px;
    }
    
    .footer-content p {
        font-size: 0.85rem;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    .header-overlay h1 {
        font-size: 1.5rem;
    }
    
    .login-header h2 {
        font-size: 1.3rem;
    }
    
    .form-group input {
        padding: 12px;
    }
    
    .forgot-password {
        font-size: 0.85rem;
    }
}

/* ===== HOME PAGE RESPONSIVE ===== */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .header-container {
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem !important;
    }
    
    .welcome-section p {
        font-size: 1rem !important;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-info {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .stats-card {
        padding: 20px !important;
    }
    
    .stats-number {
        font-size: 2.5rem !important;
    }
    
    .welcome-section {
        padding: 25px !important;
    }
    
    .welcome-section h1 {
        font-size: 1.6rem !important;
    }
    
    .home-main-content {
        padding: 15px !important;
    }
    
    .quick-stats-section h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .home-main-content {
        padding: 15px !important;
    }
    
    .welcome-section {
        padding: 20px !important;
    }
    
    .welcome-section h1 {
        font-size: 1.4rem !important;
    }
    
    .welcome-section p {
        font-size: 0.95rem !important;
    }
    
    .quick-stats-section h2 {
        font-size: 1.5rem !important;
    }
    
    .stats-card {
        padding: 15px !important;
    }
    
    .stats-number {
        font-size: 2.2rem !important;
    }
    
    .stats-icon {
        font-size: 2rem !important;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .menu {
        gap: 10px;
    }
    
    .menu a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}
/* ===== STUDENT DETAILS PAGE RESPONSIVE ===== */

@media (max-width: 768px) {
    .batch-section {
        padding: 15px !important;
    }
    
    .student-table th, 
    .student-table td {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }
    
    .student-details-section h2 {
        font-size: 1.6rem !important;
    }
    
    .batch-section h3 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    .student-table th, 
    .student-table td {
        padding: 8px !important;
        font-size: 0.85rem !important;
    }
}