/* Common Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #6893ce, #5578b8);
    color: white;
    padding: 30px 35px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(104, 147, 206, 0.2);
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.page-header h1 i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Stat Cards */
.stat-card-modern {
    background: white;
    border-radius: 15px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid;
    height: 100%;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(104, 147, 206, 0.15);
}

.stat-card-modern.primary { border-left-color: #6893ce; }
.stat-card-modern.success { border-left-color: #198754; }
.stat-card-modern.warning { border-left-color: #ffc107; }
.stat-card-modern.danger { border-left-color: #dc3545; }
.stat-card-modern.info { border-left-color: #0dcaf0; }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.stat-card-modern.primary .stat-icon {
    background: rgba(104, 147, 206, 0.1);
    color: #6893ce;
}

.stat-card-modern.success .stat-icon {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.stat-card-modern.warning .stat-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stat-card-modern.danger .stat-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stat-card-modern.info .stat-icon {
    background: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.stat-card-modern:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0;
}

/* Modern Table Card */
.table-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 25px;
}

.modern-table {
    margin: 0;
}

.modern-table thead th {
    background: linear-gradient(135deg, rgba(104, 147, 206, 0.08), rgba(85, 120, 184, 0.08));
    color: #1a1a2e;
    font-weight: 600;
    padding: 15px 18px;
    border: none;
    text-align: left;
    font-size: 0.9rem;
}

.modern-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background: rgba(104, 147, 206, 0.04);
}

.modern-table tbody td {
    padding: 15px 18px;
    color: #495057;
    vertical-align: middle;
    border: none;
    font-size: 0.9rem;
}

/* Action Buttons */
.btn-add {
    background: white;
    color: #6893ce;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-add:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    color: #5578b8;
}

.btn-detail {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 202, 240, 0.3);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 15px;
}

/* Day Card for Schedules */
.day-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.day-card:hover {
    box-shadow: 0 8px 20px rgba(104, 147, 206, 0.15);
}

.day-card-header {
    background: linear-gradient(135deg, #6893ce, #5578b8);
    color: white;
    padding: 15px 25px;
    border-bottom: none;
}

.day-card-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Badge Styles */
.subject-badge {
    background: linear-gradient(135deg, #6893ce, #5578b8);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.duration-badge {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

/* Priority Badges */
.priority-high {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.priority-medium {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.priority-low {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

/* Status Badges */
.status-confirmed {
    background: linear-gradient(135deg, #198754, #146c43);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.status-completed {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.status-cancelled {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

