/* =============================================================================
   ORARIO PAGE STYLES - CS Galvani Design System
   Tabella orario con stile industriale ed elegante
   ============================================================================= */

/* Theme Variables - Aligned with CS Galvani Design System */
.orario-content,
.orario-loading-state {
    --plenup-bg: #0a0a0a;
    --plenup-surface: #1a1a1a;
    --plenup-surface-elevated: #242424;
    --plenup-border: #2a2a2a;
    --plenup-text-primary: #f5f5f5;
    --plenup-text-secondary: #888888;
    --plenup-text-subtle: #555555;
    --plenup-accent: #ff5c00;
    --plenup-accent-hover: #ff7a33;
    --plenup-hover: #1f1f1f;
    --plenup-muted: #141414;
    
    /* Spacing aligned with design system */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    
    /* Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Apply fade-in animation to main content */
.orario-content {
    animation: fadeInUp 400ms var(--ease-out);
}

.card {
    animation: scaleIn 300ms var(--ease-out);
}

/* =============================================================================
   LOADING SKELETON
   ============================================================================= */

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--plenup-surface) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        var(--plenup-surface) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-title {
    height: 1.5rem;
    width: 200px;
    margin-bottom: 0.5rem;
}

.skeleton-subtitle {
    height: 0.875rem;
    width: 280px;
}

.skeleton-header {
    height: 1rem;
    width: 80%;
    margin: 0 auto;
}

.skeleton-time {
    height: 1rem;
    width: 60%;
}

.skeleton-cell {
    height: 60px;
    width: 100%;
}

.skeleton-legend-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.skeleton-legend-text {
    height: 0.875rem;
    width: 60px;
}

.orario-loading-state .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =============================================================================
   ERROR STATE
   ============================================================================= */

.orario-error-state {
    display: none;
    padding: var(--space-md) 0;
    animation: fadeInUp 400ms var(--ease-out);
}

.error-content {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(220, 38, 38, 0.08);
    border-left: 4px solid #DC2626;
    border-radius: 8px;
    margin-bottom: var(--space-sm);
    transition: all 200ms var(--ease-out);
}

.error-content:hover {
    background: rgba(220, 38, 38, 0.12);
}

.error-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.15);
    border-radius: 8px;
    color: #DC2626;
}

.error-text {
    flex: 1;
}

.error-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--plenup-text-primary);
    margin: 0 0 var(--space-xs) 0;
    letter-spacing: -0.01em;
}

.error-message {
    font-size: 0.875rem;
    color: var(--plenup-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 var(--space-md) var(--space-md) var(--space-md);
}

/* =============================================================================
   CLASS BADGE
   ============================================================================= */

.class-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0.75rem;
    background: var(--plenup-muted);
    border: 1px solid var(--plenup-border);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--plenup-text-primary);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.class-badge:hover {
    background: var(--plenup-surface);
    border-color: var(--plenup-accent);
}

.class-badge .icon {
    color: var(--plenup-accent);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.class-badge:hover .icon {
    transform: scale(1.1);
}

/* =============================================================================
   ORARIO CONTENT
   ============================================================================= */

.orario-header {
    margin-bottom: var(--space-md);
}

.orario-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plenup-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.integrated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 92, 0, 0.08);
    border: 1px solid rgba(255, 92, 0, 0.25);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--plenup-accent);
    white-space: nowrap;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.integrated-badge:hover {
    background: rgba(255, 92, 0, 0.12);
    border-color: rgba(255, 92, 0, 0.4);
}

.integrated-badge i {
    flex-shrink: 0;
}

/* =============================================================================   FILTRO DIRAMAZIONE (Classi Integrate)
   ============================================================================= */

.orario-filter-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--plenup-muted);
    border: 1px solid var(--plenup-border);
    border-radius: 8px;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orario-filter-container:hover {
    border-color: rgba(255, 92, 0, 0.3);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--plenup-text-primary);
    margin: 0;
}

.filter-label .icon {
    color: var(--plenup-accent);
    flex-shrink: 0;
}

.class-filter {
    padding: var(--space-xs) var(--space-sm);
    background: var(--plenup-surface);
    border: 1px solid var(--plenup-border);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--plenup-text-primary);
    cursor: pointer;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    min-width: 120px;
}

.class-filter:hover {
    border-color: var(--plenup-accent);
    background: var(--plenup-surface-elevated);
}

.class-filter:focus {
    border-color: var(--plenup-accent);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.1);
}

.class-filter option {
    background: var(--plenup-surface);
    color: var(--plenup-text-primary);
    padding: var(--space-xs);
}

/* =============================================================================   CLASS TABS (Classi Integrate) - REMOVED, now handled in backend - REMOVED, now handled in backend
   ============================================================================= */

/* =============================================================================
   CURRENT LESSON INFO
   ============================================================================= */

.current-lesson-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--plenup-muted);
    border: 1px solid var(--plenup-border);
    border-radius: 8px;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.current-lesson-info:hover {
    border-color: rgba(255, 92, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.current-lesson-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.current-lesson-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--plenup-accent) 0%, #ff7a33 100%);
    border-radius: 8px;
    color: var(--plenup-bg);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 92, 0, 0.3);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.current-lesson-info:hover .current-lesson-icon {
    transform: scale(1.05);
}

.current-lesson-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--plenup-text-primary);
    line-height: 1.5;
}

.current-lesson-credit {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--plenup-text-subtle);
    flex-shrink: 0;
}

.plenup-text-small {
    font-weight: 400;
}

.plenup-link-small {
    color: var(--plenup-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.plenup-link-small:hover {
    color: var(--plenup-accent-hover);
}

/* =============================================================================
   ORARIO TABLE - Industrial/Editorial Style
   ============================================================================= */

.orario-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 75vh;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    margin-bottom: var(--space-md);
    border: 1px solid var(--plenup-border);
    border-radius: 10px;
    background: var(--plenup-surface);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orario-table-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Custom scrollbar for desktop */
.orario-table-wrapper::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.orario-table-wrapper::-webkit-scrollbar-track {
    background: var(--plenup-muted);
    border-radius: 5px;
}

.orario-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--plenup-border);
    border-radius: 5px;
    transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orario-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 92, 0, 0.4);
}

.orario-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

/* Table Header */
.orario-table thead {
    background: var(--plenup-muted);
    position: sticky;
    top: 0;
    z-index: 10;
}

.orario-header-cell {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--plenup-text-subtle);
    border-bottom: 2px solid var(--plenup-border);
    white-space: nowrap;
    background: var(--plenup-muted);
    transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orario-header-cell:hover {
    color: var(--plenup-text-primary);
}

.orario-header-cell:first-child {
    text-align: left;
    min-width: 140px;
    position: sticky;
    left: 0;
    z-index: 11;
    background: var(--plenup-muted);
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
}

/* Table Body */
.orario-table tbody tr {
    border-bottom: 1px solid var(--plenup-border);
    transition: background-color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orario-table tbody tr:last-child td {
    border-bottom: none;
}

.orario-table tbody tr:hover {
    background: var(--plenup-hover);
}

/* Current Cell Highlight */
.orario-cell.current-cell .orario-entry {
    background: rgba(255, 92, 0, 0.15);
    border-color: var(--plenup-accent);
    box-shadow: 0 0 0 2px rgba(255, 92, 0, 0.2);
}

.orario-cell.current-cell .orario-entry:hover {
    background: rgba(255, 92, 0, 0.25);
}

/* Time Cell */
.orario-time-cell {
    padding: var(--space-sm) var(--space-md);
    background: var(--plenup-muted);
    vertical-align: top;
    border-bottom: 1px solid var(--plenup-border);
    position: sticky;
    left: 0;
    z-index: 5;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
}

.time-label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--plenup-text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.time-range {
    font-size: 0.75rem;
    color: var(--plenup-text-subtle);
    font-weight: 500;
}

/* Entry Cells */
.orario-cell {
    padding: var(--space-sm) var(--space-md);
    vertical-align: top;
    text-align: center;
    min-width: 140px;
    border-bottom: 1px solid var(--plenup-border);
}

.orario-cell-empty {
    color: var(--plenup-text-subtle);
}

.empty-cell-text {
    font-size: 0.8125rem;
    opacity: 0.3;
    font-weight: 500;
}

/* Entry Content */
.orario-entry {
    padding: var(--space-xs) var(--space-sm);
    background: var(--plenup-surface);
    border: 1px solid var(--plenup-border);
    border-radius: 8px;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: var(--space-xs);
}

.orario-entry:last-child {
    margin-bottom: 0;
}

.orario-entry:hover {
    background: var(--plenup-surface-elevated);
    border-color: rgba(255, 92, 0, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Entry Details */
.entry-materia {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--plenup-text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.entry-prof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--plenup-text-secondary);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.entry-aula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--plenup-text-secondary);
    font-weight: 500;
}

.entry-prof .icon,
.entry-aula .icon {
    flex-shrink: 0;
    opacity: 0.6;
}

/* =============================================================================
   LEGEND
   ============================================================================= */

.orario-legend {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: var(--space-sm) var(--space-md);
    background: var(--plenup-muted);
    border-radius: 8px;
    border: 1px solid var(--plenup-border);
    margin-bottom: var(--space-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--plenup-text-secondary);
    transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.legend-item:hover {
    color: var(--plenup-text-primary);
}

.legend-item .icon {
    color: var(--plenup-accent);
    flex-shrink: 0;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.plenup-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--plenup-text-subtle);
    border-top: 1px solid var(--plenup-border);
}

.plenup-text {
    font-weight: 400;
}

.plenup-link {
    color: var(--plenup-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.plenup-link:hover {
    color: var(--plenup-accent-hover);
    text-decoration: underline;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

/* Mobile Day Navigation - Hidden on desktop */
.mobile-day-nav {
    display: none !important;
}

/* Tablet & Medium Screens - Keep hidden */
@media (min-width: 769px) {
    .mobile-day-nav {
        display: none !important;
    }
}

/* Large Desktop (1400px+) - Extra space and comfort */
@media (min-width: 1400px) {
    .orario-table-wrapper {
        max-height: 80vh;
    }
    
    .orario-header-cell:first-child {
        min-width: 160px;
    }
    
    .orario-cell {
        min-width: 160px;
    }
    
    .entry-materia {
        font-size: 0.9375rem;
    }
}

/* Tablet & Medium Screens (768px - 1024px) */
@media (max-width: 1024px) {
    .orario-table-wrapper {
        max-height: 65vh;
    }
    
    .orario-header-cell:first-child {
        min-width: 120px;
    }
    
    .orario-cell {
        min-width: 120px;
    }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    /* Mobile Day Navigation - Show on mobile */
    .mobile-day-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-sm);
        padding: var(--space-sm);
        margin-bottom: var(--space-sm);
        background: var(--plenup-muted);
        border: 1px solid var(--plenup-border);
        border-radius: 8px;
    }
    
    .day-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--plenup-surface);
        border: 1px solid var(--plenup-border);
        border-radius: 6px;
        color: var(--plenup-text-primary);
        cursor: pointer;
        transition: all 200ms var(--ease-out);
        flex-shrink: 0;
    }
    
    .day-nav-btn:hover:not(:disabled) {
        background: var(--plenup-surface-elevated);
        border-color: var(--plenup-accent);
        color: var(--plenup-accent);
    }
    
    .day-nav-btn:active:not(:disabled) {
        transform: scale(0.95);
    }
    
    .day-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }
    
    .day-nav-current {
        flex: 1;
        text-align: center;
    }
    
    .day-nav-label {
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--plenup-text-subtle);
        margin-bottom: 0.125rem;
    }
    
    .day-nav-day {
        font-size: 1rem;
        font-weight: 700;
        color: var(--plenup-text-primary);
        letter-spacing: -0.01em;
    }
    
    /* Single Column View - Hide all columns except selected */
    .orario-table thead th:not(:first-child):not(.day-visible) {
        display: none;
    }
    
    .orario-table tbody td:not(.orario-time-cell):not(.day-visible) {
        display: none;
    }
    
    /* Make visible column full width with smooth transition */
    .orario-table thead th.day-visible,
    .orario-table tbody td.day-visible {
        width: auto;
        min-width: 0;
        animation: fadeIn 250ms var(--ease-out);
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Current lesson info - stack on mobile */
    .current-lesson-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        padding: var(--space-sm);
    }
    
    .current-lesson-icon {
        width: 40px;
        height: 40px;
    }
    
    .current-lesson-credit {
        align-self: center;
        padding-top: var(--space-xs);
        border-top: 1px solid var(--plenup-border);
        width: 100%;
        justify-content: center;
    }
    
    /* Filter container - stack on mobile */
    .orario-filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
        padding: var(--space-sm);
    }
    
    .filter-label {
        font-size: 0.8125rem;
    }
    
    .class-filter {
        width: 100%;
    }
    
    /* Table wrapper - optimized for mobile */
    .orario-table-wrapper {
        border-radius: 8px;
        max-height: 60vh;
        overflow-x: hidden; /* No horizontal scroll needed with single column */
        touch-action: pan-y; /* Only vertical scroll */
    }
    
    /* Table takes full width on mobile */
    .orario-table {
        width: 100%;
        table-layout: fixed; /* Fixed layout for consistent column widths */
    }
    
    /* Hide scrollbar on mobile for cleaner look */
    .orario-table-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* Compact table cells */
    .orario-header-cell,
    .orario-cell {
        padding: 0.5rem 0.75rem;
    }
    
    /* Time cell - compact for mobile to give more space to day column */
    .orario-time-cell {
        padding: 0.375rem 0.5rem;
        min-width: 70px;
        max-width: 80px;
        width: 70px;
        box-shadow: none; /* Remove shadow on mobile */
    }
    
    .orario-header-cell {
        font-size: 0.6875rem;
    }
    
    .orario-header-cell:first-child {
        min-width: 70px;
        max-width: 80px;
        width: 70px;
        padding: 0.375rem 0.5rem;
        box-shadow: none; /* Remove shadow on mobile */
    }
    
    .orario-cell {
        min-width: 0;
        width: auto; /* Take remaining space */
    }
    
    /* Visible day column takes all remaining space */
    .orario-cell.day-visible {
        width: calc(100% - 70px); /* Full width minus time column */
    }
    
    .time-label {
        font-size: 0.75rem;
        margin-bottom: 0.125rem;
        font-weight: 700;
    }
    
    .time-range {
        font-size: 0.625rem;
        line-height: 1.2;
    }
    
    /* Compact entry cells */
    .orario-entry {
        padding: 0.375rem 0.5rem;
    }
    
    .entry-materia {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .entry-prof,
    .entry-aula {
        font-size: 0.6875rem;
        gap: 0.25rem;
    }
    
    /* Legend - wrap and adjust */
    .orario-legend {
        gap: var(--space-xs);
        padding: var(--space-xs) var(--space-sm);
    }
    
    .legend-item {
        font-size: 0.75rem;
    }
    
    /* Footer */
    .plenup-footer {
        flex-direction: column;
        gap: 0.25rem;
        padding: var(--space-sm);
        font-size: 0.75rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .orario-title {
        font-size: 1.25rem;
    }
    
    .integrated-badge {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }
    
    .current-lesson-text {
        font-size: 0.8125rem;
    }
    
    .orario-table-wrapper {
        max-height: 55vh;
    }
    
    /* Extra compact time cell for small screens */
    .orario-time-cell {
        padding: 0.25rem 0.375rem;
        min-width: 60px;
        max-width: 65px;
        width: 60px;
        box-shadow: none;
    }
    
    .orario-header-cell:first-child {
        min-width: 60px;
        max-width: 65px;
        width: 60px;
        padding: 0.25rem 0.375rem;
        box-shadow: none;
    }
    
    .orario-cell {
        min-width: 0;
        padding: 0.375rem 0.5rem;
        width: auto;
    }
    
    /* Visible day column takes all remaining space */
    .orario-cell.day-visible {
        width: calc(100% - 60px);
    }
    
    .time-label {
        font-size: 0.6875rem;
        margin-bottom: 0.0625rem;
    }
    
    .time-range {
        font-size: 0.5625rem;
        line-height: 1.2;
    }
    
    .entry-materia {
        font-size: 0.6875rem;
    }
    
    .entry-prof,
    .entry-aula {
        font-size: 0.625rem;
    }
}

/* Print Styles */
@media print {
    .orario-table-wrapper {
        max-height: none;
        border: 1px solid #000;
        overflow: visible;
    }
    
    .orario-table {
        page-break-inside: auto;
    }
    
    .orario-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    .current-lesson-info,
    .orario-filter-container,
    .plenup-footer {
        display: none;
    }
}
