﻿/* Custom CSS for Academy Schedule Dashboard */



/* Header Styles */
.bg-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
}

/* Calendar Styles */
.calendar-view {
    min-height: 600px;
}

.time-column {
    width: 100px;
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.table th {
    background-color: #e9ecef;
    font-weight: 600;
    text-align: center;
    padding: 15px 8px;
    border: 1px solid #dee2e6;
}

.table td {
    height: 80px;
    vertical-align: top;
    padding: 5px;
    border: 1px solid #dee2e6;
    position: relative;
}

/* Class Card Styles */
.class-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    margin: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: calc(100% - 4px);
    overflow: hidden;
}

    .class-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-color: #3498db;
    }

    .class-card.beginner {
        border-left: 4px solid #27ae60;
        background: linear-gradient(135deg, #d5f4e6 0%, #ffffff 100%);
    }

    .class-card.intermediate {
        border-left: 4px solid #f39c12;
        background: linear-gradient(135deg, #fef9e7 0%, #ffffff 100%);
    }

    .class-card.advanced {
        border-left: 4px solid #e74c3c;
        background: linear-gradient(135deg, #fadbd8 0%, #ffffff 100%);
    }

.class-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
    line-height: 1.2;
}

.class-teacher {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.class-time {
    font-size: 0.7rem;
    color: #34495e;
    font-weight: 500;
}

.class-students {
    font-size: 0.7rem;
    color: #3498db;
    font-weight: 500;
    position: absolute;
    bottom: 3px;
    left: 5px;
}

/* Daily Schedule Styles */
.daily-schedule {
    padding: 20px;
}

.daily-class-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
}

    .daily-class-item:hover {
        transform: translateX(-5px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .daily-class-item.beginner {
        border-left-color: #27ae60;
    }

    .daily-class-item.intermediate {
        border-left-color: #f39c12;
    }

    .daily-class-item.advanced {
        border-left-color: #e74c3c;
    }

/* Sidebar Styles */
.stat-item h3 {
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item small {
    font-size: 0.8rem;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/*.card-header {
    border-bottom: none;
    font-weight: 600;
}*/

/* Alert Styles */
.alert-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8rem;
    }

    .class-card {
        padding: 6px;
    }

    .class-title {
        font-size: 0.75rem;
    }

    .class-teacher,
    .class-time {
        font-size: 0.65rem;
    }

    .time-column {
        width: 80px;
    }

    .table th,
    .table td {
        padding: 8px 4px;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .btn-group .btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    h1.h3 {
        font-size: 1.2rem;
    }

    .daily-class-item {
        padding: 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner-border-custom {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Level Badges */
.level-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.level-beginner {
    background-color: #d5f4e6;
    color: #27ae60;
}

.level-intermediate {
    background-color: #fef9e7;
    color: #f39c12;
}

.level-advanced {
    background-color: #fadbd8;
    color: #e74c3c;
}

/* Custom Scrollbar */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
