    
/* SMART CALENDAR STYLES */
.smart-calendar-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.calendar-header {
    backdrop-filter: blur(20px);
    padding: 50px 10px 18px;
    margin-bottom: 12px;
    background: #ffffff; /* sfondo bianco per header calendario */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1040; /* sotto la navbar fixed-top (z-index:1050) */
}

.calendar-title {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: xxx-large;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
        background: #d0dcef; /* pill background */
    padding: 6px 10px;
    border-radius: 40px;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.06);
    max-width: 420px;
    margin: 0 auto;
}

.btn-nav-cal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-nav-cal:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.12);
}

.calendar-navigation .month-display {
    font-size: 1.50rem;
    font-weight: 700;
    color: #2c3e50;
    padding: 0 6px;
    min-width: 160px;
    text-align: center;
}

.btn-nav-cal:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.month-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    min-width: 200px;
    text-align: center;
}

.calendar-actions .btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
    color: white;
    border: none;
}

.calendar-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Smart Calendar Grid */
.smart-calendar-grid {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
    color: white;
}

.weekday {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.calendar-day {
    background: white;
    min-height: 120px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.calendar-day.today {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f1c40f;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.weekend {
    background: #fafafa;
}

.calendar-day.holiday {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    position: relative;
}

.calendar-day.holiday .day-number-container {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.calendar-day.holiday .day-number {
    font-weight: 700;
    color: #d32f2f;
    font-size: 0.75rem;
    line-height: 1.2;
    word-wrap: break-word;
    text-align: center;
}

.calendar-day.holiday .holiday-icon {
    color: #ff9800;
    font-size: 12px;
    animation: star-twinkle 2s ease-in-out infinite;
    flex-shrink: 0;
}

.calendar-day.holiday:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
}

/* Combinazione holiday + weekend */
.calendar-day.holiday.weekend {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border: 2px solid #e91e63;
}

.calendar-day.holiday.weekend .holiday-icon {
    color: #e91e63;
}

/* Combinazione holiday + today */
.calendar-day.holiday.today {
    background: linear-gradient(135deg, #ff5722 0%, #d32f2f 100%);
    color: white;
    border: 3px solid #b71c1c;
    animation: holiday-pulse 2s infinite;
}

.calendar-day.holiday.today .day-number {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.calendar-day.holiday.today .holiday-icon {
    color: #ffeb3b;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes holiday-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(244, 67, 54, 0.6);
    }
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.day-number-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.day-buttons {
    display: flex;
    gap: 4px;
}

.day-number {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
}

.add-event-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #667eea;
    color: white;
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paste-event-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #28a745;
    color: white;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.calendar-day:hover .add-event-btn {
    opacity: 1;
}

.add-event-btn:hover {
    background: #764ba2;
    transform: scale(1.2);
}

.paste-event-btn:hover {
    background: #20c997;
    transform: scale(1.2);
}

.day-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Calendar Events */
.calendar-event {
    background: #667eea;
    color: white;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 0.75rem;
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}



.calendar-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calendar-event:active {
    cursor: grabbing;
}

.event-time {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.event-title {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2px;
    margin-top: 2px;
}

.event-room {
    font-size: 0.7rem;
    opacity: 0.8;
}

.event-actions {
    display: flex;
    gap: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}



.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.event-divider {
    margin: 6px 0;
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.6;
}

.calendar-event .event-actions {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.calendar-event:hover .event-actions {
    opacity: 1;
    transform: scale(1.05);
}

.view-notes-btn,
.edit-event-btn {
    width: 24px;
    height: 24px;
    border: 2px solid #2c3e50;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border-radius: 6px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.view-notes-btn {
    border-color: #2c3e50;
    color: #2c3e50;
}

.view-notes-btn:hover {
    background: rgba(44, 62, 80, 0.1);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.view-notes-btn[data-event-note]:not([data-event-note=""]) {
    animation: pulseNote 2s infinite;
}

@keyframes pulseNote {
    0% { box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2), 0 0 0 0 rgba(44, 62, 80, 0.4); }
    70% { box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2), 0 0 0 4px rgba(44, 62, 80, 0); }
    100% { box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2), 0 0 0 0 rgba(44, 62, 80, 0); }
}

.view-notes-btn[data-event-note=""] {
    background: rgba(255, 255, 255, 0.6);
    border-color: #95a5a6;
    color: #95a5a6;
    opacity: 0.7;
}

.view-notes-btn[data-event-note=""]:hover {
    background: rgba(149, 165, 166, 0.1);
    border-color: #7f8c8d;
    color: #7f8c8d;
    opacity: 1;
}

.edit-event-btn {
    border-color: #2c3e50;
    color: #2c3e50;
}

.edit-event-btn:hover {
    background: rgba(44, 62, 80, 0.1);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.edit-event-btn {
    position: relative;
    overflow: hidden;
}

.edit-event-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.edit-event-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Drag and Drop States */
.event-ghost {
    opacity: 0.5;
    transform: rotate(5deg);
}

.event-chosen {
    cursor: grabbing;
    z-index: 1000;
}

.event-drag {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.stat-info p {
    margin: 0;
    color: #6c757d;
    font-weight: 500;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
   background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.color-picker {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-picker input[type="radio"] {
    display: none;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.color-picker input[type="radio"]:checked + .color-option {
    border-color: #2c3e50;
    transform: scale(1.2);
}

.color-option:hover {
    transform: scale(1.1);
}

/* Toast Styling */
.toast {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Copy/Paste Button Styling */
#pasteEvent:not(:disabled) {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-header {
        padding: 15px 0;
    }
    
    .calendar-header .row {
        gap: 15px;
    }
    
    .calendar-navigation {
        gap: 10px;
    }
    
    .month-display {
        font-size: 1.2rem;
        min-width: auto;
    }

    /* Responsive adjustments for compact navigation */
    .calendar-navigation {
        gap: 8px;
        padding: 6px;
        max-width: 100%;
    }

    .calendar-navigation .month-display {
        min-width: 120px;
        font-size: 1rem;
    }
    
    .calendar-actions {
        text-align: center !important;
    }
    
    .calendar-actions .btn {
        margin-bottom: 10px;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }
    
    .day-number {
        font-size: 0.9rem;
    }
    
    /* Responsive holiday adjustments */
    .calendar-day.holiday .day-number {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .calendar-day.holiday .holiday-icon {
        font-size: 10px;
    }
    
    .day-number-container {
        gap: 3px;
    }
    
    .calendar-event {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    .weekday {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .smart-calendar-container {
        padding-top: 100px;
    }
    
    .calendar-days {
        grid-template-columns: repeat(7, 1fr);
        gap: 0;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 2px;
    }
    
    .calendar-event {
        padding: 1px 2px;
        font-size: 0.6rem;
    }
    
    .event-title {
        display: none;
    }
    
    .stat-card {
        padding: 15px;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* MODERN NAVBAR STYLES */
.modern-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1050;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

/* Brand Styling */
.modern-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.modern-brand:hover {
    transform: scale(1.05);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
}

.navbar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aule{
    background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
}
.corsi{
   background: linear-gradient(135deg, #5343e9 100% , #667eea 0%);
}

.btn-add{
   background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
   border:none;
}

/* Modern Toggle Button */
.modern-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.modern-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.modern-toggler:hover .toggler-icon {
    background: #764ba2;
}

/* Navigation Links */
.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px !important;
    border-radius: 0;
    margin: 0 5px;
    color: #2c3e50 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.titolo-pagine{
    font-size: x-large;
    font-weight: 600;
    color: #2c3e50 !important;
}

/* Titoli delle pagine (liste) con sfondo bianco e separazione dalla navbar */
.titolo-pagine{
    background: #ffffff;
padding: 40px 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1040;
}

.modern-nav-link:hover {
    color: #667eea !important;
    transform: translateY(-2px);
}

.modern-nav-link:hover::after {
    width: 80%;
}

.nav-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.modern-nav-link:hover .nav-icon {
    transform: scale(1.2);
    color: #667eea !important;
}

.nav-text {
    font-size: 0.95rem;
}

/* Active state */
.modern-nav-link.active {
    color: #667eea !important;
    border-bottom: 3px solid transparent;
}

.modern-nav-link.active::after {
    width: 80%;
}

/* CTA Button */
.navbar-cta {
    display: flex;
    align-items: center;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #5343e9 100%);
}

/* Navbar spacer for fixed positioning */
.navbar-spacer {
    height: 74px;
}
/* Mobile Responsive */
@media (max-width: 991px) {
    .brand-text {
        display: none;
    }
    
    .brand-logo {
        width: 55px;
        height: 55px;
    }
    
    .navbar-logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .modern-nav-link {
        margin: 5px 0;
        justify-content: center;
    }
    
    .navbar-cta {
        margin-top: 15px;
        justify-content: center;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .modern-navbar .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .brand-title {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* Navbar animation on scroll */
.navbar-scroll-effect {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HOME PAGE STYLES */
.home-page {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
    color: white;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: larger;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.bottone-prenota {
    color: white;
    border: 1px white solid;
}

.bottone-prenota:hover {
    background-color: #1a2a56 !important;
    border-color: #1a2a56 !important;
    color: white !important;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* Glass Dark Blue Button */
.glass-btn-dark {
    background: rgba(25, 42, 86, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 32px rgba(25, 42, 86, 0.1) !important;
    border-radius: 50px !important;
}

.glass-btn-dark:hover {
    background: rgba(25, 42, 86, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(25, 42, 86, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.glass-btn-dark:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(25, 42, 86, 0.15) !important;
}


@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Animated Background Shapes */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: moveShape 20s linear infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: -5%;
    animation-delay: 7s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes moveShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, -100px) rotate(120deg); }
    66% { transform: translate(-50px, 100px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Features Section */


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #764ba2;
    text-decoration: none;
}

.feature-link i {
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* ================================
   FEATURE LIST MIGLIORATA
   ================================ */

.feature-label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.feature-list li {
    position: relative;
    padding: 15px 20px 15px 50px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-list li:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    border-left: 4px solid #667eea;
}



@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-60%) scale(1.1);
    }
}

/* Responsive adjustments per feature list */
@media (max-width: 768px) {
    .feature-list li {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    
    .feature-list li::before {
        left: 15px;
        font-size: 1.1rem;
    }
    
    .feature-label {
        font-size: 0.8rem;
        padding: 6px 14px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-list li {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }
    
    .feature-list li::before {
        left: 12px;
        font-size: 1rem;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}


.stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Footer */
.footer-section {
    background: #2c3e50 !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .floating-cards {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* giorno.html */  
    nav {
        background-color: #D2DBE9;
    }


    #calendar {
        max-width: 100%;
        margin: auto;
    }

    .hour-slot {
        border-bottom: 1px solid #ddd;
        min-height: 40px;
        position: relative;
        padding-left: 60px;
    }

    .hour-slot .text-muted {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        text-align: right;
        font-weight: 600;
    }

    .event {
        display: inline-block;
        margin-left: 50px;
        padding: 3px 7px;
        background-color: #0d6efd;
        color: white;
        border-radius: 4px;
        text-decoration: none;
        font-size: 0.875rem;
    }

    .event:hover {
        background-color: #0b5ed7;
        text-decoration: underline;
    }

    
/* aule.html */  
    nav {
            background-color: #D2DBE9;
        }


    .hour-cell {
        border: 1px solid #ddd;
        height: 40px;
        cursor: pointer;
        position: relative;
    }

    .hour-cell:hover {
        background-color: #f8f9fa;
    }

    .event {
        background-color: #0d6efd;
        color: white;
        padding: 2px 5px;
        border-radius: 3px;
        font-size: 0.75rem;
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        cursor: pointer;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .day-header {
        text-align: center;
        font-weight: bold;
        border-bottom: 2px solid #0d6efd;
        padding: 5px 0;
    }

/* calendario.html */  
    nav {
        background-color: #D2DBE9;
    }
    .calendar-body {
        margin: 0;    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }
    .titolo-main {
        margin-bottom: 20px;

    }

    .btn-mese{
        background-color: #6B6DD3;
        border: none;
        border-radius: 12px;
        padding: 8px 16px;
        font-size: 1rem;
        color: #D5E5E5;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .titolo-main h2{
        font-size: -webkit-xxx-large;
        font-weight: 700;
    }
    .calendar {
        table-layout: fixed;
        width: 100%;
    }

    .calendar td {
        height: 120px;
        vertical-align: top;
        cursor: pointer;
        overflow: hidden;
        padding: 6px;
        width: 14.28%;
        /* 100% / 7 giorni */
    }

    .today .date {
        background-color: var(--bs-primary);
        color: white;
        border-radius: 50%;
        width: 2.2rem;
        height: 2.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .event {
        font-size: 0.8rem;
        margin-top: 5px;
        background-color: #F7CBCA;
        border-radius: 0.3rem;
        padding: 2px 4px;
        display: block;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        text-decoration: none;
        color: #000000;
    }

    .event:hover {
        text-decoration: underline;
    }


    td {
        vertical-align: top;
        height: 100px;
        border: 1px solid #dee2e6;
        padding: 4px;
    }

    .event-list a.event {
        display: block;
        margin-bottom: 4px;
        text-decoration: none;
        background-color: #F7CBCA;
        border-radius: 4px;
        padding: 2px 6px;
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .add-event-btn {
        padding: 0 6px;
        font-size: 0.75rem;
        line-height: 1;
    }

    .calendar-table th {
        text-align: center;
        background-color: #D5E5E5;
    }
    .calendar-table th a{
        text-decoration: none;
        color: #6B6DD3;
    }

    .calendar-table td {
        width: 14.28%;
    }

/* index.html */  


/*navbar*/
.label-home-navbar {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    padding: 5px 10px;
}


    

        /* Stili specifici per totem con colori del sistema */
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
            min-height: 100vh;
        }
        
        .totem-header {
            background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
            color: white;
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
            padding: 30px 0;
            margin-bottom: 40px;
        }
        
        .totem-title {
            font-size: -webkit-xxx-large;
            font-weight: 700;
            text-align: center;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .totem-logo {
            height: 80px;
            width: auto;
            filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        }
        
        .totem-subtitle {
            font-size: 2.2rem;
            text-align: center;
            margin-top: 15px;
            opacity: 0.9;
        }
        
        .current-time {
            font-size: 1.7rem;
            font-weight: 600;
            color: #fff;
            text-align: center;
            margin-top: 20px;
            background: rgba(255, 255, 255, 0.2);
            padding: 15px 30px;
            border-radius: 50px;
            display: inline-block;
            backdrop-filter: blur(10px);
        }
        
        .corso-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            padding: 35px;
            margin-bottom: 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
            min-height: 220px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .corso-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
        }
        
        .corso-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }
        
        .aula-info {
            text-align: left;
            padding-right: 20px;
            border-right: 3px solid #e9ecef;
        }
        
        .corso-info {
            text-align: left;
            padding-left: 20px;
        }
        
        .aula-nome {
            font-size: 2.8rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .aula-nome i {
            color: #667eea;
        }
        
        .aula-capienza {
            font-size: 1.4rem;
            color: #6c757d;
            font-weight: 500;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .aula-capienza i {
            color: #28a745;
        }
        
        .orario-card {
            background: linear-gradient(135deg, #353846 0%, #5343e9 100%);
            color: white;
            padding: 18px 25px;
            border-radius: 15px;
            text-align: center;
            margin-top: 10px;
            font-weight: 600;
            font-size: 1.6rem;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }
        
        .corso-orario i {
            margin-right: 10px;
            font-size: 1.4rem;
        }
        
        .corso-nome {
            font-size: 2.4rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            line-height: 1.2;
        }
        
        .corso-nome i {
            color: #667eea;
        }
        
        .corso-tipo {
            background: linear-gradient(135deg, #17a2b8, #138496);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 1rem;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 15px;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 15px;
        }
        
        .corso-docente {
            font-size: 1.8rem;
            color: #495057;
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .corso-docente i {
            color: #28a745;
        }
        
        .corso-materia {
            background: linear-gradient(135deg, #ffc107, #e0a800);
            color: #212529;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-block;
            margin-top: 10px;
        }
        
        .corso-orario {
            font-size: 2rem;
            font-weight: 700;
            color: white;
        }
        
        .nessuna-lezione {
            grid-column: 1 / -1;
            text-align: center;
            background: linear-gradient(135deg, #e9ecef, #f8f9fa);
            border: 2px dashed #6c757d;
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        
        .nessuna-lezione h2 {
            color: #6c757d;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .nessuna-lezione i {
            color: #17a2b8;
            font-size: 4rem;
            margin-bottom: 20px;
        }
        
        .nessuna-lezione p {
            color: #6c757d;
            font-size: 1.4rem;
        }
        
        /* Animazioni */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .corso-card {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .corso-card:nth-child(2) { animation-delay: 0.1s; }
        .corso-card:nth-child(3) { animation-delay: 0.2s; }
        .corso-card:nth-child(4) { animation-delay: 0.3s; }
        .corso-card:nth-child(5) { animation-delay: 0.4s; }
        

        
        .nessuna-lezione h2 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .nessuna-lezione p {
            font-size: 2rem;
            margin: 0;
        }
        
        .grid-corsi {
            display: flex;
            flex-direction: column;
            gap: 25px;
            padding: 0 20px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        @media (max-width: 1024px) {
            .corso-card {
                grid-template-columns: 1fr;
                gap: 20px;
                text-align: center;
            }
            
            .aula-info {
                border-right: none;
                border-bottom: 3px solid #e0e0e0;
                padding-right: 0;
                padding-bottom: 20px;
            }
            
            .corso-info {
                padding-left: 0;
                padding-top: 20px;
            }
            
            .aula-nome { font-size: 2.2rem; justify-content: center; }
            .corso-nome { font-size: 2rem; }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (max-width: 768px) {
            .totem-title { font-size: 2.5rem; }
            .aula-name { font-size: 2rem; }
            .status-badge { font-size: 1.4rem; padding: 10px 20px; }
            .event-time { font-size: 1.6rem; }
        }
  

        /* <!-- Footer Styles --> */
.modern-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    width: 16px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-contact {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item i {
    margin-right: 12px;
    width: 18px;
    color: #00d4ff;
    font-size: 1rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00d4ff;
}

/* Developers Section */
.developers-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.developer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.developer-item i.fas {
    color: #00d4ff;
    width: 16px;
    font-size: 0.9rem;
}

.dev-name {
    flex: 1;
    font-weight: 500;
}

.dev-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.dev-linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #00d4ff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #00d4ff;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 30px;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .developers-grid {
        align-items: center;
    }
    
    .developer-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .dev-linkedin {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .developer-item {
        font-size: 0.85rem;
    }
}

/* Animation per il caricamento */
.footer-content > .container > .row > div {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-content > .container > .row > div:nth-child(1) { animation-delay: 0.1s; }
.footer-content > .container > .row > div:nth-child(2) { animation-delay: 0.2s; }
.footer-content > .container > .row > div:nth-child(3) { animation-delay: 0.3s; }
.footer-content > .container > .row > div:nth-child(4) { animation-delay: 0.4s; }

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

/* AULE PAGE STYLES */
.aula-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.aula-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-box {
    padding: 10px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.05);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aula-card .card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(83, 67, 233, 0.1) 100%);
}

.aula-details-table .table td,
.aula-details-table .table th {
    padding: 8px;
    font-size: 0.85rem;
    vertical-align: middle;
    text-align: center;
}

.aula-details-table .bg-danger {
    background-color: #dc3545 !important;
}

.aula-details-table .bg-success {
    background-color: #28a745 !important;
}

/* Responsive adjustments for aule page */
@media (max-width: 768px) {
    .aula-details-table {
        font-size: 0.75rem;
    }
    
    .aula-details-table .table th,
    .aula-details-table .table td {
        padding: 4px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
}
