/* ==========================================
   DESKTOP LARGE (max-width: 1400px)
   ========================================== */
@media (max-width: 1400px) {
    /* Home page grids */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ==========================================
   TABLET (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {

    /* --- INLINE GRID OVERRIDES --- */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* 2fr 1fr sidebar layouts -> stack */
    div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 1fr 1fr hero / contact -> stack */
    div[style*="grid-template-columns: 1fr 1fr"]:not(div[style*="grid-template-rows"]) {
        grid-template-columns: 1fr !important;
    }

    /* Cart layout: 1fr 400px -> stack */
    div[style*="grid-template-columns: 1fr 400px"] {
        grid-template-columns: 1fr !important;
    }

    /* Cart item: 200px 1fr auto -> image smaller */
    div[style*="grid-template-columns: 200px 1fr auto"] {
        grid-template-columns: 150px 1fr auto !important;
    }

    /* Seminar create: 1fr 1fr 1fr -> 1fr 1fr */
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Filter form: 5-column -> 2+auto */
    div[style*="grid-template-columns: 2fr 1fr 1fr 1fr auto"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Featured news: 1.2fr 1fr */
    div[style*="grid-template-columns: 1.2fr 1fr"] {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    /* --- STICKY ELEMENTS --- */
    div[style*="position: sticky"] {
        position: static !important;
    }

    /* --- PUBLIC LAYOUT (app.blade.php) --- */
    .nav {
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }

    /* --- ADMIN LAYOUT --- */
    .admin-sidebar {
        width: 80px !important;
    }

    .admin-sidebar .sidebar-logo-text,
    .admin-sidebar .menu-section-title,
    .admin-sidebar .menu-item span,
    .admin-sidebar .menu-item-badge {
        display: none !important;
    }

    .admin-sidebar .sidebar-header {
        padding: 1.75rem 0.75rem !important;
        justify-content: center !important;
    }

    .admin-sidebar .sidebar-logo {
        display: none !important;
    }

    .admin-sidebar .sidebar-toggle {
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .admin-main {
        margin-left: 80px !important;
    }

    /* --- PROFESSOR LAYOUT --- */
    .professor-sidebar {
        width: 80px !important;
    }

    .professor-sidebar .sidebar-logo-text,
    .professor-sidebar .menu-item span {
        display: none !important;
    }

    .professor-sidebar .sidebar-header {
        padding: 1.75rem 0.75rem !important;
        justify-content: center !important;
    }

    .professor-main {
        margin-left: 80px !important;
    }

    /* --- CHAT --- */
    div[style*="width: 350px"] {
        width: 250px !important;
    }

    /* --- FONT SIZES --- */
    div[style*="font-size: 3.5rem"] {
        font-size: 2.5rem !important;
    }

    div[style*="font-size: 3rem"] {
        font-size: 2.25rem !important;
    }

    /* --- HERO BLOBS --- */
    div[style*="width: 400px"][style*="height: 400px"][style*="border-radius: 50%"],
    div[style*="width: 300px"][style*="height: 300px"][style*="border-radius: 50%"] {
        display: none !important;
    }

    /* --- TABLES --- */
    .card-body[style*="padding: 0"] {
        overflow-x: auto;
    }

    .table {
        min-width: 600px;
    }

    /* --- SECTIONS PADDING --- */
    section[style*="padding: 6rem"] {
        padding: 4rem 1.5rem !important;
    }

    section[style*="padding: 8rem"] {
        padding: 5rem 1.5rem !important;
    }
}

/* ==========================================
   MOBILE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {

    /* --- INLINE GRID OVERRIDES --- */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 400px"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 2fr 1fr 1fr 1fr auto"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1.2fr 1fr"] {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    /* Cart item: 200px 1fr auto -> stack */
    div[style*="grid-template-columns: 200px 1fr auto"] {
        grid-template-columns: 1fr !important;
    }

    /* Sticky -> static */
    div[style*="position: sticky"] {
        position: static !important;
    }

    /* ========== PUBLIC LAYOUT (app.blade.php) ========== */
    /* Nav and header-actions hidden on mobile; hamburger shown via inline styles in app.blade.php */

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem !important;
        margin-top: 3rem !important;
    }

    .social-links {
        justify-content: center;
    }

    /* ========== ADMIN LAYOUT ========== */
    .admin-sidebar {
        width: 0 !important;
        transform: translateX(-100%);
        transition: all 0.3s ease !important;
    }

    .admin-sidebar.mobile-open {
        width: 280px !important;
        transform: translateX(0);
    }

    .admin-sidebar.mobile-open .sidebar-logo-text,
    .admin-sidebar.mobile-open .menu-section-title,
    .admin-sidebar.mobile-open .menu-item span,
    .admin-sidebar.mobile-open .menu-item-badge {
        display: inline !important;
    }

    .admin-sidebar.mobile-open .sidebar-logo {
        display: flex !important;
    }

    .admin-sidebar.mobile-open .sidebar-header {
        padding: 1.75rem 1.5rem !important;
        justify-content: space-between !important;
    }

    .admin-main {
        margin-left: 0 !important;
    }

    .admin-header {
        padding: 1rem !important;
    }

    .admin-header-left h2 {
        font-size: 1.125rem !important;
    }

    .admin-content {
        padding: 1rem !important;
    }

    /* Admin page headers */
    .page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .page-title {
        font-size: 1.5rem !important;
    }

    /* Cards */
    .card-header {
        padding: 1rem 1.25rem !important;
        font-size: 1.1rem !important;
    }

    .card-body {
        padding: 1rem 1.25rem !important;
    }

    /* Tables - horizontal scroll */
    .card-body[style*="padding: 0"],
    .card > div:has(> .table) {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 650px;
    }

    .table th,
    .table td {
        padding: 0.75rem 1rem !important;
        font-size: 0.8125rem !important;
        white-space: nowrap;
    }

    /* Modals */
    .modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
        margin: 1rem auto !important;
    }

    .modal-header {
        padding: 1.25rem !important;
    }

    .modal-body {
        padding: 1.25rem !important;
    }

    .modal-footer {
        padding: 1.25rem !important;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem !important;
    }

    .form-control {
        padding: 0.75rem !important;
        font-size: 16px !important; /* prevent iOS zoom */
    }

    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.875rem !important;
    }

    .btn-sm {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.8125rem !important;
    }

    /* ========== PROFESSOR LAYOUT ========== */
    .professor-sidebar {
        width: 0 !important;
        transform: translateX(-100%);
        transition: all 0.3s ease !important;
    }

    .professor-sidebar.mobile-open {
        width: 280px !important;
        transform: translateX(0);
    }

    .professor-sidebar.mobile-open .sidebar-logo-text,
    .professor-sidebar.mobile-open .menu-item span {
        display: inline !important;
    }

    .professor-main {
        margin-left: 0 !important;
    }

    .professor-header {
        padding: 1rem !important;
    }

    .professor-header h2 {
        font-size: 1.125rem !important;
    }

    .professor-content {
        padding: 1rem !important;
    }

    /* ========== PARTICIPANT LAYOUT ========== */
    .participant-header {
        padding: 0.75rem 1rem !important;
    }

    .logo-text {
        display: none !important;
    }

    .public-nav {
        display: none !important;
    }

    .user-name {
        display: none !important;
    }

    .participant-content {
        padding: 1rem !important;
    }

    /* ========== CHAT PAGES ========== */
    /* Admin chat */
    div[style*="width: 350px"] {
        width: 100% !important;
    }

    div[style*="height: calc(100vh - 150px)"][style*="display: flex"] {
        flex-direction: column !important;
        height: auto !important;
        min-height: calc(100vh - 150px);
    }

    /* Professor chat */
    div[style*="height: 600px"][style*="display: flex"] {
        height: auto !important;
        min-height: 400px;
    }

    /* Chat message bubbles */
    div[style*="max-width: 60%"] {
        max-width: 85% !important;
    }

    /* ========== INLINE FONT SIZE OVERRIDES ========== */
    div[style*="font-size: 3.5rem"],
    span[style*="font-size: 3.5rem"],
    h1[style*="font-size: 3.5rem"],
    p[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    div[style*="font-size: 3rem"],
    span[style*="font-size: 3rem"],
    h1[style*="font-size: 3rem"],
    p[style*="font-size: 3rem"] {
        font-size: 1.75rem !important;
    }

    div[style*="font-size: 2.5rem"],
    span[style*="font-size: 2.5rem"],
    h1[style*="font-size: 2.5rem"],
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }

    div[style*="font-size: 2.25rem"],
    h2[style*="font-size: 2.25rem"] {
        font-size: 1.5rem !important;
    }

    div[style*="font-size: 2rem"],
    span[style*="font-size: 2rem"],
    h2[style*="font-size: 2rem"],
    h3[style*="font-size: 2rem"] {
        font-size: 1.375rem !important;
    }

    /* ========== INLINE PADDING OVERRIDES ========== */
    section[style*="padding: 6rem"],
    div[style*="padding: 6rem"] {
        padding: 3rem 1rem !important;
    }

    section[style*="padding: 8rem"],
    div[style*="padding: 8rem"] {
        padding: 3rem 1rem !important;
    }

    section[style*="padding: 4rem"],
    div[style*="padding: 4rem 2rem"] {
        padding: 2rem 1rem !important;
    }

    /* ========== HERO DECORATIONS ========== */
    div[style*="width: 400px"][style*="height: 400px"][style*="border-radius: 50%"],
    div[style*="width: 300px"][style*="height: 300px"][style*="border-radius: 50%"] {
        display: none !important;
    }

    /* Hero badge circles */
    div[style*="width: 120px"][style*="height: 120px"][style*="position: absolute"] {
        width: 80px !important;
        height: 80px !important;
        top: -10px !important;
        right: -10px !important;
    }

    /* Decorative absolute positioned circles on stat cards */
    div[style*="width: 100px"][style*="height: 100px"][style*="position: absolute"] {
        display: none !important;
    }

    /* ========== HOME PAGE ========== */
    /* Hero image container */
    div[style*="max-width: 500px"] {
        max-width: 300px !important;
    }

    /* Stat icons */
    div[style*="width: 80px"][style*="height: 80px"][style*="border-radius"] {
        width: 60px !important;
        height: 60px !important;
    }

    /* Professor avatars */
    div[style*="width: 120px"][style*="height: 120px"][style*="border-radius: 50%"] {
        width: 80px !important;
        height: 80px !important;
    }

    /* Partner emoji size */
    div[style*="font-size: 4rem"] {
        font-size: 2.5rem !important;
    }

    /* CTA section */
    div[style*="max-width: 1000px"] {
        max-width: 100% !important;
        padding: 2rem 1rem !important;
    }

    /* ========== SEMINAR SHOW PAGE ========== */
    /* Seminar hero image */
    div[style*="height: 500px"][style*="background-size: cover"] {
        height: 250px !important;
    }

    /* Meta info row */
    div[style*="display: flex"][style*="gap: 2rem"][style*="flex-wrap: wrap"] {
        gap: 1rem !important;
    }

    /* ========== NEWS PAGES ========== */
    /* Featured news min-height */
    div[style*="min-height: 550px"] {
        min-height: auto !important;
    }

    /* News images */
    div[style*="height: 600px"][style*="background-size"] {
        height: 250px !important;
    }

    div[style*="height: 400px"][style*="background-size"] {
        height: 200px !important;
    }

    /* Author avatar */
    div[style*="width: 100px"][style*="height: 100px"][style*="border-radius: 50%"] {
        width: 60px !important;
        height: 60px !important;
    }

    /* ========== CART PAGES ========== */
    /* Cart item image */
    div[style*="width: 200px"][style*="height: 150px"],
    div[style*="grid-template-columns: 200px"] div[style*="height: 150px"] {
        height: 180px !important;
    }

    /* Cart total price */
    div[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }

    /* ========== AUTH PAGES ========== */
    .auth-container {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 100vh !important;
    }

    .auth-left {
        display: none !important;
    }

    .auth-right {
        padding: 2rem 1.5rem !important;
        max-height: none !important;
    }

    .role-selection {
        grid-template-columns: 1fr !important;
    }

    /* ========== CONTACT PAGE ========== */
    /* Map iframe */
    iframe[style*="height: 400"] {
        height: 250px !important;
    }

    /* Contact info icons */
    div[style*="width: 50px"][style*="height: 50px"][style*="border-radius"] {
        width: 40px !important;
        height: 40px !important;
    }

    /* ========== ADMIN DASHBOARD ========== */
    /* Decorative huge icons */
    div[style*="font-size: 8rem"] {
        font-size: 4rem !important;
    }

    /* ========== SEARCH INPUTS ========== */
    input[style*="width: 300px"] {
        width: 100% !important;
    }

    /* ========== FLEX GAP OVERRIDES ========== */
    div[style*="display: flex"][style*="gap: 2rem"] {
        gap: 1rem !important;
    }

    div[style*="display: flex"][style*="gap: 1.5rem"] {
        gap: 0.75rem !important;
    }

    /* Action button groups */
    div[style*="display: flex"][style*="gap: 0.5rem"] .btn {
        padding: 0.375rem 0.625rem !important;
    }

    /* ========== STATISTICS PAGE ========== */
    /* Revenue/stats sections */
    div[style*="grid-template-columns: 2fr 1fr"][style*="gap: 2rem"] {
        grid-template-columns: 1fr !important;
    }

    /* ========== EMPTY STATE ========== */
    .empty-state {
        padding: 2.5rem 1rem !important;
    }

    .empty-state i {
        font-size: 3.5rem !important;
    }

    /* ========== ALERTS ========== */
    .alert {
        padding: 1rem !important;
        font-size: 0.875rem;
    }

    /* ========== BADGES ========== */
    .badge {
        padding: 0.25rem 0.625rem !important;
        font-size: 0.6875rem !important;
    }
}

/* ==========================================
   SMALL MOBILE (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {

    /* --- GRIDS: everything single column --- */
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Partners grid can stay 2-col */
    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* --- PUBLIC LAYOUT --- */
    /* Nav hidden on mobile; hamburger menu handles navigation */

    .footer {
        padding: 2rem 1rem 1rem !important;
    }

    /* --- FONT SIZES --- */
    div[style*="font-size: 3.5rem"],
    span[style*="font-size: 3.5rem"],
    h1[style*="font-size: 3.5rem"] {
        font-size: 1.625rem !important;
    }

    div[style*="font-size: 3rem"],
    span[style*="font-size: 3rem"],
    h1[style*="font-size: 3rem"] {
        font-size: 1.5rem !important;
    }

    div[style*="font-size: 2.5rem"],
    span[style*="font-size: 2.5rem"] {
        font-size: 1.375rem !important;
    }

    div[style*="font-size: 2rem"],
    span[style*="font-size: 2rem"] {
        font-size: 1.25rem !important;
    }

    div[style*="font-size: 1.5rem"],
    span[style*="font-size: 1.5rem"] {
        font-size: 1.125rem !important;
    }

    /* --- ADMIN / PROFESSOR --- */
    .admin-header-left h2,
    .professor-header h2 {
        font-size: 1rem !important;
    }

    .page-title {
        font-size: 1.25rem !important;
    }

    .admin-content,
    .professor-content,
    .participant-content {
        padding: 0.75rem !important;
    }

    /* --- TABLES --- */
    .table th,
    .table td {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    /* --- CARDS --- */
    .card {
        border-radius: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .card-header {
        padding: 0.875rem 1rem !important;
        font-size: 1rem !important;
    }

    .card-body {
        padding: 0.875rem 1rem !important;
    }

    /* --- BUTTONS --- */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8125rem !important;
    }

    .btn-sm {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem !important;
    }

    /* --- AUTH PAGES --- */
    .auth-right {
        padding: 1.5rem 1rem !important;
    }

    .auth-right h2 {
        font-size: 1.5rem !important;
    }

    /* --- HOME PAGE --- */
    div[style*="max-width: 500px"] {
        max-width: 250px !important;
    }

    div[style*="width: 80px"][style*="height: 80px"][style*="border-radius"] {
        width: 50px !important;
        height: 50px !important;
    }

    /* Professor avatar on home */
    div[style*="width: 120px"][style*="height: 120px"][style*="border-radius: 50%"] {
        width: 60px !important;
        height: 60px !important;
    }

    div[style*="font-size: 4rem"] {
        font-size: 2rem !important;
    }

    /* --- SEMINAR SHOW --- */
    div[style*="height: 500px"][style*="background-size: cover"] {
        height: 200px !important;
    }

    /* Seminar professor avatar */
    div[style*="width: 120px"][style*="height: 120px"][style*="border-radius: 50%"]:not([style*="position"]) {
        width: 60px !important;
        height: 60px !important;
    }

    /* --- CONTACT MESSAGE SHOW --- */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* --- SECTIONS PADDING --- */
    section[style*="padding: 6rem"],
    div[style*="padding: 6rem"] {
        padding: 2rem 0.75rem !important;
    }

    section[style*="padding: 4rem"],
    div[style*="padding: 4rem"] {
        padding: 1.5rem 0.75rem !important;
    }

    /* --- SEMINAR CARD IMAGE --- */
    div[style*="height: 200px"][style*="background-size"] {
        height: 160px !important;
    }

    /* --- NEWS --- */
    div[style*="height: 600px"][style*="background-size"] {
        height: 200px !important;
    }

    div[style*="height: 400px"][style*="background-size"] {
        height: 180px !important;
    }

    div[style*="height: 250px"][style*="background-size"] {
        height: 150px !important;
    }

    /* --- CHAT --- */
    div[style*="max-width: 60%"] {
        max-width: 90% !important;
    }

    /* --- CART CHECKOUT --- */
    div[style*="font-size: 2rem"][style*="letter-spacing"] {
        font-size: 1.25rem !important;
    }

    /* --- EMPTY STATE --- */
    .empty-state {
        padding: 2rem 0.75rem !important;
    }

    .empty-state i {
        font-size: 3rem !important;
    }

    .empty-state h3 {
        font-size: 1.125rem !important;
    }

    /* --- MAX-WIDTH CONTAINERS --- */
    div[style*="max-width: 1400px"],
    div[style*="max-width: 1200px"],
    div[style*="max-width: 1000px"],
    div[style*="max-width: 900px"],
    div[style*="max-width: 800px"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* ==========================================
   LANDSCAPE MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: landscape) {
    /* Reduce hero heights */
    div[style*="height: 500px"][style*="background-size: cover"] {
        height: 200px !important;
    }

    /* Chat heights */
    div[style*="height: calc(100vh - 150px)"] {
        height: calc(100vh - 80px) !important;
    }

    div[style*="height: 600px"][style*="display: flex"] {
        height: calc(100vh - 80px) !important;
    }
}

/* ==========================================
   MOBILE OVERLAY (for admin & professor sidebars)
   ========================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile hamburger button for admin/professor */
.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.mobile-sidebar-toggle:hover {
    background: #f3f4f6;
}

@media (max-width: 768px) {
    .mobile-sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .header,
    .footer,
    .admin-sidebar,
    .professor-sidebar,
    .participant-sidebar,
    .sidebar-overlay,
    .mobile-sidebar-toggle,
    .admin-header,
    .professor-header,
    .participant-header,
    .btn,
    .navbar-actions,
    .header-actions {
        display: none !important;
    }

    .admin-main,
    .professor-main {
        margin-left: 0 !important;
    }

    .admin-content,
    .professor-content,
    .participant-content {
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #e5e7eb;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .table {
        min-width: auto !important;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
