  :root {
    --primary: #142850;
    --primary-grad: linear-gradient(135deg, #142850, #27496d);
    --bg: #f4f6f9;
    --text: #2c3e50;
    --success: #27ae60;
    --danger: #c0392b;
    --neutral: #bdc3c7;
    --cam-bg: rgba(255, 255, 255, 0.85);
  }

  body { 
    font-family: 'Poppins', sans-serif; margin: 0; background: var(--bg);
    background-image: radial-gradient(circle at 100% 0%, #d5e1f0 0%, transparent 40%), radial-gradient(circle at 0% 100%, #d5e1f0 0%, transparent 40%);
    color: var(--text);
    display: flex; height: 100vh; overflow: hidden; -webkit-tap-highlight-color: transparent;
  }

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

  .progress-bar-bg { width: 100%; background-color: #edf2f7; border-radius: 8px; height: 6px; overflow: hidden; margin-top: 6px; }
  .progress-bar-fill { height: 100%; border-radius: 8px; transition: width 0.4s ease; }

  .grade-input { 
    width: 60px; text-align: center; border: 2px solid transparent; border-radius: 8px; padding: 6px;
    font-family: 'Poppins'; font-size:14px; font-weight:700; color:var(--text); outline:none; transition:0.3s; background:#f4f6f9;
  }
  .grade-input:focus { border-color: var(--primary); background:white; }
  .grade-input:disabled, .grade-input[readonly] { 
    background: transparent; border: none; color: var(--text); font-weight: 800; -webkit-text-fill-color: var(--text); opacity: 1;
  }
  
  .grade-input.manual-mode {
    background: #fff3e0 !important;
    border-color: #f39c12 !important;
    font-weight: 700;
  }

  .grades-layout { display: flex; gap: 20px; }
  .grades-table-wrapper { flex: 2; }
  .grades-summary-card { flex: 1; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding: 40px !important;}
  @media (max-width: 900px) { .grades-layout { flex-direction: column-reverse; } }

  .duyuru-item { display:flex; align-items:flex-start; gap:15px; padding:20px 0; border-bottom:1px dashed #edf2f7; cursor:pointer; transition:0.2s;}
  .duyuru-item:last-child { border-bottom:none; padding-bottom:0;}
  .duyuru-item:hover { background: #f8fafc; border-radius: 12px; padding: 20px;}
  .duyuru-icon { width:45px; height:45px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0;}
  .duyuru-content { flex:1; }
  .duyuru-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:5px;}
  .duyuru-title { font-size:15px; font-weight:700; color:var(--text); display:flex; align-items:center; gap:10px;}
  .duyuru-badge { padding:4px 12px; border-radius:8px; font-size:11px; font-weight:600;}
  .duyuru-date { font-size:12px; color:var(--text-gri); font-weight:500;}
  .duyuru-text { font-size:13px; color:var(--text-gri); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}

  .calendar-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; border-bottom: 2px solid #edf2f7; padding-bottom: 15px;}
  .cal-nav-btn { background: #f4f6f9; border: 1px solid #edf2f7; padding: 10px 15px; border-radius: 10px; cursor: pointer; color: var(--primary); transition: 0.2s;}
  .cal-nav-btn:hover { background: #e3e8ee; }
  .calendar-layout { display: flex; gap: 20px; }
  .calendar-main { flex: 1; }
  .calendar-sidebar { width: 180px; background: #f8f9fa; padding: 20px; border-radius: 15px; border: 1px solid #edf2f7; }
  .cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 700; color: var(--primary); margin-bottom: 10px; font-size: 13px; }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .cal-cell { min-height: 90px; border: 1px solid #edf2f7; border-radius: 10px; padding: 5px; background: white; transition: 0.2s;}
  .cal-cell:hover { border-color: #bdc3c7; }
  .cal-cell.empty { background: transparent; border: none; }
  .cal-day-num { font-size: 12px; font-weight: 700; color: var(--text-gri); margin-bottom: 5px; padding-left: 5px; }
  .cal-event { font-size: 11px; font-weight: 600; color: white; padding: 4px 6px; border-radius: 6px; margin-bottom: 4px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer;}
  .legend-item { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 12px; font-weight: 600; color: var(--text); }
  .legend-item .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1);}
  @media (max-width: 900px) { .calendar-layout { flex-direction: column-reverse; } .calendar-sidebar { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .legend-item { margin-bottom: 0; } }

  .dash-grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 20px; }
  .dash-left-col { display: flex; flex-direction: column; gap: 20px; }
  .dash-right-col { display: flex; flex-direction: column; gap: 20px; }
  .dash-stat-card { display: flex; align-items: center; gap: 20px; padding: 25px; }
  .dash-stat-card .stat-icon { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
  .dash-stat-card .stat-info { display: flex; flex-direction: column; }
  .dash-stat-card .stat-info span { font-size: 13px; color: var(--text-gri); font-weight: 600; text-transform: uppercase; }
  .dash-stat-card .stat-info strong { font-size: 32px; color: var(--primary); font-weight: 800; line-height: 1.2; }
  .dash-stat-card .stat-info small { font-size: 12px; color: var(--neutral); font-weight: 500; }
  .dash-list-item { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px dashed #edf2f7; }
  .dash-list-item:last-child { border-bottom: none; padding-bottom: 0; }
  .dash-list-item .list-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .dash-list-item .list-text { display: flex; flex-direction: column; }
  .dash-list-item .list-text strong { font-size: 14px; color: var(--text); font-weight: 600; }
  .dash-list-item .list-text span { font-size: 12px; color: var(--text-gri); font-weight: 500; }
  @media (max-width: 1024px) { .dash-grid { grid-template-columns: 1fr; } }

  .idle-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999999 !important; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); pointer-events: auto;}
  .idle-box { background: #ffffff !important; background-color: #ffffff !important; opacity: 1 !important; filter: none !important; position: relative; z-index: 1 !important; padding: 40px; border-radius: 20px; width: 400px; max-width: 90%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: modalPanelIn 0.18s ease-out both !important; }
  .idle-box h3 { margin: 0 0 5px 0; color: var(--primary); font-size: 22px; font-weight: 700; }
  .idle-time-display { font-size: 55px; font-weight: 800; color: var(--danger); margin: 20px 0; line-height: 1; text-shadow: 0 5px 15px rgba(192, 57, 43, 0.2); }

  .glass-toast { position: fixed; bottom: 30px; right: 30px; background: rgba(20, 40, 80, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.2); color: white; padding: 20px 25px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.25); z-index: 9999999; min-width: 300px; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); overflow: hidden; pointer-events: none;}
  .glass-toast.show { transform: translateX(0); }
  .toast-content { display: flex; align-items: center; gap: 15px; }
  .toast-icon { font-size: 30px; color: #2ecc71; }
  .toast-text h4 { margin: 0 0 5px 0; font-size: 15px; font-weight: 700; }
  .toast-text p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.8); }
  .toast-progress { position: absolute; bottom: 0; left: 0; height: 5px; width: 100%; background: rgba(255,255,255,0.1); }
  .toast-progress-bar { height: 100%; width: 100%; background: #2ecc71; transform-origin: left; }
  .glass-toast.show .toast-progress-bar { animation: toastProgress 5s linear forwards; }
  @keyframes toastProgress { 100% { transform: scaleX(0); } }

  .settings-layout { display: flex; gap: 30px; align-items: flex-start; padding: 25px; }
  .settings-sidebar-menu { width: 230px; background: #f8f9fa; border-radius: 12px; border: 1px solid #edf2f7; overflow: hidden; flex-shrink:0; }
  .settings-menu-btn { display: block; width: 100%; padding: 15px 20px; text-align: left; border: none; background: transparent; border-bottom: 1px solid #edf2f7; cursor: pointer; font-family: 'Poppins'; font-weight: 600; color: var(--text-gri); transition: 0.2s; font-size: 13px;}
  .settings-menu-btn:last-child { border-bottom: none; }
  .settings-menu-btn:hover { background: #edf2f7; color: var(--primary); }
  .settings-menu-btn.active { background: var(--primary-grad); color: white; border-left: 4px solid #f39c12; }
  .settings-content-area { flex: 1; min-width: 0; }
  .settings-tab { display: none; animation: fadeIn 0.4s ease; }
  .settings-tab.active { display: block; }
  
  .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
  @media (max-width: 900px) { 
     .settings-layout { flex-direction: column; padding: 15px; } 
     .settings-sidebar-menu { width: 100%; display:flex; flex-wrap:wrap; } 
     .settings-menu-btn { width: auto; flex:1; text-align:center; border-right: 1px solid #edf2f7; border-bottom: none;} 
     .settings-grid { grid-template-columns: 1fr; } 
  }

  .aol-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999999 !important; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); pointer-events: auto;}
  .cropper-box { background: #ffffff !important; background-color: #ffffff !important; opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; position: relative; z-index: 1 !important; padding: 25px; border-radius: 20px; width: 450px; max-width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: modalPanelIn 0.18s ease-out both !important; }
  .cropper-box h3 { margin: 0 0 5px 0; color: var(--primary); font-size: 18px; }
  .cropper-img-container { width: 100%; height: 350px; background: #eee; margin-bottom: 20px; border-radius: 12px; overflow: hidden; position: relative; z-index: 1000001; }
  .cropper-img-container img { max-width: 100%; display: block; }
  .cropper-actions { display: flex; justify-content: flex-end; gap: 10px; position: relative; z-index: 1000002;}
  .btn-crop-cancel { background: #f8f9fa; color: var(--text); border: 2px solid #edf2f7; padding: 10px 20px; border-radius: 12px; font-family: 'Poppins'; font-weight: 600; cursor: pointer; transition: 0.2s; }
  .btn-crop-cancel:hover { background: #edf2f7; }
  .btn-crop-confirm { background: var(--success); color: white; border: none; padding: 10px 20px; border-radius: 12px; font-family: 'Poppins'; font-weight: 600; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3); display:flex; gap:8px; align-items:center;}
  .btn-crop-confirm:hover { transform: translateY(-2px); }

  .profile-main-img { width: 120px; height: 120px; border-radius: 20px; border: 4px solid rgba(255,255,255,0.3); object-fit: cover; box-shadow: 0 5px 20px rgba(0,0,0,0.25); background:white;}
  .btn-camera { position: absolute; bottom: -8px; right: -8px; background: var(--primary); color: white; border: 3px solid white; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.2s; font-size: 15px; }
  .btn-camera:hover { transform: scale(1.1); background: #1b3b6d; }

  #login-page { position: fixed; inset: 0; z-index: 9999; display: flex; font-family: 'Poppins', sans-serif; background: var(--bg); pointer-events: auto;}
  .login-split-container { display: flex; width: 100vw; height: 100vh; }
  .login-left { flex: 1; background: #1b3b6d; color: white; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
  .left-logo-area { display: flex; align-items: center; gap: 20px; z-index: 2; }
  .left-logo-text h2 { margin: 0; font-size: 28px; letter-spacing: 1px; }
  .left-logo-text p { margin: 5px 0 0 0; opacity: 0.8; font-size: 14px; }
  .left-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg,#142850,#2c5aa0); opacity: 0.15; z-index: 1; transition: background-image 0.5s ease;}
  .left-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; opacity: 0.7; font-size: 13px; z-index: 2;}
  .left-footer p { margin: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: 0.2s;}
  .left-footer p:hover { opacity: 1; }
  .login-right { flex: 1.5; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8f9fa; padding: 40px; overflow-y: auto;}
  .login-header-text { text-align: center; margin-bottom: 40px; }
  .login-header-text h2 { color: #142850; font-weight: 700; font-size: 32px; margin-bottom: 10px; }
  .login-header-text p { color: #6c757d; font-size: 16px; font-weight: 500; }
  .login-forms-wrapper { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
  .login-form-box { background: white; padding: 40px 30px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); width: 300px; animation: fadeIn 0.5s ease; border: 1px solid #edf2f7;}
  .login-form-title { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; color: #142850; margin-bottom: 20px; font-size: 16px; text-align: center;}
  .login-form-title i { font-size: 28px; }
  .login-form-box .form-control { width: 100%; padding: 14px; margin-bottom: 15px; border: 2px solid #edf2f7; border-radius: 12px; font-size: 14px; box-sizing: border-box; transition: 0.3s; background:#fcfcfc;}
  .login-form-box .form-control:focus { border-color: #1b3b6d; background:white;}
  .remember-me-container { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-gri); margin-bottom: 15px; }
  .remember-me-container label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight:500;}
  .login-form-box .login-btn { width: 100%; padding: 14px; background: #1b3b6d; color: white; font-weight: 600; border: none; border-radius: 12px; cursor: pointer; transition: 0.3s; margin-top: 5px;}
  .login-form-box .login-btn:hover { background: #142850; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(27, 59, 109, 0.3); }
  .login-form-box .login-btn:disabled { background: #95a5a6; transform: none; box-shadow: none; cursor:not-allowed;}
  .login-err { color: #e74c3c; font-size: 13px; font-weight: 500; margin-top: 15px; display: none; text-align: center;}
  @media (max-width: 900px) { .login-split-container { flex-direction: column; } .login-left { padding: 40px; flex: none; } .left-bg-image { display: none; } }

  .sidebar { width: 260px; background: var(--primary-grad); color: white; display: flex; flex-direction: column; margin: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(20, 40, 80, 0.2); overflow: hidden; transition: left 0.3s ease, transform 0.3s ease; z-index: 10000; }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; backdrop-filter: blur(2px); transition: 0.3s ease; opacity: 0; pointer-events: none;}
  .sidebar-overlay.active { opacity: 1; pointer-events: auto; }
  .sidebar-toggle-btn { display: none; background: var(--primary-grad); color: white; border: none; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
  
  @media (max-width: 900px) {
    .sidebar { position: fixed; left: -300px; top: 0; bottom: 0; margin: 0; height: 100vh; border-radius: 0 20px 20px 0; }
    .sidebar.active { left: 0; box-shadow: 10px 0 30px rgba(0,0,0,0.5); }
    .sidebar-toggle-btn { display: block; }
    .sidebar-overlay.active { display: block; pointer-events: auto; }
  }

  .logo-alani { padding: 35px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .logo-alani h2 { margin: 0; font-size: 20px; letter-spacing: 1px; font-weight: 700; }
  .logo-alani p { margin: 5px 0 0 0; font-size: 11px; opacity: 0.7; font-weight: 500;}
  .menu-list { list-style: none; padding: 20px 10px; margin: 0; display: flex; flex-direction: column; gap: 5px; }
  .menu-item { padding: 14px 20px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: all 0.3s ease; color: rgba(255,255,255,0.7); border-radius: 12px; font-weight: 500; font-size: 14px; }
  .menu-item:hover { background: rgba(255,255,255,0.1); color: white; transform: translateX(5px); }
  .menu-item.active { background: rgba(255,255,255,0.2); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
  .menu-item i { width: 20px; text-align: center; }

  .main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding-right: 20px; }
  @media (max-width: 900px) { .main-content { padding-left: 20px; } }
  
  .topbar { height: 75px; background: var(--cam-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; margin: 20px 0; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.5); }
  @media (max-width: 600px) { .topbar { padding: 0 15px; } }
  
  .page-container { padding: 10px 0 30px 0; flex: 1; overflow-y: auto; display: none; }
  .page-container.active { display: block; animation: fadeIn 0.4s ease forwards; }
  .glass-card { background: var(--cam-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.6); border-radius: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.03); padding: 30px; position:relative; z-index:1;}

  .main-footer { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; border-top: 1px solid #edf2f7; color: var(--text-gri); font-size: 13px; font-weight: 500; margin-top: auto; }

  .table-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; gap: 15px; flex-wrap: wrap; }
  .filter-group { display: flex; gap: 10px; }
  .form-control { padding: 12px 18px; background: white; border: 2px solid #edf2f7; border-radius: 12px; outline: none; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--text); transition: 0.3s; width: 100%; box-sizing: border-box; }
  .form-control:focus { border-color: var(--primary); }
  .btn-ekle { background: var(--primary-grad); color: white; border: none; padding: 12px 24px; border-radius: 12px; cursor: pointer; font-weight: 600; font-family: 'Poppins', sans-serif; transition: 0.3s; box-shadow: 0 5px 15px rgba(20, 40, 80, 0.2); }
  .btn-ekle:hover { transform: translateY(-2px); }
  .btn-geri { background: white; color: var(--text); border: 2px solid #edf2f7; padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; font-family: 'Poppins'; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
  .btn-geri:hover { background: #f8fafc; border-color: var(--primary); color: var(--primary); }

  .data-table-wrapper { overflow: hidden; border-radius: 15px; border: 1px solid #edf2f7; background: white;}
  .data-table { width: 100%; border-collapse: collapse; text-align: center; }
  .data-table th { background: #f4f6f9; padding: 16px 10px; font-size: 13px; color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); }
  .data-table td { padding: 16px 10px; border-bottom: 1px solid #edf2f7; font-size: 14px; vertical-align: middle; }
  .data-table td:nth-child(2) { text-align: left; }
  .data-table tr:last-child td { border-bottom: none; }
  .data-table tr:hover { background: #f8fafc; }
  .student-photo { width: 45px; height: 45px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background:white;}
  .badge { padding: 6px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; background: #e8f8f5; color: var(--success); border: 1px solid #a3e4d7; }
  .badge-pasif { background: #fdedec; color: var(--danger); border: 1px solid #fadbd8; }
  .islem-btn { color: var(--primary); background: #f4f6f9; border: none; border-radius: 8px; cursor: pointer; padding: 8px 12px; font-size: 14px; margin: 0 2px; transition: 0.2s; font-weight: 600;}
  .islem-btn:hover { background: var(--primary); color: white; }

  .detail-wrapper { display: flex; gap: 20px; align-items: flex-start; }
  .detail-sidebar { width: 340px; background: var(--primary-grad); color: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(20, 40, 80, 0.25); }
  .profile-header { text-align: center; padding: 40px 20px 20px; }
  .profile-header h3 { margin: 0 0 5px 0; font-size: 18px; font-weight: 600; }
  .profile-header p { color: rgba(255,255,255,0.7); margin-bottom: 15px; font-size: 13px; font-weight: 500;}
  .profile-header .edit-input { text-align: center; margin: 0 auto 10px auto; width: 90%; background: rgba(255,255,255,0.2); border-color: transparent; color: white; font-weight: 600;}
  .profile-header .edit-input::placeholder { color: rgba(255,255,255,0.6); font-weight: 400;}

  .info-cards-container { padding: 0 20px 20px 20px; display: flex; flex-direction: column; gap: 15px; }
  .info-card { background: rgba(255,255,255,0.1); border-radius: 15px; padding: 20px; border: 1px solid rgba(255,255,255,0.05);}
  .info-card h4 { margin: 0 0 15px 0; font-size: 14px; color: white; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
  .info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; min-height: 24px; }
  .info-label { color: rgba(255,255,255,0.6); font-weight: 500; }
  .info-value { color: white; font-weight: 600; text-align: right; }

  .detail-main { flex: 1; padding: 30px; min-height: 600px; border-left: 6px solid var(--primary); }
  .detail-header-flex { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #edf2f7; margin-bottom: 30px; padding-bottom: 15px; }
  .detail-tab { padding: 10px 0; color: var(--primary); font-weight: 700; font-size: 16px; position: relative; }
  .detail-tab::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
  .btn-duzenle { background: #f4f6f9; border: 1px solid var(--neutral); padding: 10px 20px; border-radius: 12px; color: var(--text); cursor: pointer; font-weight: 600; font-family: 'Poppins'; font-size: 13px; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
  .btn-duzenle:hover { background: white; border-color: var(--primary); color: var(--primary); }
  .btn-kaydet { background: var(--success); border: none; padding: 10px 20px; border-radius: 12px; color: white; cursor: pointer; font-weight: 600; font-family: 'Poppins'; font-size: 13px; display: flex; align-items: center; gap: 8px; transition: 0.2s; box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);}
  .btn-kaydet:hover { transform: translateY(-2px); }

  .content-section { margin-bottom: 30px; }
  .content-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 8px;}
  .content-title::before { content: '\f0da'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--primary); }
  .content-box { background: #f8f9fa; padding: 25px; border-radius: 15px; border: 1px solid #edf2f7; font-size: 14px; line-height: 1.6; }
  .content-box-row { display: flex; justify-content: space-between; align-items: center; max-width: 500px; margin-bottom: 15px; min-height: 28px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 8px;}
  .edit-input { display: none; padding: 8px 12px; border: 2px solid #edf2f7; border-radius: 8px; font-size: 13px; font-family: 'Poppins'; text-align: right; width: 60%; color: var(--text); transition: 0.3s; outline:none;}
  .edit-input:focus { border-color: var(--primary); }
  .info-card .edit-input { background: rgba(255,255,255,0.2); border-color: transparent; color: white; }
  .info-card .edit-input:focus { background: rgba(255,255,255,0.3); border-color: white; }
  .edit-textarea { display: none; width: 100%; padding: 15px; border: 2px solid #edf2f7; border-radius: 12px; font-family: 'Poppins'; font-size: 14px; resize: vertical; min-height: 100px; outline:none; transition: 0.3s;}
  .edit-textarea:focus { border-color: var(--primary); }

  .exam-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .exam-student-title { font-size: 20px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 15px;}
  .exam-student-title img { width: 55px; height: 55px; border-radius: 15px; object-fit: cover; border: 2px solid #edf2f7; box-shadow: 0 2px 10px rgba(0,0,0,0.05); background:white;}
  .exam-filters { display: flex; gap: 10px; }
  .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .chart-card { background: white; padding: 25px; border-radius: 20px; border: 1px solid #edf2f7; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
  .chart-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 20px; border-bottom: 2px solid #f4f6f9; padding-bottom: 10px;}
  .chart-wrapper { position: relative; height: 250px; width: 100%; }
  .donut-center-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
  .donut-center-text span { display: block; font-size: 13px; color: var(--text-gri); font-weight: 600; }
  .donut-center-text strong { display: block; font-size: 28px; color: var(--primary); font-weight: 800; line-height: 1; margin-top: 5px;}

  /* ==========================================
     DERS PROGRAMI + EXCEL OTOMASYONU
     ========================================== */

  .program-excel-panel {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #dce8f5;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(20, 40, 80, 0.05);
  }

  .program-excel-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }

  .program-excel-title {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    flex: 1;
  }

  .program-excel-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
  }

  .program-excel-title h4,
  .program-manuel-head h4,
  .program-table-title h4 {
    margin: 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
  }

  .program-excel-title p,
  .program-manuel-head p {
    margin: 5px 0 0 0;
    color: var(--text-gri);
    font-size: 12px;
    line-height: 1.55;
  }

  .program-excel-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
  }

  .program-tool-btn {
    border: 1px solid #dce4ed;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .program-tool-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(20, 40, 80, 0.10);
  }

  .program-tool-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
  }

  .program-tool-btn-secondary {
    background: #ffffff;
    color: var(--primary);
  }

  .program-tool-btn-primary {
    background: #3498db;
    border-color: #3498db;
    color: #ffffff;
  }

  .program-tool-btn-success {
    background: #27ae60;
    border-color: #27ae60;
    color: #ffffff;
  }

  .program-excel-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 13px;
    background: #f4f6f9;
    border: 1px solid #e6ebf0;
  }

  .program-excel-status.active {
    background: #eef9f1;
    border-color: #cdebd5;
  }

  .program-excel-status-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .program-excel-status-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .program-excel-status-content strong {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .program-excel-status-content span {
    color: var(--text-gri);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .program-excel-help {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 15px;
  }

  .program-excel-help-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-gri);
    font-size: 11px;
    line-height: 1.45;
  }

  .program-excel-help-item i {
    color: #27ae60;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .program-excel-help-item:last-child i {
    color: #7f8c8d;
  }

  .program-manuel-panel {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 22px;
  }

  .program-manuel-head {
    margin-bottom: 17px;
  }

  .program-manuel-head h4 i {
    color: #3498db;
    margin-right: 7px;
  }

  .program-manuel-form {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr)) auto;
    gap: 12px;
    align-items: end;
  }

  .program-manuel-form label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-gri);
    margin-bottom: 5px;
  }

  .program-manuel-form .form-control {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .program-manuel-submit {
    display: flex;
    align-items: flex-end;
  }

  .program-manuel-btn {
    min-height: 42px;
    white-space: nowrap;
    background: #3498db;
    padding: 0 18px;
  }

  .program-table-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
    padding: 0 2px;
  }

  .program-table-title span {
    display: block;
    color: var(--text-gri);
    font-size: 11px;
    margin-top: 4px;
  }

  .program-table-title h4 i {
    color: #3498db;
    margin-right: 7px;
  }

  .program-refresh-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    background: #f8f9fa;
    color: var(--primary);
    cursor: pointer;
    transition: 0.2s;
  }

  .program-refresh-btn:hover {
    background: #edf2f7;
    transform: rotate(20deg);
  }

  .program-source-badge,
  .program-subebrans-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }

  .program-source-badge.excel {
    background: #e8f5e9;
    color: #2e7d32;
  }

  .program-source-badge.manuel {
    background: #eaf3fb;
    color: #2874a6;
  }

  .program-subebrans-badge {
    background: #fff3e0;
    color: #d35400;
  }

  @media (max-width: 1200px) {
    .program-manuel-form {
      grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .program-manuel-submit {
      grid-column: span 1;
    }
  }

  @media (max-width: 900px) {
    .program-excel-help {
      grid-template-columns: 1fr;
    }

    .program-excel-actions {
      width: 100%;
      justify-content: flex-start;
    }

    .program-tool-btn {
      flex: 1;
      min-width: 170px;
    }

    .program-manuel-form {
      grid-template-columns: 1fr 1fr;
    }

    .program-manuel-submit {
      grid-column: span 2;
    }
  }

  @media (max-width: 600px) {
    .program-excel-panel,
    .program-manuel-panel {
      padding: 15px;
    }

    .program-excel-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .program-tool-btn {
      width: 100%;
    }

    .program-manuel-form {
      grid-template-columns: 1fr;
    }

    .program-manuel-submit {
      grid-column: auto;
    }
  }


  /* ÖĞRENCİ DERSLERİ + ÖĞRETMEN SINIF LİSTELERİ */
  .od-section{margin:20px 0;padding:20px;border:1px solid #e3eaf2;border-radius:16px;background:#fff;}
  .od-section h4{font-size:16px;color:var(--primary);margin:0 0 12px;}
  .od-note{font-size:12px;color:#64748b;line-height:1.7;}
  .od-message{color:#276b9b;font-weight:600;padding:8px 2px;min-height:15px;}
  .od-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:15px 0;}
  .od-stat{padding:18px 12px;border:1px solid #dce8f5;border-radius:12px;background:#f8fbff;text-align:center;}
  .od-stat strong{display:block;font-size:26px;color:#142850;}.od-stat span{font-size:11px;color:#64748b;}
  .od-map-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #eef2f7;}
  .od-map-item strong{min-width:140px;}.od-map-item select{max-width:250px;}
  .od-scroll{max-height:550px;overflow:auto;}.od-scroll .data-table{min-width:900px;}
  .od-scroll .data-table th{position:sticky;top:0;z-index:1;}
  .od-scroll .data-table select{min-width:140px;margin-bottom:6px;padding:9px;}
  .od-scroll .data-table td{vertical-align:top;}
  .od-status{display:inline-block;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:700;white-space:normal;}
  .od-status.success{color:#0f6d48;background:#dcfce7;}.od-status.self{color:#72581a;background:#fef3c7;}
  .od-status.warning{color:#9a3412;background:#ffedd5;}
  .od-teacher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px;}
  .od-teacher-card{border:1px solid #e1ebf5;border-radius:14px;padding:20px;background:#f8fbff;}
  .od-teacher-card h4{margin:0 0 8px;color:#142850;}.od-teacher-card small{font-size:11px;color:#64748b;}
  .od-meta{font-size:12px;font-weight:600;color:#2674a6;margin:7px 0;}
  .od-teacher-card ol,.od-student-list{padding-left:25px;line-height:2;font-size:13px;}
  .od-inline-roster{margin-top:7px;border:0;border-radius:7px;cursor:pointer;padding:6px 10px;background:#e8f5ff;color:#1d6495;font-weight:700;font-size:11px;}
  .od-inline-roster:hover{background:#d5eeff;}
  .od-teacher-lesson-selector{margin:15px 0;padding:16px;border:1px solid #c9e0f2;border-radius:12px;background:#f8fbff;}
  .od-teacher-lesson-selector select{margin-top:8px;max-width:700px;}
  .od-teacher-lesson-selector p{font-size:12px;color:#5f7486;}

  /* ============================================================
     5 SAYFALIK A4 VE PDF'YE UYUMLU DETAYLI VELI KARNESI
     SVG grafikler, baskida gorunur; javascript canvas bagimliligi yok.
     ============================================================ */
  .vk-field-label{display:block;font-size:11px;font-weight:700;color:#607089;margin-bottom:4px}
  .vk-hint{font-size:12px;color:#667892;background:#f4f8fe;padding:10px;border-radius:8px;margin-top:12px}
  .vk-test-entry{margin-top:15px;border:1px solid #dce6f2;padding:12px;border-radius:12px;background:#fbfdff}
  .vk-test-entry summary{font-weight:700;cursor:pointer;color:#183b69}
  .vk-test-fields{display:grid;grid-template-columns:1.4fr 2fr repeat(4,0.8fr);gap:10px;margin-top:12px}
  .vk-report-area{margin:16px auto;max-width:100%;color:#182a45}
  .vk-report-actions{display:flex;gap:20px;align-items:center;justify-content:flex-end;padding:16px;margin:0 auto 12px;background:white;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.06)}
  .vk-pages{display:flex;flex-direction:column;align-items:center;gap:18px}
  .vk-page{box-sizing:border-box;width:210mm;min-height:297mm;height:297mm;max-width:100%;padding:13mm 13mm 12mm;background:#fff;color:#18324e;position:relative;box-shadow:0 8px 22px rgba(0,0,0,.11);overflow:hidden;font-family:'Poppins',sans-serif;font-size:10px}
  .vk-head{display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #19385d;padding-bottom:14px;margin-bottom:18px}
  .vk-brand{display:flex;align-items:center;gap:13px}.vk-brand img{max-width:56px;width:56px;height:56px;object-fit:contain}
  .vk-brand h2{font-size:19px;margin:0;color:#19385d}.vk-brand div div{color:#7890a7;font-size:10px}
  .vk-head-right{text-align:right;color:#60758c;font-size:10px}.vk-headtag{display:block;font-weight:700;color:#be7437;letter-spacing:1px;font-size:9px}
  .vk-report-hero{background:#eaf1f9;padding:18px;border-radius:14px;margin-bottom:16px}.vk-report-hero span{color:#738ba2;font-size:10px;font-weight:700;letter-spacing:1px}
  .vk-report-hero h1{margin:3px 0;font-size:25px;color:#183d63}.vk-report-hero p{margin:2px 0;font-size:11px;color:#627991}
  .vk-mini-head{display:flex;justify-content:space-between;border-bottom:2px solid #15385f;padding-bottom:9px;color:#19395b;font-weight:700;letter-spacing:.8px;margin-bottom:18px}
  .vk-mini-head span{font-size:11px;letter-spacing:0;font-weight:600;color:#557090}
  .vk-page-title{font-size:13px;color:#ad7940;display:flex;gap:10px;align-items:center;font-weight:800;border-bottom:1px solid #e6ebf2;padding-bottom:9px;margin-bottom:13px}
  .vk-page-title span{font-size:17px;color:#16375b;font-weight:800}
  .vk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}
  .vk-kpi{border:1px solid #dce8f3;border-radius:11px;background:#f8fbff;padding:11px 12px;min-height:58px;display:flex;flex-direction:column;justify-content:center}
  .vk-kpi .label{font-size:9px;color:#627d99;font-weight:650;line-height:1.4}.vk-kpi strong{font-size:20px;font-weight:800;color:#173b63;margin-top:3px}
  .vk-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
  .vk-panel{border:1px solid #e1e9f1;border-radius:12px;padding:12px;margin-bottom:12px;background:#fff;break-inside:avoid;page-break-inside:avoid}
  .vk-panel h3{font-size:12px;color:#194469;margin:0 0 10px;border-bottom:1px dashed #dce7ef;padding-bottom:8px;font-weight:800}
  .vk-graph{min-height:115px;display:flex;justify-content:center;align-items:center}
  .vk-svg{display:block;width:100%;height:auto;max-height:130px;overflow:visible}
  .vk-pie-grid{display:flex;align-items:center;gap:13px;min-height:142px}
  .vk-pie{width:140px;height:140px;flex-shrink:0}
  .vk-pie-legend{display:flex;flex-direction:column;gap:6px;flex:1;font-size:10px}
  .vk-pie-row{display:flex;justify-content:space-between;gap:8px}
  .vk-dot{width:9px;height:9px;display:inline-block;border-radius:50%;margin-right:5px}
  .vk-metrics{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .vk-metric{display:flex;justify-content:space-between;border-bottom:1px solid #e5edf5;padding:6px 0;gap:15px}.vk-metric strong{font-weight:800;color:#203f60}
  .vk-note{font-size:9px;color:#6b8198;line-height:1.65;margin:5px 0}
  .vk-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:9px}
  .vk-table th{background:#e7f0f9;color:#1d466b;font-size:9px;padding:6px 6px;text-align:left;border-bottom:2px solid #cadbe9;overflow-wrap:anywhere}
  .vk-table td{padding:5px 6px;border-bottom:1px solid #edf1f5;vertical-align:top;overflow-wrap:anywhere}
  .vk-table tbody tr:nth-child(even){background:#f9fbfd}
  .vk-alert{color:#7d8ea1;font-style:italic;padding:11px 7px;background:#f5f8fb;border-radius:8px}
  .vk-footer{position:absolute;bottom:8mm;left:13mm;right:13mm;display:flex;justify-content:space-between;color:#8093a7;font-size:8px;border-top:1px solid #e7edf5;padding-top:8px}
  .vk-footer span{font-weight:800;color:#446989}
  .vk-bar-item{display:flex;align-items:center;gap:7px;margin:7px 0}.vk-bar-name{width:35%;min-width:0;color:#455c74;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
  .vk-bar-track{flex:1;height:10px;border-radius:9px;background:#edf2f8;overflow:hidden}.vk-bar-value{width:40px;text-align:right;font-weight:750;color:#254970;font-size:9px}
  .vk-bar-fill{height:100%;border-radius:9px;background:linear-gradient(90deg,#397cba,#68add1)}
  @media (max-width:850px){.vk-test-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.vk-pages{overflow-x:auto;align-items:flex-start}.vk-page{min-width:700px;transform-origin:top left}.vk-report-actions{flex-wrap:wrap}}
  @media print {
    @page {size:A4 portrait;margin:0}
    html,body{margin:0!important;padding:0!important;width:210mm!important;max-width:210mm!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}
    body{display:block!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
    body *{visibility:hidden!important}
    #raporKagidi,#raporKagidi *{visibility:visible!important}
    #raporKagidi{display:block!important;position:static!important;width:210mm!important;max-width:none!important;padding:0!important;margin:0!important;overflow:visible!important;background:white!important}
    .vk-pages{display:block!important;gap:0!important;overflow:visible!important}
    .vk-page{display:block!important;position:relative!important;box-sizing:border-box!important;width:210mm!important;max-width:none!important;min-height:296.4mm!important;height:296.4mm!important;margin:0!important;padding:12mm 13mm 12mm!important;box-shadow:none!important;border:0!important;border-radius:0!important;break-after:page!important;page-break-after:always!important;overflow:hidden!important;background:#fff!important}
    .vk-page:last-child{break-after:auto!important;page-break-after:auto!important}
    #raporFiltreAlani,#raporYukleniyor,.vk-report-actions,.hide-on-print,.sidebar,.topbar,.main-footer,#login-page,.sidebar-overlay{display:none!important}
    .main-content,#genel-rapor{display:block!important;overflow:visible!important;position:static!important;width:210mm!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
    /* Uygulamadaki diğer 17 sayfa görünmez kalmakla yetinmemeli; akışta yer de kaplamamalı. */
    .main-content .page-container:not(#genel-rapor){display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
    #genel-rapor.page-container{display:block!important;visibility:visible!important;height:auto!important;min-height:0!important;overflow:visible!important}
    .vk-panel,.vk-kpi,.vk-table th{break-inside:avoid;page-break-inside:avoid}
  }

  #refreshPageIcon,#refreshIcon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px;transition:transform .15s ease,opacity .15s ease}
  #refreshPageIcon:hover{color:#2563eb!important;opacity:.85}
  #refreshIcon:hover{color:#c0392b!important;opacity:.85}
  #refreshPageIcon:focus,#refreshIcon:focus{outline:2px solid #93c5fd;outline-offset:3px;border-radius:5px}

  /* Ders programı ve grup birbirinden bağımsız seçimler */
  #odDersSatirlari .od-mini-label{display:block;color:#66788b;font-size:10px;font-weight:700;margin:6px 0 3px}
  #odDersSatirlari select.form-control{min-width:190px;max-width:100%;margin:0 0 5px;font-size:12px}
  #odDersSatirlari .islem-btn{display:block;margin:7px auto 2px;padding:9px 13px}
  @media(max-width:1000px){#odDersSatirlari select.form-control{min-width:150px}}


  /* ==========================================================
     TÜM MODAL PENCERELERİ İÇİN GÖRÜNÜRLÜK VE KATMAN DÜZELTMESİ
     Arka sayfa backdrop ile kararır; modal paneli ve içeriği opak kalır.
     Var olan modallar ve ileride eklenecek yaygın modal overlay sınıfları kapsanır.
     ========================================================== */
  @keyframes aolModalPanelIn {
    from { transform: translateY(7px) scale(.99); }
    to   { transform: translateY(0) scale(1); }
  }

  :root { --aol-modal-z: 2147483000; }

  .aol-modal-overlay,
  .idle-modal,
  .modal-overlay,
  .popup-overlay,
  .dialog-overlay,
  [data-modal-overlay] {
    position: fixed !important;
    inset: 0 !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 18px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    overflow: auto !important;
    background: rgba(15, 23, 42, .64) !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    isolation: isolate !important;
    pointer-events: auto !important;
    z-index: var(--aol-modal-z) !important;
  }

  .idle-modal { z-index: 2147483500 !important; }

  .aol-modal-overlay > .cropper-box,
  .idle-modal > .idle-box,
  .modal-overlay > .modal-content,
  .popup-overlay > .popup-content,
  .dialog-overlay > .dialog-content,
  [data-modal-overlay] > [data-modal-panel] {
    position: relative !important;
    z-index: 2 !important;
    flex: 0 1 auto;
    margin: auto !important;
    box-sizing: border-box !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #26364a;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate !important;
    animation: aolModalPanelIn .18s ease-out both !important;
  }

  /* Mevcut uygulamadaki modal içerikleri */
  .aol-modal-overlay > .cropper-box,
  .idle-modal > .idle-box {
    border: 1px solid rgba(220, 228, 238, .95) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .28) !important;
    max-width: min(95vw, 760px) !important;
    max-height: calc(100vh - 36px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .aol-modal-overlay > .cropper-box { width: 450px; padding: 25px !important; }
  .idle-modal > .idle-box { width: 400px; padding: 40px !important; text-align: center; }

  .aol-modal-overlay .form-control,
  .aol-modal-overlay input,
  .aol-modal-overlay select,
  .aol-modal-overlay textarea,
  .idle-modal .form-control,
  .modal-overlay input,
  .modal-overlay select,
  .modal-overlay textarea,
  .popup-overlay input,
  .popup-overlay select,
  .popup-overlay textarea,
  .dialog-overlay input,
  .dialog-overlay select,
  .dialog-overlay textarea {
    opacity: 1 !important;
    filter: none !important;
    background-color: #fff;
  }

  .aol-modal-overlay h3,
  .aol-modal-overlay label,
  .aol-modal-overlay p,
  .aol-modal-overlay button,
  .aol-modal-overlay input,
  .aol-modal-overlay select,
  .aol-modal-overlay textarea,
  .idle-modal h3,
  .idle-modal p,
  .idle-modal button {
    opacity: 1 !important;
    filter: none !important;
  }

  .aol-modal-overlay .cropper-img-container {
    position: relative !important;
    z-index: 2 !important;
    background: #eee !important;
  }

  .aol-modal-overlay .cropper-actions {
    position: relative !important;
    z-index: 3 !important;
  }

  @media (max-width: 600px) {
    .aol-modal-overlay,
    .idle-modal,
    .modal-overlay,
      .popup-overlay,
    .dialog-overlay,
    [data-modal-overlay] { padding: 10px !important; }

    .aol-modal-overlay > .cropper-box,
    .idle-modal > .idle-box,
    .modal-overlay > .modal-content,
      .popup-overlay > .popup-content,
    .dialog-overlay > .dialog-content,
    [data-modal-overlay] > [data-modal-panel] {
      width: 100% !important;
      max-width: 100% !important;
      max-height: calc(100vh - 20px) !important;
      padding: 20px !important;
      overflow-y: auto !important;
    }
  }



  /* YALNIZCA ÖĞRENCİ KAYIT FOTOĞRAF KIRPMA MODALI: arka katmanı panelin altına al */
  #cropperModal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
    isolation: isolate !important;
    overflow: auto !important;
  }

  #cropperModal::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: rgba(15, 23, 42, .64) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    pointer-events: none !important;
  }

  #cropperModal > .cropper-box {
    position: relative !important;
    z-index: 2 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #26364a !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate !important;
  }

  #cropperModal > .cropper-box h3,
  #cropperModal > .cropper-box label,
  #cropperModal > .cropper-box p,
  #cropperModal > .cropper-box button,
  #cropperModal > .cropper-box input,
  #cropperModal > .cropper-box select,
  #cropperModal > .cropper-box textarea {
    opacity: 1 !important;
    filter: none !important;
  }



  /* Öğrenci numaralandırma, eşleşme filtreleri ve hızlı kayıt geri bildirimi */
  .student-row-number{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 7px;border-radius:9px;background:#eef4fb;color:#19385d;font-size:12px;font-weight:800;border:1px solid #d9e5f2;}
  .od-match-header{align-items:flex-start;gap:14px;}
  .od-match-header h4{flex:0 0 auto;margin-top:8px;}
  .od-filter-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:1;min-width:min(100%,540px);}
  .od-filter-toolbar .form-control{width:auto;min-width:155px;max-width:260px;padding:10px 12px;font-size:12px;}
  .od-filter-toolbar input.form-control{flex:1 1 210px;}
  .od-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-9px 0 12px;padding:8px 11px;border-radius:9px;background:#f5f8fc;color:#64748b;font-size:12px;font-weight:600;}
  .od-filter-reset{border:0;background:transparent;color:#275b87;font:inherit;cursor:pointer;text-decoration:underline;}
  .od-save-btn:disabled{opacity:.7;cursor:wait;}
  .od-save-btn.od-save-ok{background:#e1f7e9!important;color:#17663c!important;}
  .od-row-saving{background:#f7fbff!important;}
  @media(max-width:1000px){.od-filter-toolbar{min-width:100%;justify-content:stretch}.od-filter-toolbar .form-control{flex:1 1 180px;max-width:none}.od-match-header h4{width:100%}}

  /* Haftalık rapor işlemi: bloklayıcı uyarı ve gerçek parti ilerlemesi */
  .rp-job-overlay{position:fixed!important;inset:0!important;z-index:2147483600!important;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;background:rgba(15,23,42,.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);overflow:auto;}
  .rp-job-panel{width:min(720px,96vw);max-height:calc(100vh - 40px);overflow:auto;box-sizing:border-box;padding:30px;background:#fff!important;color:#23344f!important;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 25px 80px rgba(15,23,42,.35);opacity:1!important;filter:none!important;}
  .rp-job-panel h3{margin:0 0 10px;color:#19385d;font-size:23px;line-height:1.3;}
  .rp-job-lead{margin:0 0 18px;color:#60718a;font-size:14px;line-height:1.65;}
  .rp-job-icon{width:52px;height:52px;margin-bottom:16px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:#e9f1fb;color:#214a78;font-size:23px;}
  .rp-job-icon-progress{background:#e6f6eb;color:#237642;}
  .rp-job-warning{display:flex;gap:13px;padding:15px;border:1px solid #f2d4a4;border-radius:14px;background:#fff8e9;color:#8b4c13;line-height:1.55;}
  .rp-job-warning>i{font-size:20px;margin-top:2px;flex:0 0 auto;}
  .rp-job-warning strong{display:block;margin-bottom:4px;}
  .rp-job-warning p{margin:0;font-size:12px;}
  .rp-job-list{margin:16px 0 22px;padding-left:22px;color:#5b6b81;font-size:12px;line-height:1.8;}
  .rp-job-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:20px;}
  .rp-job-progress-track{width:100%;height:17px;overflow:hidden;background:#e8edf4;border-radius:999px;border:1px solid #dce4ee;}
  .rp-job-progress-fill{height:100%;min-width:0;border-radius:999px;background:linear-gradient(90deg,#32834b,#5ebc76);transition:width .3s ease;}
  .rp-job-progress-fill.is-running{background:repeating-linear-gradient(45deg,#2f8548 0,#2f8548 12px,#51a866 12px,#51a866 24px);background-size:34px 34px;animation:rpJobStripe 1s linear infinite;}
  @keyframes rpJobStripe{from{background-position:0 0}to{background-position:34px 0}}
  .rp-job-progress-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:#536780;font-size:12px;}
  .rp-job-progress-meta strong{color:#19385d;font-size:15px;}
  .rp-job-substatus{margin:14px 0 0;color:#64748b;font-size:12px;line-height:1.65;}
  .rp-job-error{margin-top:14px;padding:12px 14px;border:1px solid #fecaca;border-radius:11px;background:#fff1f2;color:#9f1239;font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
  @media(max-width:600px){.rp-job-panel{padding:20px;border-radius:16px}.rp-job-panel h3{font-size:19px}.rp-job-actions{justify-content:stretch}.rp-job-actions .rp-btn{flex:1 1 100%;justify-content:center}}



  /* Sağ üstte hafif arka plan eşitleme göstergesi ve işlem özeti */
  .sync-widget{position:relative;display:flex;align-items:center;gap:7px;min-width:0;z-index:1200;}
  .sync-indicator{width:205px;max-width:22vw;padding:7px 9px 8px;border:1px solid #e2eaf3;border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 5px 16px rgba(20,40,80,.07);animation:syncAppear .2s ease-out;}
  .sync-indicator-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;color:#344766;font-size:10px;font-weight:700;line-height:1.25;}
  .sync-indicator-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .sync-indicator-head small{flex:0 0 auto;color:#8a98ac;font-size:9px;font-weight:600;}
  .sync-track{width:100%;height:4px;overflow:hidden;border-radius:999px;background:#e8eef6;}
  .sync-progress-fill{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#2c6598,#61b5b0,#7bc89a);background-size:180% 100%;transition:width .2s ease;animation:syncGlow 1.6s ease-in-out infinite;}
  .sync-progress-fill.is-error{background:linear-gradient(90deg,#d9485f,#f29b8f);animation:none;}
  .sync-log-toggle{width:31px;height:31px;flex:0 0 31px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3eaf3;border-radius:10px;background:#f8fafc;color:#70819a;cursor:pointer;transition:all .18s ease;}
  .sync-log-toggle:hover,.sync-log-toggle[aria-expanded="true"]{background:#eaf2fb;border-color:#c8d9ee;color:#214a78;transform:translateY(-1px);}
  .sync-log-toggle i{font-size:13px;}
  .sync-log-panel{position:absolute;top:calc(100% + 10px);right:0;width:320px;max-width:min(88vw,360px);max-height:390px;overflow:hidden;border:1px solid #e0e8f1;border-radius:16px;background:#fff;box-shadow:0 18px 48px rgba(20,40,80,.18);animation:syncAppear .18s ease-out;}
  .sync-log-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #edf1f6;background:#f8fafc;}
  .sync-log-head strong{display:block;color:#213656;font-size:13px;}
  .sync-log-head small{display:block;margin-top:2px;color:#8795a8;font-size:10px;}
  .sync-log-head button{width:28px;height:28px;border:0;border-radius:8px;background:#edf2f7;color:#64748b;cursor:pointer;}
  .sync-log-list{max-height:325px;overflow-y:auto;padding:4px 14px;}
  .sync-log-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #f0f3f7;}
  .sync-log-item:last-child{border-bottom:0;}
  .sync-log-dot{width:8px;height:8px;flex:0 0 8px;margin-top:5px;border-radius:50%;background:#e8a23c;box-shadow:0 0 0 3px #fff4dc;}
  .sync-log-dot.is-done{background:#36a269;box-shadow:0 0 0 3px #e4f7ec;}
  .sync-log-dot.is-error{background:#d94e60;box-shadow:0 0 0 3px #ffe8eb;}
  .sync-log-copy{min-width:0;flex:1;}
  .sync-log-copy strong{display:block;color:#354966;font-size:11px;line-height:1.4;}
  .sync-log-copy small{display:block;margin-top:3px;color:#8b98aa;font-size:10px;}
  .sync-log-copy p{margin:5px 0 0;color:#a43d4b;font-size:10px;line-height:1.45;overflow-wrap:anywhere;}
  .sync-log-empty{padding:22px 8px;text-align:center;color:#94a1b2;font-size:11px;}
  .personel-email-chip{display:inline-block;max-width:150px;padding:5px 8px;border:1px solid #e2eaf4;border-radius:8px;background:#f7faff;color:#60728a;font-size:11px;overflow-wrap:anywhere;}
  @keyframes syncAppear{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
  @keyframes syncGlow{0%,100%{background-position:0% 50%;filter:saturate(.9)}50%{background-position:100% 50%;filter:saturate(1.2)}}

  /* Personel için e-posta kodlu şifre sıfırlama akışı */
  .forgot-password-link{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:13px;padding:7px;border:0;background:transparent;color:#6d7e96;font-size:12px;font-weight:600;cursor:pointer;transition:color .18s ease;}
  .forgot-password-link:hover{color:#b54343;}
  .pw-reset-overlay{position:fixed!important;inset:0!important;z-index:2147483500!important;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;background:rgba(13,28,52,.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);overflow:auto;}
  .pw-reset-card{position:relative;width:min(465px,96vw);max-height:calc(100vh - 36px);overflow-y:auto;padding:30px 30px 22px;box-sizing:border-box;border:1px solid rgba(255,255,255,.72);border-radius:24px;background:linear-gradient(155deg,#fff 0%,#fbfdff 100%);box-shadow:0 28px 90px rgba(8,25,52,.3);color:#253a58;animation:syncAppear .24s ease-out;}
  .pw-reset-close{position:absolute;top:15px;right:15px;width:32px;height:32px;border:0;border-radius:10px;background:#f0f4f9;color:#7c8ba0;cursor:pointer;transition:all .18s ease;}
  .pw-reset-close:hover{background:#e4ebf5;color:#233d60;}
  .pw-reset-mark{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:14px;border-radius:15px;background:linear-gradient(135deg,#e9f2ff,#edf9f3);color:#2b5c87;font-size:20px;box-shadow:inset 0 0 0 1px #dce9f4;}
  .pw-reset-eyebrow{margin-bottom:6px;color:#8b9ab0;font-size:9px;font-weight:800;letter-spacing:1.7px;}
  .pw-reset-card h2{margin:0 0 8px;color:#1d3150;font-size:23px;font-weight:750;letter-spacing:-.4px;}
  .pw-reset-intro{margin:0 0 21px;color:#7b8aa0;font-size:12px;line-height:1.7;}
  .pw-reset-step label{display:block;margin:0 0 7px;color:#52647d;font-size:11px;font-weight:700;}
  .pw-reset-step .form-control{width:100%;height:46px;margin:0 0 15px;padding:0 13px;box-sizing:border-box;border:1px solid #dfe7f1;border-radius:12px;background:#fff;color:#233b5d;font-size:13px;box-shadow:0 2px 5px rgba(20,40,80,.025);}
  .pw-reset-step .form-control:focus{outline:none;border-color:#9db8d7;box-shadow:0 0 0 3px rgba(89,139,191,.12);}
  .pw-reset-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;margin-top:3px;padding:11px 14px;border:0;border-radius:12px;background:linear-gradient(110deg,#203d64,#315a86);color:#fff;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 7px 18px rgba(35,70,111,.16);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;}
  .pw-reset-primary:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(35,70,111,.2);}
  .pw-reset-primary:disabled{opacity:.65;cursor:wait;transform:none;}
  .pw-reset-back{display:block;margin:12px auto 0;border:0;background:transparent;color:#71829a;font-size:11px;font-weight:650;cursor:pointer;}
  .pw-reset-mail-preview{display:flex;align-items:center;gap:11px;margin-bottom:19px;padding:12px;border:1px solid #e0eaf5;border-radius:13px;background:#f7faff;color:#456789;}
  .pw-reset-mail-preview>i{font-size:18px;}
  .pw-reset-mail-preview>div{flex:1;min-width:0;}
  .pw-reset-mail-preview small{display:block;margin-bottom:3px;color:#8b9bb0;font-size:10px;}
  .pw-reset-mail-preview strong{display:block;overflow-wrap:anywhere;color:#294766;font-size:12px;}
  .pw-reset-verified{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e3f7eb;color:#2b9561;font-size:12px;}
  .pw-reset-hint{margin:-6px 0 15px;color:#8896a9;font-size:10px;line-height:1.55;}
  .pw-reset-code{font-size:22px!important;font-weight:800!important;letter-spacing:8px;text-align:center;}
  .pw-reset-password-wrap{display:flex;align-items:center;gap:6px;margin-bottom:14px;}
  .pw-reset-password-wrap .form-control{margin:0;min-width:0;}
  .pw-reset-password-wrap button{width:42px;height:44px;flex:0 0 42px;border:1px solid #e0e7f0;border-radius:11px;background:#f7f9fc;color:#70829a;cursor:pointer;}
  .pw-reset-success-note{display:flex;gap:8px;align-items:flex-start;margin-bottom:17px;padding:11px 12px;border:1px solid #d8f0e2;border-radius:12px;background:#f0fbf4;color:#317a54;font-size:11px;line-height:1.55;}
  .pw-reset-message{margin-top:14px;padding:11px 12px;border:1px solid #d7eadf;border-radius:11px;background:#f0fbf4;color:#327850;font-size:11px;line-height:1.55;}
  .pw-reset-message.is-error{border-color:#f1d1d5;background:#fff4f5;color:#a83c4a;}
  .pw-reset-message.is-success{border-color:#d7eadf;background:#f0fbf4;color:#327850;}
  .pw-reset-footer{display:flex;gap:7px;align-items:flex-start;margin-top:20px;padding-top:15px;border-top:1px solid #edf1f6;color:#9aa6b6;font-size:9px;line-height:1.6;}
  .pw-reset-footer i{margin-top:2px;color:#7892ad;}
  @media(max-width:850px){.sync-indicator{width:150px;max-width:20vw}.sync-indicator-head{font-size:9px}.sync-log-panel{right:-4px;width:290px}}
  @media(max-width:600px){.pw-reset-card{padding:25px 20px 18px;border-radius:18px}.pw-reset-card h2{font-size:20px}.sync-indicator{width:125px;max-width:26vw;padding:6px}.sync-indicator-head small{display:none}.sync-log-toggle{width:28px;height:28px;flex-basis:28px}}



  /* Sağ üst işlem özeti her zaman sayfanın üst katmanında açılsın. */
  .topbar { position: relative !important; z-index: 6000 !important; overflow: visible !important; }
  .sync-widget { z-index: 6001 !important; }
  .sync-log-panel.sync-log-panel-portal {
    position: fixed !important;
    z-index: 2147483647 !important;
    width: 330px;
    max-width: min(90vw, 380px);
    max-height: calc(100vh - 100px);
    overflow: hidden;
    background: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate !important;
    pointer-events: auto !important;
  }
  .sync-log-panel.sync-log-panel-portal * { pointer-events: auto; }

  /* Fotoğraf kırpma penceresi: backdrop bulanık kalır, panel ve CropperJS daima tıklanabilir. */
  #cropperModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    isolation: isolate !important;
    overflow: auto !important;
    pointer-events: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #cropperModal::before { z-index: 0 !important; pointer-events: none !important; }
  #cropperModal > .cropper-box {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #cropperModal .cropper-container,
  #cropperModal .cropper-wrap-box,
  #cropperModal .cropper-canvas,
  #cropperModal .cropper-drag-box,
  #cropperModal .cropper-crop-box,
  #cropperModal .cropper-face,
  #cropperModal .cropper-line,
  #cropperModal .cropper-point,
  #cropperModal .cropper-view-box {
    pointer-events: auto !important;
  }
  #cropperModal .cropper-modal { pointer-events: none !important; }
  #cropperModal .cropper-container { z-index: 3 !important; }
  #cropperModal .cropper-actions { position: relative !important; z-index: 4 !important; }

  /* Sol menü kişiselleştirme düğmesi ve modalı. */
  .menu-customize-trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: 12px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.88);
    font: 600 10px 'Poppins',sans-serif; cursor: pointer; transition: background .18s ease, transform .18s ease;
  }
  .menu-customize-trigger:hover { background: rgba(255,255,255,.17); transform: translateY(-1px); }
  .menu-customize-trigger i { font-size: 11px; }
  #mainNavItems .menu-settings-item { margin-top: 8px; padding-top: 13px !important; border-top: 1px solid rgba(255,255,255,.13); border-radius: 0 !important; }
  .menu-item.menu-user-hidden { display: none !important; }
  .nav-edit-overlay {
    position: fixed !important; inset: 0 !important; z-index: 2147483601 !important;
    display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box;
    background: rgba(13,27,49,.68); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); overflow: auto;
  }
  .nav-edit-panel {
    width: min(650px,96vw); max-height: calc(100vh - 36px); overflow: hidden; display: flex; flex-direction: column;
    box-sizing: border-box; padding: 25px; border: 1px solid #e3eaf3; border-radius: 22px; background: #fff !important;
    color: #243958; box-shadow: 0 25px 80px rgba(6,20,40,.35); opacity: 1 !important; filter: none !important;
  }
  .nav-edit-topline { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }
  .nav-edit-mark { display:flex; align-items:center; justify-content:center; width:45px; height:45px; border-radius:14px; background:#eaf2fc; color:#315d8a; font-size:18px; }
  .nav-edit-close { width:34px; height:34px; border:0; border-radius:10px; background:#f0f4f9; color:#687a92; cursor:pointer; }
  .nav-edit-eyebrow { color:#8090a7; font-size:9px; font-weight:800; letter-spacing:1.5px; }
  .nav-edit-panel h2 { margin:5px 0 7px; color:#1e3455; font-size:22px; letter-spacing:-.4px; }
  .nav-edit-intro { margin:0 0 15px; color:#6c7d94; font-size:12px; line-height:1.65; }
  .nav-edit-legend { display:flex; gap:16px; align-items:center; padding:10px 12px; margin-bottom:9px; border-radius:10px; background:#f5f8fc; color:#7c8ba0; font-size:10px; }
  .nav-edit-legend span { display:flex; align-items:center; gap:6px; }
  .nav-edit-list { display:flex; flex-direction:column; gap:7px; overflow-y:auto; min-height:90px; max-height:min(48vh,460px); padding:2px 3px 4px 0; }
  .nav-edit-row { display:grid; grid-template-columns:minmax(0,1fr) 76px 72px; align-items:center; gap:10px; padding:10px 11px; border:1px solid #e8edf4; border-radius:12px; background:#fff; transition:border-color .15s ease,background .15s ease; }
  .nav-edit-row:hover { border-color:#cbd9eb; background:#fbfdff; }
  .nav-edit-copy { min-width:0; }
  .nav-edit-copy strong { display:block; color:#2b405f; font-size:11px; line-height:1.45; }
  .nav-edit-copy small { display:block; margin-top:3px; color:#9aa6b6; font-size:9px; }
  .nav-edit-visibility { display:flex; align-items:center; justify-content:center; gap:6px; color:#72829a; font-size:9px; }
  .nav-edit-visibility input { width:16px; height:16px; accent-color:#2f6b9c; cursor:pointer; }
  .nav-edit-order { display:flex; justify-content:flex-end; gap:5px; }
  .nav-edit-order-btn { width:29px; height:29px; border:1px solid #e1e8f1; border-radius:8px; background:#f7f9fc; color:#536a88; cursor:pointer; }
  .nav-edit-order-btn:disabled { opacity:.28; cursor:not-allowed; }
  .nav-edit-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:15px; margin-top:14px; border-top:1px solid #edf1f6; }
  .nav-edit-reset,.nav-edit-done { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:39px; padding:9px 13px; border-radius:10px; font:700 11px 'Poppins',sans-serif; cursor:pointer; }
  .nav-edit-reset { border:1px solid #e1e8f1; background:#f8fafc; color:#63758d; }
  .nav-edit-done { border:0; background:linear-gradient(110deg,#203d64,#315a86); color:#fff; box-shadow:0 5px 14px rgba(35,70,111,.18); }
  .nav-edit-empty { padding:20px; text-align:center; color:#8a98aa; font-size:11px; }

  /* Ana sayfa: sade karşılama alanı ve tek tık hızlı erişim kartları. */
  .dash-welcome-banner {
    display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; padding:20px 23px;
    border:1px solid rgba(220,231,243,.9); border-radius:20px; background:linear-gradient(112deg,#fff 0%,#f7faff 62%,#edf5fc 100%);
    box-shadow:0 8px 26px rgba(20,40,80,.045); overflow:hidden; position:relative;
  }
  .dash-welcome-banner::after { content:""; position:absolute; right:130px; top:-60px; width:170px; height:170px; border-radius:50%; background:rgba(91,145,199,.06); pointer-events:none; }
  .dash-welcome-copy { min-width:0; position:relative; z-index:1; }
  .dash-welcome-eyebrow { display:inline-flex; align-items:center; gap:6px; color:#7890ad; font-size:9px; font-weight:800; letter-spacing:1.25px; }
  .dash-welcome-banner h2 { margin:7px 0 5px; color:#213756; font-size:23px; line-height:1.25; letter-spacing:-.55px; }
  .dash-welcome-banner h2 strong { color:#356895; }
  .dash-welcome-banner p { margin:0; color:#7889a0; font-size:11px; line-height:1.6; }
  .dash-date-pill { position:relative; z-index:1; display:flex; align-items:center; gap:8px; flex:0 0 auto; padding:11px 13px; border:1px solid #dfe9f5; border-radius:12px; background:rgba(255,255,255,.8); color:#516c8d; font-size:10px; font-weight:700; text-transform:capitalize; }
  .dash-date-pill i { color:#4f8cc3; }
  .dash-quick-panel { margin-top:19px; padding:20px; border:1px solid #e5ebf3; border-radius:20px; background:rgba(255,255,255,.92); box-shadow:0 8px 28px rgba(20,40,80,.035); }
  .dash-quick-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:14px; }
  .dash-quick-heading h3 { margin:5px 0 0; color:#213756; font-size:16px; letter-spacing:-.2px; }
  .dash-quick-note { color:#98a5b6; font-size:10px; }
  .dash-quick-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .dash-quick-action { display:flex; align-items:center; gap:11px; min-width:0; padding:13px; border:1px solid #e9eef5; border-radius:13px; background:#fff; text-align:left; cursor:pointer; font-family:'Poppins',sans-serif; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
  .dash-quick-action:hover { transform:translateY(-2px); border-color:#cdddec; box-shadow:0 8px 20px rgba(32,61,100,.08); }
  .dash-quick-icon { display:flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border-radius:11px; font-size:15px; }
  .quick-blue { background:#e8f3fd; color:#4388c4; } .quick-violet { background:#f1ecfc; color:#8064bb; } .quick-teal { background:#e7f8f5; color:#299b8a; } .quick-green { background:#eaf7ef; color:#4c9c6b; } .quick-orange { background:#fff2e3; color:#d78a32; } .quick-rose { background:#fff0f1; color:#cc6875; }
  .dash-quick-text { display:flex; flex-direction:column; min-width:0; flex:1; }
  .dash-quick-text strong { overflow:hidden; color:#304663; font-size:10px; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; }
  .dash-quick-text small { margin-top:3px; overflow:hidden; color:#93a0b1; font-size:9px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
  .dash-quick-arrow { flex:0 0 auto; color:#a6b3c3; font-size:10px; }
  @media(max-width:1100px) { .dash-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  @media(max-width:650px) { .dash-welcome-banner { align-items:flex-start; flex-direction:column; padding:17px; } .dash-welcome-banner h2 { font-size:20px; } .dash-quick-grid { grid-template-columns:1fr; } .dash-quick-heading { align-items:flex-start; flex-direction:column; } .dash-quick-note { display:none; } .nav-edit-panel { padding:19px; } .nav-edit-row { grid-template-columns:minmax(0,1fr) 42px 66px; gap:6px; padding:9px; } .nav-edit-visibility { width:42px; } .nav-edit-visibility input { width:17px; height:17px; } .nav-edit-copy strong { font-size:10px; } }




/* Kırpma modalları kapalı durumdayken arka plan bulanıklığının kalmasını engelle. */
#cropperModal[aria-hidden="true"],
#kurumGorselCropModal[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#cropperModal[aria-hidden="false"],
#kurumGorselCropModal[aria-hidden="false"] {
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Kurum görseli kırpma penceresi ve giriş/çıkış geçmişi */
#kurumGorselCropModal {
  position: fixed !important; inset: 0 !important; z-index: 2147483647 !important;
  display: none; align-items: center !important; justify-content: center !important;
  padding: 18px !important; overflow: auto !important; isolation: isolate !important;
  pointer-events: auto !important; background: rgba(15,23,42,.68) !important;
  backdrop-filter: blur(4px) !important; -webkit-backdrop-filter: blur(4px) !important;
}
#kurumGorselCropModal > .cropper-box {
  position: relative !important; z-index: 2 !important; opacity: 1 !important;
  filter: none !important; background: #fff !important; pointer-events: auto !important;
  max-height: calc(100vh - 36px) !important; overflow-y: auto !important;
}
#kurumGorselCropModal .cropper-container,
#kurumGorselCropModal .cropper-wrap-box,
#kurumGorselCropModal .cropper-canvas,
#kurumGorselCropModal .cropper-drag-box,
#kurumGorselCropModal .cropper-crop-box,
#kurumGorselCropModal .cropper-face,
#kurumGorselCropModal .cropper-line,
#kurumGorselCropModal .cropper-point,
#kurumGorselCropModal .cropper-view-box { pointer-events: auto !important; }
#kurumGorselCropModal .cropper-actions { position: relative !important; z-index: 5 !important; }
#kurumGorselCropModal button:disabled,
#cropperModal button:disabled { opacity: .55 !important; cursor: wait !important; transform: none !important; }
#systemAccessLogBody td { white-space: normal; }
@media(max-width:600px){#kurumGorselCropModal{padding:10px!important}#kurumGorselCropModal>.cropper-box{width:100%!important;max-width:100%!important;padding:18px!important}}

    
    /* ========================================== */
    /* EKRAN KÜÇÜLTME VE KAYDIRILABİLİR MENÜ (SCROLL) AYARLARI */
    /* ========================================== */
    
    /* 1. Sol menüyü ekrana sığmadığında aşağı kaydırılabilir yapıyoruz */
    .sidebar {
      overflow-y: auto !important; 
      overflow-x: hidden !important;
      scrollbar-width: thin; /* Firefox için ince scroll */
      scrollbar-color: rgba(255,255,255,0.2) transparent;
    }
    
    /* Chrome/Edge/Safari için ince ve şık kaydırma çubuğu */
    .sidebar::-webkit-scrollbar {
      width: 5px;
    }
    .sidebar::-webkit-scrollbar-thumb {
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 10px;
    }

    /* 2. Menü butonlarını ve boşluklarını ekrana sığması için daraltıyoruz */
    .menu-item {
      padding: 10px 15px !important; 
      font-size: 13px !important;    
      margin-bottom: 2px !important;
    }
    
    .logo-alani {
      padding: 20px 15px 15px 15px !important;
    }
    .logo-alani h2 {
      font-size: 18px !important;
    }
    .logo-alani p {
      font-size: 11px !important;
    }

    /* 3. Genel sistem arayüzünü her ekrana sığması için hafif küçültüyoruz */
    body {
      font-size: 13px !important;
    }
    .page-container {
      padding: 15px 25px !important;
    }
    .glass-card {
      padding: 18px !important;
    }
    .table-header h3 {
      font-size: 18px !important;
    }
    .form-control, .btn-ekle, .btn-kaydet, .btn-geri, .islem-btn {
      font-size: 12px !important;
    }
    .data-table th, .data-table td {
      padding: 10px 12px !important;
      font-size: 12px !important;
    }
    /* ========================================== */
    /* YOKLAMA VE KANAAT NOTU ÖZEL TASARIMLARI */
    /* ========================================== */
    .student-card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }
    .student-action-card {
      background: #fff;
      border: 1px solid #edf2f7;
      border-radius: 12px;
      padding: 15px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 6px rgba(0,0,0,0.02);
      transition: all 0.3s ease;
    }
    .student-action-card:hover {
      box-shadow: 0 8px 15px rgba(0,0,0,0.05);
      border-color: #cbd5e1;
    }
    .student-action-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px solid #edf2f7;
    }
    .student-action-header img {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      object-fit: cover;
    }
    .student-action-header h4 {
      margin: 0 0 3px 0;
      color: var(--primary);
      font-size: 14px;
    }
    .student-action-header p {
      margin: 0;
      color: var(--text-gri);
      font-size: 12px;
      font-weight: 500;
    }
    .yoklama-options {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .yoklama-radio-group {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .yoklama-radio-group label {
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 6px 10px;
      border-radius: 6px;
      background: #f4f6f9;
      border: 1px solid #e2e8f0;
      transition: 0.2s;
    }
    .yoklama-radio-group input[type="radio"] {
      cursor: pointer;
    }
    .yoklama-radio-group label.var-label { color: #27ae60; }
    .yoklama-radio-group label.yok-label { color: #e74c3c; }
    .yoklama-radio-group label.gec-label { color: #f39c12; }
    .yoklama-radio-group label.izin-label { color: #9b59b6; }
    
    .yoklama-detail-input {
      display: none;
      margin-top: 10px;
    }
    .kanaat-input-group {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-bottom: 10px;
    }
    .kanaat-score-input {
      width: 80px;
      padding: 8px;
      border: 2px solid #3498db;
      border-radius: 8px;
      font-weight: 700;
      color: #142850;
      text-align: center;
      outline: none;
    }
    .kanaat-score-input::placeholder {
      font-weight: 500;
      color: #bdc3c7;
    }

    /* ========================================== */
    /* VELİ RAPORU VE YAZDIRMA (PDF) TASARIMLARI */
    /* ========================================== */
    .rapor-kagidi {
      background: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      margin-top: 20px;
      color: #333;
      border: 1px solid #edf2f7;
    }
    .rapor-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 3px solid var(--primary);
      padding-bottom: 20px;
      margin-bottom: 30px;
    }
    .rapor-header-sol { display: flex; align-items: center; gap: 15px; }
    .rapor-header-sol img { width: 70px; height: 70px; object-fit: contain; }
    .rapor-header-sag { text-align: right; }
    .rapor-section {
      margin-bottom: 30px;
      border: 1px solid #edf2f7;
      border-radius: 12px;
      padding: 20px;
      background: #fcfcfc;
    }
    .rapor-section-title {
      font-size: 18px;
      color: var(--primary);
      margin-bottom: 15px;
      border-bottom: 1px dashed #cbd5e1;
      padding-bottom: 10px;
      font-weight: 700;
    }
    
    @media print {
      body * { visibility: hidden; }
      #raporKagidi, #raporKagidi * { visibility: visible; }
      #raporKagidi { 
        position: absolute; 
        left: 0; 
        top: 0; 
        width: 100%; 
        margin: 0; 
        padding: 20px; 
        box-shadow: none; 
        border: none;
      }
      .sidebar, .topbar, .table-header, .btn-ekle, .btn-kaydet, .btn-geri, #raporFiltreAlani, .hide-on-print { 
        display: none !important; 
      }
      .page-container { padding: 0; margin: 0; }
      .rapor-section { break-inside: avoid; }
    }
  

    /* ==========================================================
       AHMEDIYE PROJE — %100 TARAYICI ÖLÇEĞİ İÇİN YERLEŞİM DÜZELTMESİ
       Sadece görünüm/yerleşim kuralları. Uygulama ve veri mantığı değişmez.
       ========================================================== */
    html {
      width: 100%;
      min-width: 320px;
    }

    body {
      width: 100%;
      min-width: 320px;
      min-height: 100vh;
    }

    /* Sidebar sabit genişlikte kalır; ana içerik sidebar yüzünden daralmaz. */
    .sidebar {
      flex: 0 0 270px !important;
      width: 270px !important;
      min-width: 270px !important;
      min-height: 0;
      margin: 16px 12px 16px 16px !important;
      overflow: hidden !important;
    }

    .sidebar > .logo-alani {
      flex: 0 0 auto;
      padding: 27px 14px !important;
    }

    .sidebar .logo-alani h2 {
      font-size: 19px !important;
      line-height: 1.25;
      letter-spacing: .5px;
      overflow-wrap: anywhere;
    }

    .sidebar .logo-alani p {
      font-size: 11px !important;
      line-height: 1.4;
    }

    /* Menünün kendisi kayar; logo ve alt bölüm rastgele sıkışmaz. */
    .sidebar > .menu-list {
      box-sizing: border-box;
      height: auto !important;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      padding: 14px 8px;
      gap: 4px;
      scrollbar-gutter: stable;
    }

    .sidebar .menu-item {
      box-sizing: border-box;
      min-width: 0;
      padding: 11px 12px !important;
      gap: 10px;
      font-size: 13px !important;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .sidebar .menu-item i {
      flex: 0 0 18px;
      width: 18px;
      font-size: 14px;
    }

    .sidebar .menu-item:hover {
      transform: translateX(2px);
    }

    /* Flex öğesinin min-content genişliği ana sayfayı yatayda itmesin. */
    .main-content {
      flex: 1 1 0 !important;
      min-width: 0 !important;
      max-width: 100%;
      padding-right: 16px;
    }

    .topbar {
      box-sizing: border-box;
      flex: 0 0 70px;
      height: 70px;
      min-width: 0;
      gap: 12px;
      padding: 0 22px;
      margin: 16px 0 14px;
    }

    .topbar > div {
      min-width: 0;
    }

    #page-title {
      min-width: 0;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .page-container {
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 15px 22px 28px !important;
      overflow-x: auto;
      overscroll-behavior-x: contain;
    }

    .glass-card {
      box-sizing: border-box;
      min-width: 0;
      padding: 22px !important;
    }

    /* Ana sayfa kartları: sıfır min-width, doğru iki sütun oranı. */
    .dash-grid {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(300px, 1.2fr);
      align-items: stretch;
      gap: 18px;
      width: 100%;
      min-width: 0;
    }

    .dash-left-col,
    .dash-right-col,
    .dash-grid > * {
      min-width: 0;
    }

    .dash-left-col,
    .dash-right-col {
      gap: 18px;
    }

    .dash-stat-card {
      box-sizing: border-box;
      min-width: 0;
      gap: 16px;
      padding: 22px !important;
    }

    .dash-stat-card .stat-icon {
      flex: 0 0 56px;
      width: 56px;
      height: 56px;
      font-size: 24px;
    }

    .dash-stat-card .stat-info {
      min-width: 0;
    }

    .dash-stat-card .stat-info span {
      font-size: 12px;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    .dash-stat-card .stat-info strong {
      font-size: 30px;
    }

    .dash-list-item,
    .dash-list-item .list-text {
      min-width: 0;
    }

    .dash-list-item .list-icon {
      flex: 0 0 40px;
    }

    .dash-list-item .list-text strong {
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    .chart-wrapper {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .chart-wrapper canvas {
      max-width: 100% !important;
    }

    .main-footer {
      gap: 12px;
      flex-wrap: wrap;
      padding: 13px 22px;
    }

    /* Orta masaüstü genişliğinde sidebar ve kart boşlukları dengelenir. */
    @media (max-width: 1400px) and (min-width: 1201px) {
      .sidebar {
        flex-basis: 250px !important;
        width: 250px !important;
        min-width: 250px !important;
        margin: 14px 10px 14px 14px !important;
      }

      .sidebar > .logo-alani {
        padding: 24px 12px !important;
      }

      .sidebar .menu-item {
        padding: 10px 10px !important;
        gap: 8px;
        font-size: 12.5px !important;
      }

      .main-content {
        padding-right: 14px;
      }

      .topbar {
        padding: 0 18px;
      }

      .page-container {
        padding: 14px 18px 24px !important;
      }

      .dash-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
        gap: 15px;
      }

      .glass-card {
        padding: 20px !important;
      }
    }

    /* Sidebar genişliği de hesaba katılarak orta ekranda tek sütuna geçilir. */
    @media (max-width: 1200px) {
      .dash-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
      }

      .dash-left-col,
      .dash-right-col {
        gap: 16px;
      }

      .main-content {
        padding-right: 14px;
      }

      .page-container {
        padding: 12px 16px 22px !important;
      }
    }

    @media (max-width: 900px) {
      .sidebar {
        flex: 0 0 auto !important;
        width: min(290px, 88vw) !important;
        min-width: 0 !important;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0 !important;
        overflow: hidden !important;
      }

      .sidebar > .menu-list {
        height: auto !important;
        max-height: none;
      }

      .main-content {
        flex: 1 1 auto !important;
        width: auto;
        min-width: 0 !important;
        max-width: 100%;
        padding: 0 12px !important;
      }

      .topbar {
        flex-basis: 64px;
        height: 64px;
        width: 100%;
        padding: 0 16px;
        margin: 12px 0;
      }

      .page-container {
        padding: 8px 12px 20px !important;
      }

      .dash-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .glass-card {
        padding: 18px !important;
      }

      .main-footer {
        padding: 12px 16px;
      }
    }

    @media (max-width: 600px) {
      .main-content {
        padding: 0 10px !important;
      }

      .topbar {
        flex-basis: 60px;
        height: 60px;
        gap: 8px;
        padding: 0 12px;
      }

      .topbar > div {
        gap: 8px !important;
      }

      #page-title {
        font-size: 16px !important;
      }

      .sidebar .menu-item {
        padding: 11px 12px !important;
        font-size: 13px !important;
      }

      .page-container {
        padding: 8px 10px 18px !important;
      }

      .glass-card {
        padding: 16px !important;
        border-radius: 16px;
      }

      .dash-grid,
      .dash-left-col,
      .dash-right-col {
        gap: 14px;
      }

      .dash-stat-card {
        gap: 12px;
        padding: 16px !important;
      }

      .dash-stat-card .stat-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 21px;
      }

      .dash-stat-card .stat-info strong {
        font-size: 27px;
      }

      .dash-stat-card .stat-info span {
        font-size: 11px;
      }

      .dash-list-item {
        gap: 10px;
        padding: 10px 0;
      }

      .dash-list-item .list-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
      }

      .main-footer {
        padding: 10px 12px;
        font-size: 11px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .sidebar,
      .menu-item,
      .page-container.active {
        transition: none !important;
        animation: none !important;
      }
    }

/* [aol-dialog-css] */
/* Kurumsal bildirim pencereleri */
.aol-dlg-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(14,27,52,.58);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:aolDlgFade .16s ease-out}
.aol-dlg{width:min(460px,100%);background:#fff;border-radius:22px;padding:32px 28px 24px;text-align:center;outline:none;
  box-shadow:0 30px 70px rgba(8,18,40,.38);font-family:'Poppins',system-ui,sans-serif;animation:aolDlgPop .2s cubic-bezier(.2,.9,.3,1.2)}
.aol-dlg-icon{width:72px;height:72px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:32px}
.aol-dlg-title{margin:0 0 10px;font-size:19px;font-weight:700;color:#142850;letter-spacing:.1px}
.aol-dlg-msg{margin:0;color:#56657d;font-size:14.5px;line-height:1.65;white-space:pre-line;word-break:break-word;max-height:46vh;overflow-y:auto}
.aol-dlg-actions{display:flex;gap:12px;justify-content:center;margin-top:26px}
.aol-dlg-btn{flex:1 1 0;max-width:210px;min-width:110px;padding:13px 18px;border-radius:13px;font:600 14px 'Poppins',system-ui,sans-serif;cursor:pointer;
  border:1.5px solid transparent;transition:transform .08s ease,box-shadow .15s ease,background .15s ease}
.aol-dlg-btn:active{transform:scale(.98)}
.aol-dlg-btn:focus-visible{outline:3px solid rgba(45,108,223,.35);outline-offset:2px}
.aol-dlg-btn.primary{background:#142850;color:#fff;box-shadow:0 8px 18px rgba(20,40,80,.28)}
.aol-dlg-btn.primary:hover{background:#1d3a70}
.aol-dlg-btn.danger{background:#d63a2f;color:#fff;box-shadow:0 8px 18px rgba(214,58,47,.3)}
.aol-dlg-btn.danger:hover{background:#bf2f25}
.aol-dlg-btn.ghost{background:#fff;color:#4a5a73;border-color:#d5dce8}
.aol-dlg-btn.ghost:hover{background:#f3f6fb}
.aol-dlg-info .aol-dlg-icon,.aol-dlg-question .aol-dlg-icon{background:#eaf2ff;color:#2d6cdf}
.aol-dlg-success .aol-dlg-icon{background:#e6f7ee;color:#1e9e5a}
.aol-dlg-warning .aol-dlg-icon{background:#fff4dc;color:#e08a00}
.aol-dlg-error .aol-dlg-icon,.aol-dlg-danger .aol-dlg-icon{background:#fdeceb;color:#d63a2f}
@keyframes aolDlgFade{from{opacity:0}to{opacity:1}}
@keyframes aolDlgPop{from{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}
@media (max-width:480px){.aol-dlg{padding:26px 20px 20px;border-radius:18px}.aol-dlg-actions{flex-direction:column-reverse}.aol-dlg-btn{max-width:none}}
@media (prefers-reduced-motion:reduce){.aol-dlg,.aol-dlg-overlay{animation:none}}
