/* ==========================================================================
   BİLSEM PLANLAMA VE MATERYAL PLATFORMU - TASARIM SİSTEMİ
   Türkiye Yüzyılı Maarif Modeli & BİLSEM Yönergeleri
   ========================================================================== */

:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --primary-dark: #0f2942;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;
    --border-color: #cbd5e1;
    --border-light: #e2e8f0;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --success: #16a34a;
    --success-light: #dcfce7;
    --success-border: #86efac;
    
    --warning: #d97706;
    --warning-light: #fef3c7;
    
    --danger: #dc2626;
    --danger-light: #fee2e2;
    
    --holiday-bg: #fff1f2;
    --holiday-text: #be123c;
    --holiday-border: #fecdd3;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* App Container */
.app-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 16px;
}

/* ==========================================================================
   MAIN APP HEADER (Clean 2-Tier Navigation)
   ========================================================================== */
.app-header {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: sticky;
    top: 10px;
    z-index: 100;
    overflow: hidden;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
    flex-wrap: wrap;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    color: #fff;
    flex-shrink: 0;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-muted);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Tier 2: Role-based Navigation Row */
.header-nav-row {
    background: #f8fafc;
    padding: 8px 20px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-btn:hover {
    color: var(--primary);
    background: #ffffff;
    border-color: var(--border-light);
}

.nav-btn.active {
    background: #ffffff;
    color: var(--accent);
    border-color: var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Banner Header */
.header-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.header-hero h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.header-hero h2 {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.95;
}

.hero-meta {
    margin-top: 8px;
    font-size: 12.5px;
    opacity: 0.88;
    font-weight: 500;
}

/* Branch & Program Selector Bar */
.filter-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    min-width: 105px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.pill-choice {
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pill-choice:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.pill-choice.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(26, 54, 93, 0.25);
}

/* Builder 2-Column Grid */
.builder-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 1150px) {
    .builder-grid {
        grid-template-columns: 1fr;
    }
}

.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-body {
    padding: 18px;
    flex: 1;
}

/* Search Box */
.search-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.search-input-wrap input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.search-input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-light);
}

/* Table in catalog */
.table-scroll {
    max-height: 480px;
    overflow-y: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

table.catalog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

table.catalog-table th {
    position: sticky;
    top: 0;
    background: var(--primary);
    color: #ffffff;
    padding: 9px 10px;
    text-align: left;
    font-weight: 700;
    z-index: 2;
}

table.catalog-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

table.catalog-table tr:hover td {
    background-color: #f8fafc;
}

.badge-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }

.btn-add {
    background: var(--success);
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-add:hover {
    background: #15803d;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

/* Basket / Selected List */
.basket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 160px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.basket-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    text-align: center;
    padding: 16px;
    font-size: 13px;
}

.basket-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s;
}

.basket-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.basket-info-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.basket-info-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    display: flex;
    gap: 8px;
}

.basket-actions {
    display: flex;
    gap: 4px;
}

.btn-mini {
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-mini:hover {
    background: #e2e8f0;
}

.btn-mini.danger:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: #fca5a5;
}

/* Progress Target Card */
.target-card {
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 14px;
}

.target-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.target-bar-bg {
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

.target-bar-fill {
    height: 100%;
    background: var(--warning);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s;
}

.target-bar-fill.complete {
    background: var(--success);
}

.target-bar-fill.overflow {
    background: var(--danger);
}

.target-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Quick Packages */
.quick-packages {
    margin-bottom: 14px;
}

.quick-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-light);
    cursor: pointer;
    transition: all 0.15s;
}

.chip-btn:hover {
    background: #eff6ff;
    border-color: var(--accent);
}

/* Generate Big Button */
.btn-generate {
    width: 100%;
    padding: 13px;
    background: #94a3b8;
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 800;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-generate.active {
    background: linear-gradient(135deg, var(--success) 0%, #15803d 100%);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-generate.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

/* Calendar Card */
.calendar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.calendar-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 950px) {
    .calendar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
    .calendar-grid { grid-template-columns: 1fr; }
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
}

.field-group input {
    padding: 7px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    background: #fff;
}

.field-group input:focus {
    border-color: var(--accent);
}

/* Metadata Card (4 Column) */
.meta-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 950px) {
    .meta-card { grid-template-columns: repeat(2, 1fr); }
}

/* Action Toolbar in Plan View */
.action-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-action.success { background: var(--success); color: #fff; }
.btn-action.success:hover { background: #15803d; box-shadow: 0 3px 8px rgba(22, 163, 74, 0.3); }

.btn-action.primary { background: var(--accent); color: #fff; }
.btn-action.primary:hover { background: var(--accent-hover); }

.btn-action.secondary { background: var(--bg-muted); color: var(--text-main); border: 1px solid var(--border-color); }
.btn-action.secondary:hover { background: #e2e8f0; }

/* Plan Table */
.plan-table-wrap {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

table.plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
    background: #ffffff;
}

table.plan-table th, table.plan-table td {
    border: 1px solid #cbd5e0;
    padding: 8px 10px;
    vertical-align: middle;
}

table.plan-table th {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

table.plan-table th.sub-th {
    background: var(--primary-light);
    font-size: 11px;
    font-weight: 600;
}

table.plan-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

table.plan-table tr.holiday-row td {
    background-color: var(--holiday-bg) !important;
    color: var(--holiday-text) !important;
    font-weight: 700;
    text-align: center;
}

table.plan-table td.center {
    text-align: center;
}

table.plan-table td.bold {
    font-weight: 700;
}

/* Material Hub Card Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.material-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.material-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.material-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.material-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.material-icon-box.pdf { background: #fee2e2; color: #dc2626; }
.material-icon-box.stl { background: #e0f2fe; color: #0284c7; }
.material-icon-box.ino, .material-icon-box.py { background: #dcfce7; color: #16a34a; }
.material-icon-box.docx { background: #dbeafe; color: #2563eb; }
.material-icon-box.xlsx { background: #ecfdf5; color: #059669; }

.material-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.material-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.material-tag {
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.material-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    font-size: 11.5px;
    color: var(--text-light);
}

.btn-download {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-download:hover {
    background: var(--primary-light);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex !important;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 22px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-dark);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 13.5px;
    font-weight: 600;
    display: none;
    z-index: 9999;
    animation: toastSlide 0.3s ease;
}

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

/* Daily Plan Card */
.daily-plan-sheet {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.daily-plan-header {
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.daily-section {
    margin-bottom: 18px;
}

.daily-section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    background: var(--bg-muted);
    padding: 6px 12px;
    border-left: 4px solid var(--accent);
    margin-bottom: 8px;
}

.daily-section-body {
    padding: 4px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
}

/* ==========================================================================
   ROLE SWITCHER & MULTI-ROLE SYSTEM
   ========================================================================== */
.role-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-muted);
    padding: 4px 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.role-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.role-pills {
    display: flex;
    gap: 4px;
}

.role-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.role-pill-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
}

.role-pill-btn.active {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   APPOINTMENTS & MEETINGS SYSTEM
   ========================================================================== */
.appointment-header-hero {
    background: linear-gradient(135deg, #0f2942 0%, #1e40af 100%);
    color: #ffffff;
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.appointment-header-hero h2 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 4px;
}

.appointment-header-hero .hero-tag {
    background: rgba(255, 255, 255, 0.18);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.apt-tabs-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
}

.apt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}

.apt-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
}

.apt-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.apt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.apt-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.apt-status-pending { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.apt-status-approved { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.apt-status-completed { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.apt-status-cancelled { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

.apt-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.apt-topic-badge {
    background: #f1f5f9;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 8px 0;
    display: inline-block;
}

.apt-notes-box {
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.4;
}

.apt-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.slot-btn {
    background: var(--bg-main);
    border: 1.5px solid var(--border-color);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover {
    border-color: var(--accent);
    background: #eff6ff;
}

.slot-btn.selected {
    border-color: var(--accent);
    background: #dbeafe;
    color: var(--accent-hover);
    font-weight: 700;
}

.teacher-preview-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: #1e3a8a;
    margin-bottom: 14px;
}

/* ==========================================================================
   COMPETITIONS & COUNTDOWN TIMER
   ========================================================================== */
.comp-hero-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.comp-hero-badge {
    display: inline-block;
    background: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.comp-hero-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.comp-hero-card p {
    font-size: 14px;
    color: #e0e7ff;
    max-width: 700px;
    margin-bottom: 18px;
}

.comp-countdown-timer {
    display: flex;
    gap: 12px;
}

.timer-box {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 10px 16px;
    text-align: center;
    min-width: 75px;
}

.timer-box span {
    font-size: 26px;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: #ffffff;
}

.timer-box small {
    font-size: 10px;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.comp-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comp-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.comp-meta-row {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comp-desc {
    font-size: 13px;
    color: var(--text-main);
    margin: 10px 0 14px 0;
    line-height: 1.5;
}

.comp-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   STUDENT PROJECTS SHOWCASE
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.project-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.project-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-cover-icon {
    font-size: 32px;
    background: #eff6ff;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid #bfdbfe;
    margin-bottom: 12px;
}

.project-badge {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.project-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.project-author-row {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-summary {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.like-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.like-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ==========================================================================
   PARENT & DIAGNOSIS GUIDE
   ========================================================================== */
.guide-hero {
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
    color: #ffffff;
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.guide-hero h2 {
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
}

.guide-hero p {
    font-size: 14px;
    color: #d1fae5;
    margin-top: 4px;
}

.guide-roadmap-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.guide-roadmap-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    position: relative;
}

.step-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    position: relative;
}

.step-card.highlight {
    background: #eff6ff;
    border-color: #93c5fd;
}

.step-num {
    background: var(--primary);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.step-card.highlight .step-num {
    background: var(--accent);
}

.step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.guide-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 18px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}

/* ==========================================================================
   BİLSEM TABLET EXAM & COGNITIVE SKILLS SIMULATOR
   ========================================================================== */
.quiz-container {
    max-width: 900px;
    margin: 0 auto;
}

.quiz-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.quiz-hero h2 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 6px;
}

.quiz-hero p {
    font-size: 13.5px;
    color: #e0e7ff;
    margin-top: 6px;
    line-height: 1.5;
}

.quiz-setup-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.quiz-setup-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.quiz-progress-bar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.quiz-question-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-bottom: 18px;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.quiz-option-btn {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.quiz-option-btn:hover {
    border-color: var(--accent);
    background: #eff6ff;
    transform: translateY(-2px);
}

.quiz-option-btn.selected {
    border-color: var(--accent);
    background: #dbeafe;
    color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.quiz-nav-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.quiz-score-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.score-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.score-stats-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.stat-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 20px;
    min-width: 90px;
}

.stat-box span {
    font-size: 24px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-box small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.skill-bar-row {
    margin-bottom: 14px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-item-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    font-size: 13px;
}

/* ==========================================================================
   MONTHLY CALENDAR & WEEKLY WORKSHOP SHEET STYLES
   ========================================================================== */
.monthly-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    margin-top: 14px;
}

.month-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.month-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.month-card-header h3 {
    font-size: 16px;
    font-weight: 800;
}

.month-card-body {
    padding: 14px;
    flex: 1;
}

.month-week-row {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 6px;
    font-size: 12.5px;
    background: #fafbfc;
}

.month-week-row.holiday {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.weekly-sheet-card {
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

.weekly-picker-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.weekly-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.sheet-section-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 18px;
}

.sheet-section-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   SURVEY HUB & RESULTS VISUALIZATION
   ========================================================================== */
.surveys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.survey-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.survey-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.survey-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.survey-badge {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.survey-cover-icon {
    font-size: 32px;
    background: #eff6ff;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid #bfdbfe;
    margin-bottom: 12px;
}

.survey-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.survey-author-row {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.survey-desc {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.survey-meta-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.survey-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Survey Taking Form Modal */
.survey-question-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 16px;
}

.survey-q-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.survey-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13.5px;
    transition: all 0.15s ease;
}

.survey-option-label:hover {
    background: #eff6ff;
    border-color: var(--accent);
}

.survey-option-label input[type="radio"],
.survey-option-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/* Survey Results Visuals */
.result-stat-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 18px;
}

.result-bar-row {
    margin-bottom: 10px;
}

.result-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.result-bar-track {
    background: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.result-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.sample-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sample-quote-item {
    background: #ffffff;
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    font-size: 12.5px;
    font-style: italic;
    color: #334155;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   ACADEMIC SPSS-STYLE THESIS & PROJECT ANALYSIS STYLES
   ========================================================================== */
.academic-report-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 24px;
    font-family: 'Times New Roman', Times, serif, system-ui;
    color: #0f172a;
    line-height: 1.6;
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
}

.academic-report-box h3 {
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 16px;
    font-family: inherit;
}

.academic-report-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #1e293b;
    font-family: inherit;
}

.academic-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 20px 0;
    font-size: 13.5px;
    font-family: inherit;
}

/* APA 7th Edition Table Rules: Top and Bottom thick borders, single under-header border, NO vertical borders */
.academic-table th {
    border-top: 2px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px 10px;
    text-align: left;
    font-weight: bold;
    background: #f8fafc;
}

.academic-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.academic-table tr.table-footer td,
.academic-table tr:last-child td {
    border-bottom: 2px solid #000;
    font-weight: bold;
}

.apa-paragraph {
    text-align: justify;
    text-indent: 24px;
    margin-bottom: 12px;
    font-size: 14.5px;
}

.report-copy-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 18px;
}

/* ==========================================================================
   BİLSEM-OS: İDARECİ DERS PROGRAMI, ATÖLYE PANOSU & KURUM STİLLERİ
   ========================================================================== */
.schedule-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-top: 12px;
}

.admin-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-schedule-table th {
    background: #f1f5f9;
    color: var(--primary);
    padding: 12px 14px;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.admin-schedule-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.admin-schedule-table tr:hover {
    background: #f8fafc;
}

/* Atölye Panosu / Classroom Stream */
.classroom-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.classroom-post-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

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

.post-author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 38px;
    height: 38px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid #bfdbfe;
}

.post-body-text {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 14px;
}

.post-files-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 14px;
}

.post-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}

/* Kurum Seçim Listesi */
.inst-item-row {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.inst-item-row:hover {
    background: #eff6ff;
}

.inst-item-row.active {
    background: #dbeafe;
    border-left: 4px solid var(--accent);
}

