

/* === Orphan CSS restored === */

/* From Index.cshtml */
.dashboard-section {
            display: none;
        }
        
        /* Materyal Sayısı Badge */
        .btn-materials {
            position: relative;
        }
        
        .btn-materials .material-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(135deg, #8a356a 0%, #6f2a56 100%);
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(138, 53, 106, 0.4);
            animation: pulse-badge 2s infinite;
        }
        
        @keyframes pulse-badge {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

            .dashboard-section.active {
                display: block;
            }

        .appointment-card {
            border: 2px dashed #dee2e6;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

            .appointment-card:hover {
                border-color: var(--primary-color);
                background-color: #f8f9fa;
            }

        .appointment-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .appointment-btn {
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

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

        /* Announcements Styles */
        .announcements-list {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

            .announcements-list::-webkit-scrollbar {
                width: 6px;
            }

            .announcements-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 3px;
            }

            .announcements-list::-webkit-scrollbar-thumb {
                background: #c1c1c1;
                border-radius: 3px;
            }

                .announcements-list::-webkit-scrollbar-thumb:hover {
                    background: #a8a8a8;
                }

        .announcement-item {
            background: #fff;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

            .announcement-item.fade-out {
                opacity: 0;
                transform: translateX(-100%);
                transition: all 0.5s ease;
            }

            .announcement-item.hidden {
                display: none;
            }

            .announcement-item:hover {
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                transform: translateY(-2px);
            }

        .announcement-title {
            color: #2c3e50;
            font-weight: 600;
        }

        .announcement-content {
            color: #6c757d;
            line-height: 1.6;
        }

        .mark-read-btn {
            border-radius: 20px;
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
        }

            .mark-read-btn:hover {
                transform: translateY(-1px);
            }

        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        /* Modern Sessions Container */
        .sessions-modern-container {
            padding: 0;
            max-height: 70vh;
            overflow-y: auto;
            padding-right: 10px;
        }

        /* Custom Scrollbar */
        .sessions-modern-container::-webkit-scrollbar {
            width: 8px;
        }

        .sessions-modern-container::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .sessions-modern-container::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }

        .sessions-modern-container::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        .sessions-section {
            margin-bottom: 2.5rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #f8f9fa;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-title i {
            font-size: 1.5rem;
        }

        .section-title h3 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c3e50;
        }

        .section-badge .badge {
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
            border-radius: 20px;
        }

        /* Sessions Grid (for active sessions) */
        .sessions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 1.5rem;
        }

        /* Sessions List (for scheduled and past sessions) */
        .sessions-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .sessions-list.past {
            opacity: 0.7;
        }

        /* Session Item */
        .session-item {
            background: white;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            border: 1px solid #f1f3f4;
        }

        .session-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .session-item.active {
            border-left: 4px solid #28a745;
        }

        .session-item.scheduled {
            border-left: 4px solid #ffc107;
        }

        .session-item.past {
            border-left: 4px solid #6c757d;
        }

        .session-item.cancelled {
            border-left: 4px solid #dc3545;
        }

        .session-content {
            padding: 1.5rem;
        }

        /* Session Header Modern */
        .session-header-modern {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .week-indicator {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: linear-gradient(135deg, #8a356a 0%, #6f2a56 100%);
            color: white;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            min-width: 80px;
        }

        .week-number {
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1;
        }

        .week-text {
            font-size: 0.75rem;
            opacity: 0.9;
            margin-top: 0.25rem;
        }

        .status-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .status-dot.active {
            background: #28a745;
        }

        .status-dot.scheduled {
            background: #ffc107;
        }

        .status-dot.past {
            background: #6c757d;
        }

        .status-dot.cancelled {
            background: #dc3545;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* Session Info */
        .session-info {
            margin-bottom: 1.5rem;
        }

        .session-title-modern {
            font-size: 1.25rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .session-meta {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: #6c757d;
        }

        .meta-item i {
            width: 16px;
            text-align: center;
        }

        .class-name-badge {
            background: linear-gradient(135deg, #8a356a 0%, #6f2a56 100%);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-size: 0.875rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Session Actions Modern */
        .session-actions-modern {
            display: flex;
            gap: 0.75rem;
            align-items: center;
        }

        .btn-join {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }

        .btn-join:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        .btn-materials {
            background: #f8f9fa;
            color: #6c757d;
            border: 1px solid #dee2e6;
            padding: 0.75rem;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-materials:hover {
            background: #e9ecef;
            color: #495057;
            transform: translateY(-1px);
        }

        /* Empty State Modern */
        .empty-state-modern {
            text-align: center;
            padding: 4rem 2rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 20px;
            border: 2px dashed #dee2e6;
        }

        .empty-state-content {
            max-width: 400px;
            margin: 0 auto;
        }

        .empty-state-icon {
            font-size: 4rem;
            color: #adb5bd;
            margin-bottom: 1.5rem;
        }

        .empty-state-modern h3 {
            color: #495057;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .empty-state-modern p {
            color: #6c757d;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .sessions-grid {
                grid-template-columns: 1fr;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .session-header-modern {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .session-actions-modern {
                width: 100%;
                justify-content: space-between;
            }
            
            .btn-join {
                flex: 1;
                justify-content: center;
            }
        }

/* ======================================================
   SESSIONS PANEL — brand-aligned (student dashboard)
   ====================================================== */
.student-dashboard .sessions-panel {
    --sess-border: rgba(138, 53, 106, 0.2);
    --sess-soft: rgba(138, 53, 106, 0.07);
    --sess-header-bg: linear-gradient(90deg, rgba(138, 53, 106, 0.06) 0%, rgba(166, 84, 133, 0.04) 100%);
    margin-top: 0.25rem;
}

.student-dashboard .sess-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--sess-border);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.student-dashboard .sess-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.student-dashboard .sess-card__body {
    padding: var(--spacing-md, 1rem);
}

/* Tabs — randevular sayfasıyla uyumlu, marka rengi */
.student-dashboard .sess-tabs {
    border-bottom: 2px solid var(--border-light);
    gap: 0.25rem;
}

.student-dashboard .sess-tabs .nav-link {
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.student-dashboard .sess-tabs .nav-link:hover {
    color: var(--primary-color);
    background: var(--sess-soft);
    border-color: var(--border-light) var(--border-light) transparent;
}

.student-dashboard .sess-tabs .nav-link.active {
    color: var(--primary-dark);
    background: #fff;
    border-color: var(--border-light) var(--border-light) #fff;
}

.student-dashboard .sess-tabs__badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: #fff !important;
    vertical-align: middle;
}

.student-dashboard .sess-tabs__badge--muted {
    background: var(--bg-tertiary, #f1f5f9) !important;
    color: var(--text-secondary) !important;
}

.student-dashboard .sessions-tab-content {
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.student-dashboard .sessions-tab-content::-webkit-scrollbar {
    width: 6px;
}

.student-dashboard .sessions-tab-content::-webkit-scrollbar-thumb {
    background: rgba(138, 53, 106, 0.25);
    border-radius: 3px;
}

/* Liste */
.student-dashboard .sessions-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.student-dashboard .sessions-list-minimal--past .session-row {
    opacity: 0.9;
}

.student-dashboard .session-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--border-medium);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard .session-row--live {
    border-left-color: var(--secondary-color, #eed715);
    background: linear-gradient(90deg, rgba(238, 215, 21, 0.07) 0%, #fff 28%);
}

.student-dashboard .session-row--upcoming {
    border-left-color: var(--primary-color);
}

.student-dashboard .session-row--done {
    border-left-color: #94a3b8;
}

.student-dashboard .session-row--expired,
.student-dashboard .session-row--cancelled {
    border-left-color: var(--error-color, #ef4444);
}

.student-dashboard .session-row:hover {
    background: var(--sess-soft);
    border-color: var(--sess-border);
    box-shadow: var(--shadow-sm);
}

.student-dashboard .session-row__main {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
}

.student-dashboard .session-row__week {
    flex-shrink: 0;
    min-width: 3.25rem;
    text-align: center;
    padding: 0.5rem 0.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(138, 53, 106, 0.25);
}

.student-dashboard .session-row__week-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
}

.student-dashboard .session-row__week-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.student-dashboard .session-row__body {
    flex: 1;
    min-width: 0;
}

.student-dashboard .session-row__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.student-dashboard .session-row__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.student-dashboard .sess-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    border: 1px solid transparent;
}

.student-dashboard .sess-status--live {
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
    color: #15803d;
    border-color: #86efac;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.15);
}

.student-dashboard .sess-status--live::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    animation: sess-status-pulse 1.6s ease-in-out infinite;
}

.student-dashboard .sess-status--upcoming {
    background: rgba(138, 53, 106, 0.1);
    color: var(--primary-dark, #6f2a56);
    border-color: rgba(138, 53, 106, 0.22);
}

.student-dashboard .sess-status--done {
    background: #e0f2fe;
    color: #075985;
    border-color: #7dd3fc;
}

.student-dashboard .sess-status--cancelled {
    background: #f3f4f6;
    color: #4b5563;
    border-color: #e5e7eb;
}

.student-dashboard .sess-status--muted {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

@keyframes sess-status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.88); }
}

.student-dashboard .session-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.student-dashboard .session-row__class {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-dark);
    background: var(--sess-soft);
    border: 1px solid var(--sess-border);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
}

.student-dashboard .session-row__class i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.student-dashboard .session-row__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.student-dashboard .session-row__meta-item--materials {
    color: var(--primary-color);
    font-weight: 500;
}

.student-dashboard .session-row__meta-item--muted {
    color: var(--text-muted);
}

.student-dashboard .session-row__meta-item--danger {
    color: var(--error-color);
}

.student-dashboard .session-row__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    flex-shrink: 0;
}

.student-dashboard .session-row__join {
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(138, 53, 106, 0.2);
}

.student-dashboard .session-row__materials {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.student-dashboard .session-row__material-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(138, 53, 106, 0.35);
}

/* Boş durum — appt-empty ile uyumlu, marka tonu */
.student-dashboard .sessions-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(138, 53, 106, 0.06) 0%, #fff 100%);
    border-radius: 10px;
    border: 1px dashed var(--sess-border);
}

.student-dashboard .sessions-empty__icon {
    font-size: 2.25rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.student-dashboard .sessions-empty__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.375rem;
}

.student-dashboard .sessions-empty__text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 24rem;
}

@media (max-width: 768px) {
    .student-dashboard .session-row {
        flex-direction: column;
        align-items: stretch;
    }

    .student-dashboard .session-row__actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: 0.625rem;
        border-top: 1px solid var(--border-light);
    }

    .student-dashboard .session-row__actions .sess-status {
        margin-right: auto;
    }

    .student-dashboard .session-row__join {
        flex: 1;
        justify-content: center;
    }
}


/* From Announcements.cshtml */
.dashboard-section {
            display: none;
        }

            .dashboard-section.active {
                display: block;
            }

        .appointment-card {
            border: 2px dashed #dee2e6;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

            .appointment-card:hover {
                border-color: var(--primary-color);
                background-color: #f8f9fa;
            }

        .appointment-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .appointment-btn {
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

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

        /* Announcements Styles */
        .announcements-list {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

            .announcements-list::-webkit-scrollbar {
                width: 6px;
            }

            .announcements-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 3px;
            }

            .announcements-list::-webkit-scrollbar-thumb {
                background: #c1c1c1;
                border-radius: 3px;
            }

                .announcements-list::-webkit-scrollbar-thumb:hover {
                    background: #a8a8a8;
                }

        .announcement-item {
            background: #fff;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

            .announcement-item.fade-out {
                opacity: 0;
                transform: translateX(-100%);
                transition: all 0.5s ease;
            }

            .announcement-item.hidden {
                display: none;
            }

            .announcement-item:hover {
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                transform: translateY(-2px);
            }

        .announcement-title {
            color: #2c3e50;
            font-weight: 600;
        }

        .announcement-content {
            color: #6c757d;
            line-height: 1.6;
        }

        .mark-read-btn {
            border-radius: 20px;
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
        }

            .mark-read-btn:hover {
                transform: translateY(-1px);
            }

        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        /* Toolbar */
        .card-header .form-select, .card-header .form-control {
            border-radius: 10px;
        }
        .announcement-item .badge {
            border-radius: 12px;
        }
        .announcement-meta {
            color: #6c757d;
            font-size: 0.875rem;
        }



/* From CreateAppointment.cshtml */
.dashboard-section {
            display: none;
        }

            .dashboard-section.active {
                display: block;
            }

        .appointment-card {
            border: 2px dashed #dee2e6;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

            .appointment-card:hover {
                border-color: var(--primary-color);
                background-color: #f8f9fa;
            }

        .appointment-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .appointment-btn {
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

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

        /* Announcements Styles */
        .announcements-list {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

            .announcements-list::-webkit-scrollbar {
                width: 6px;
            }

            .announcements-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 3px;
            }

            .announcements-list::-webkit-scrollbar-thumb {
                background: #c1c1c1;
                border-radius: 3px;
            }

                .announcements-list::-webkit-scrollbar-thumb:hover {
                    background: #a8a8a8;
                }

        .announcement-item {
            background: #fff;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

            .announcement-item.fade-out {
                opacity: 0;
                transform: translateX(-100%);
                transition: all 0.5s ease;
            }

            .announcement-item.hidden {
                display: none;
            }

            .announcement-item:hover {
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                transform: translateY(-2px);
            }

        .announcement-title {
            color: #2c3e50;
            font-weight: 600;
        }

        .announcement-content {
            color: #6c757d;
            line-height: 1.6;
        }

        .mark-read-btn {
            border-radius: 20px;
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
        }

            .mark-read-btn:hover {
                transform: translateY(-1px);
            }

        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        @media (max-width: 767.98px) {
            .main-content {
                padding: 1.5rem 1rem;
            }

            .section-title {
                font-size: 1.25rem;
                text-align: center;
            }

            .create-appointment-form {
                padding: 1.5rem 1rem;
                border-radius: 12px;
            }

            .form-group label {
                font-size: 0.95rem;
            }

            .form-select,
            .form-control {
                font-size: 0.95rem;
                padding: 0.65rem 0.75rem;
            }

            .calendar-container {
                padding: 0.75rem;
            }

            .calendar-weekdays,
            .calendar-days {
                gap: 4px;
            }

            .weekday {
                font-size: 0.7rem;
                padding: 6px 0;
            }

            .calendar-day {
                min-height: 48px;
                font-size: 0.85rem;
            }

            .calendar-header .btn {
                width: 36px;
                height: 36px;
            }

            .time-slots-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .time-slot {
                font-size: 0.9rem;
                padding: 10px;
            }

            #appointmentDetails .form-group {
                margin-bottom: 1rem;
            }

            .appointment-details-card {
                padding: 1.25rem 1rem;
            }

            .appointment-details-card h5 {
                font-size: 1.1rem;
            }

            .appointment-details-card .btn {
                width: 100%;
                justify-content: center;
            }

            .alert {
                flex-direction: column;
                align-items: flex-start;
            }

            .alert i {
                margin-bottom: 0.75rem;
            }
        }

        @media (max-width: 575.98px) {
            .hero-badge span {
                font-size: 0.75rem;
            }

            .hero-title {
                font-size: 1.95rem;
            }

            .main-content {
                padding: 1.5rem 1.1rem;
            }

            .create-appointment-form {
                border-radius: 18px;
                box-shadow: 0 18px 35px rgba(15, 23, 42, 0.2);
            }

            .card {
                border-radius: 22px;
                box-shadow: 0 22px 40px rgba(79, 70, 229, 0.25);
            }

            .card-body {
                padding: 1.55rem 1rem;
            }
        }

        @media (max-width: 420px) {
            .hero-title {
                font-size: 1.85rem;
            }

            .main-content {
                padding: 1.25rem 0.65rem;
            }

            .card-body {
                padding: 1.4rem 0.65rem;
            }
        }



/* From MyAppointments.cshtml */
.dashboard-section {
            display: none;
        }

            .dashboard-section.active {
                display: block;
            }

        .appointment-card {
            border: 2px dashed #dee2e6;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

            .appointment-card:hover {
                border-color: var(--primary-color);
                background-color: #f8f9fa;
            }

        .appointment-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .appointment-btn {
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

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

        /* Announcements Styles */
        .announcements-list {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

            .announcements-list::-webkit-scrollbar {
                width: 6px;
            }

            .announcements-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 3px;
            }

            .announcements-list::-webkit-scrollbar-thumb {
                background: #c1c1c1;
                border-radius: 3px;
            }

                .announcements-list::-webkit-scrollbar-thumb:hover {
                    background: #a8a8a8;
                }

        .announcement-item {
            background: #fff;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

            .announcement-item.fade-out {
                opacity: 0;
                transform: translateX(-100%);
                transition: all 0.5s ease;
            }

            .announcement-item.hidden {
                display: none;
            }

            .announcement-item:hover {
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                transform: translateY(-2px);
            }

        .announcement-title {
            color: #2c3e50;
            font-weight: 600;
        }

        .announcement-content {
            color: #6c757d;
            line-height: 1.6;
        }

        .mark-read-btn {
            border-radius: 20px;
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
        }

            .mark-read-btn:hover {
                transform: translateY(-1px);
            }

        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

