  /* ============================================
    KART TAKİP WEB — Global Styles
    ============================================ */

  /* ---------- Google Fonts ---------- */
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

  /* ---------- CSS Variables ---------- */
  :root {
    /* Colors - Corporate Water / Ocean Theme */
    --bg-primary: #f0f9ff; /* Açık gökyüzü/su mavisi zemin */
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f9ff;
    --border-color: #bae6fd; /* Açık su mavisi kenarlık */
    --border-focus: #0284c7; /* Okyanus mavisi */

    --text-primary: #0369a1; /* Derin deniz mavisi - Koyu metin */
    --text-secondary: #0c4a6e; /* Koyu gökyüzü mavisi - İkincil metin */
    --text-muted: #64748b;

    --accent-primary: #0284c7; /* Kurumsal Temiz Okyanus Mavisi */
    --accent-secondary: #0369a1;
    --accent-glow: rgba(2, 132, 199, 0.08);

    --error-bg: #fef2f2;
    --error-border: #fca5a5;
    --error-text: #991b1b;

    --success-bg: #f0fdf4;
    --success-border: #bbf7d0;
    --success-text: #166534;

    /* Role colors (overridden by JS with professional blue-teal-amber colors) */
    --role-color: #0284c7;
    --role-gradient: #0284c7;

    /* Spacing */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
  }

  /* ---------- Reset ---------- */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;,
    color: #0369a1;
  }

  html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
  }

  a {
    color: var(--accent-primary);
    text-decoration: none;
  }

  /* ============================================
    ANIMATED BACKGROUND
    ============================================ */
  .bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #f1f5f9; /* Temiz kurumsal zemin */
  }

  /* Orb'lar kaldırıldı */
  .bg-orb {
    display: none;
  }

  /* Grid pattern overlay */
  .bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  /* ============================================
    LOGIN PAGE
    ============================================ */
  .login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: #ffffff ;
  }

  .login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff; /* Solid beyaz, kurumsal */
    border: 10px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 10px 10px rgba(46, 112, 255, 0.473); /* Yumuşak kurumsal gölge */
    animation: cardEnter 0.4s ease-out;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }

  .login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #2074eb;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .login-card.success {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s ease;
  }

  @keyframes cardEnter {
    from {
      opacity: 0;
      transform: translateY(30px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Logo & Header */
  .login-header {
    text-align: center;
    margin-bottom: 36px;
  }

  .login-logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
  }

  .login-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
  }

  .login-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 400;
  }

  /* Form Inputs */
  .form-group {
    margin-bottom: 20px;
  }

  .form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
  }

  .forgot-password-link {
    font-size: 0.75rem;
    font-weight: #0ea5e9;
    color: #0;
    transition: color var(--transition-fast);
  }

  .forgot-password-link:hover {
    color: #ff0000;
    text-decoration: underline;
  }

  .remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
  }

  .remember-me input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
    cursor: pointer;
  }

  .back-to-login {
    text-align: center;
    margin-top: 20px;
  }

  .back-to-login a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
  }

  .back-to-login a:hover {
    color: var(--text-primary);
  }

  /* Form Transition Animation */
  #loginForm, #resetForm {
    animation: formFadeIn 0.3s ease-out;
  }

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

  .input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc; /* Açık kurumsal gri girdi alanı */
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
  }

  .input-group.focused {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #ffffff;
  }

  .input-icon {
    padding: 8px 10px 7px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color var(--transition-fast);
    flex-shrink: 0;
  }

  .input-group.focused .input-icon {
    color: var(--accent-primary);
  }

  .input-icon svg {
    width: 18px;
    height: 18px;
  }

  .form-input {
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: #0f172a; /* Slate 900 */
    font-size: 0.9rem;
    font-family: inherit;
  }

  .form-input::placeholder {
    color: #94a3b8;
  }

  /* Password toggle */
  .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
  }

  .password-toggle:hover {
    color: var(--text-secondary);
  }

  .password-toggle svg {
    width: 18px;
    height: 18px;
  }

  .hidden {
    display: none !important;
  }

  /* Submit Button */
  .submit-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--accent-primary); /* Solid Royal Blue */
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    letter-spacing: 0.01em;
  }

  .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-secondary); /* Darker blue */
    opacity: 0;
    transition: opacity var(--transition-fast);
  }

  .submit-btn:hover:not(:disabled)::before {
    opacity: 1;
  }

  .submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  }

  .submit-btn:active:not(:disabled) {
    transform: translateY(0);
  }

  .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .submit-btn span {
    position: relative;
    z-index: 1;
  }

  /* Spinner */
  .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: relative;
    z-index: 1;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* Error Alert */
  .error-container {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
  }

  .error-container.hidden {
    display: none;
  }

  .error-icon {
    flex-shrink: 0;
    color: #ef4444;
  }

  .error-icon svg {
    width: 18px;
    height: 18px;
  }

  .error-message {
    font-size: 0.8125rem;
    color: var(--error-text);
    font-weight: 500;
    line-height: 1.4;
  }

  /* Shake Animation */
  .shake {
    animation: shake 0.5s ease;
  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-6px); }
    30%, 70% { transform: translateX(6px); }
  }

  /* Demo Credentials */
  .demo-info {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
  }

  .demo-info-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-align: center;
  }

  .demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .demo-credential {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
  }

  .demo-credential:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-color);
  }

  .demo-credential-user {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-weight: 500;
  }

  .demo-credential-role {
    color: var(--text-muted);
    font-size: 0.6875rem;
  }

  /* ============================================
    DASHBOARD PAGE
    ============================================ */
  .dashboard-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 20px;
  }

  .dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #0284c7; /* Solid Okyanus Mavisi Üst Bar */
    border: 1px solid #0284c7;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeSlideDown 0.5s ease-out;
    position: relative; /* Dropdown absolute positioning'i için */
    z-index: 101;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  }

  .topbar-left-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* ─────────────────────────────────────────────
    PROFILE DROPDOWN POPPING ON HOVER
    ───────────────────────────────────────────── */
  .profile-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 100;
  }

  /* Profil İkonu / Tetikleyici */
  .profile-trigger {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15); /* Mavi zemin üzerinde saydam beyaz tetikleyici */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .profile-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: scale(1.02);
  }

  .profile-trigger-icon {
    font-size: 18px;
  }

  /* Profil Popover Menü Kartı */
  .profile-dropdown-card {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 300px;
    background: #ffffff; /* Temiz Beyaz Arka Plan */
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: none; /* Varsayılan olarak kapalı */
    flex-direction: column;
    animation: dropdownFadeIn 0.2s ease-out;
    border-top: 3px solid var(--role-color);
  }

  /* Wrapper Hover olunca Dropdown kartını aç */
  .profile-dropdown-wrapper:hover .profile-dropdown-card {
    display: flex;
  }

  /* Hover alanını korumak için köprü element */
  .profile-dropdown-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
  }

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

  /* Dropdown İçerik Yapısı */
  .dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }

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

  .dropdown-name-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .dropdown-fullname {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dropdown-role {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
  }

  .dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
  }

  .dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .dropdown-section-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }

  .dropdown-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .dropdown-permissions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

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

  .topbar-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Logonun en-boy oranını korur */
  }

  .topbar-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff; /* Mavi zemin üzerinde beyaz */
  }

  .logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .logout-btn:hover {
    background: rgba(255, 255, 255, 0.15); /* Hafif beyaz dolgu */
    border-color: rgba(255, 255, 255, 0.6);
  }

  .logout-btn svg {
    width: 14px;
    height: 14px;
  }

  .topbar-actions { display: flex; align-items: center; gap: 10px; }

  /* ── Topbar Kullanıcı Çentiği (Düz Yatay Cep) ── */
  .topbar-user-chip {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    margin-right: auto;
    margin-left: 20px;
    transition: background var(--transition-fast);
    white-space: nowrap;
  }
  .topbar-user-chip:hover {
    background: rgba(255,255,255,0.17);
  }
  .topbar-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
  }
  .topbar-user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
  }
  .topbar-chip-divider {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
  }
  .topbar-user-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.70);
  }
  .profile-page-btn {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px;
    color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm);
    font-size: .8125rem; font-weight: 500; transition: all var(--transition-fast);
  }
  .profile-page-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }
  .profile-page-btn svg { width: 14px; height: 14px; }

  .profile-container { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: grid; gap: 24px; }
  .profile-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-md); padding: 28px; box-shadow: 0 4px 12px rgba(15,23,42,.06); }
  .profile-page-header { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }
  .profile-page-header h1 { color: #0f172a; font-size: 1.4rem; }
  .profile-page-header p, .profile-section-heading p { color: #64748b; font-size: .85rem; margin-top: 4px; }
  .profile-page-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e0f2fe; color: #0369a1; font-weight: 700; }
  .profile-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
  .profile-info-item { padding: 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 6px; }
  .profile-info-item span { color: #64748b; font-size: .75rem; }
  .profile-info-item strong { color: #0f172a; font-size: .9rem; overflow-wrap: anywhere; }
  .profile-section-heading { margin-bottom: 22px; }
  .profile-section-heading h2 { color: #0f172a; font-size: 1.1rem; }
  .password-change-form { max-width: 520px; }
  .profile-input { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); outline: none; font: inherit; }
  .profile-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-glow); }
  .profile-submit { width: auto; min-width: 180px; }
  .profile-alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .85rem; }
  .profile-alert--success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success-text); }
  .profile-alert--error { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-text); }
  @media (max-width: 600px) {
    .profile-info-grid { grid-template-columns: 1fr; }
    .dashboard-topbar { padding: 12px 14px; }
    .topbar-title { display: none; }
    .profile-card { padding: 20px; }
  }

  /* Dashboard Container */
  .dashboard-container {
    max-width: 1140px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(12px);
    transition: all var(--transition-slow) ease-out;
  }

  .dashboard-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .welcome-card-horizontal {
    background: #ffffff; /* Solid Beyaz */
    border: 1px solid var(--border-color); /* Su teması açık mavi kenarlık */
    border-radius: var(--radius-md);
    padding: 20px 24px; /* Genişletildi */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.4s ease-out 0.1s both;
    border-left: 4px solid var(--role-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  }

  .welcome-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
  }

  .welcome-right {
    flex-shrink: 0;
  }

  .user-avatar-compact {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }

  .welcome-info-compact {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }

  .welcome-greeting-compact {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
  }

  .welcome-message-compact {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-role-badge-compact {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
  }

  /* Info Cards Grid */
  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .info-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    animation: fadeSlideUp 0.5s ease-out 0.2s both;
  }

  .info-card:nth-child(2) {
    animation-delay: 0.3s;
  }

  .info-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }

  /* Detail Items */
  .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .detail-item + .detail-item {
    border-top: 1px solid var(--border-color);
  }

  .detail-icon {
    font-size: 1.125rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .detail-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Permissions */
  .permissions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .permission-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
  }

  .permission-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--role-color);
    color: var(--text-primary);
  }

  /* Animations */
  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  /* ============================================
    CARD REQUESTS SECTION
    ============================================ */
  .requests-section {
    margin-top: 32px;
    animation: fadeSlideUp 0.5s ease-out 0.4s both;
  }

  /* Section Header */
  .requests-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .requests-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .requests-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
  }

  .requests-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: var(--role-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 14px;
  }

  .requests-count:empty {
    display: none;
  }

  /* Refresh Button */
  .refresh-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: #64748b;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }

  .refresh-btn:hover {
    background: #f8fafc;
    color: var(--role-color);
    border-color: var(--role-color);
  }

  .refresh-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.5s ease;
  }

  .refresh-btn.spinning svg {
    animation: spin 0.8s linear infinite;
  }

  /* Loading State */
  .requests-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    color: #64748b;
    font-size: 0.8125rem;
  }

  .requests-loading.hidden {
    display: none;
  }

  .loading-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--role-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  /* Empty State */
  .requests-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
  }

  .requests-empty.hidden {
    display: none;
  }

  .empty-icon {
    font-size: 2rem;
    opacity: 0.7;
  }

  .empty-text {
    font-size: 0.8125rem;
    color: #64748b;
  }

  /* Request Cards List */
  .requests-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Boşluk artırıldı */
  }

  /* Single Request Card */
  .request-card {
    background: #ffffff; /* Solid Beyaz */
    border: 1px solid var(--border-color); /* Su teması açık mavi kenarlık */
    border-radius: var(--radius-md);
    padding: 24px 28px; /* Kart boyutu büyütüldü */
    transition: all var(--transition-fast);
    animation: fadeSlideUp 0.3s ease-out both;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  }

  .request-card:hover {
    border-color: #0284c7; /* Okyanus mavisi vurgu */
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  }

  /* Card Top Row */
  .request-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .request-card-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1;
  }

  .request-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
  }

  .personel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
  }

  /* Request Info */
  .request-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .request-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .personel-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .personel-title {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .request-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }

  .request-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
  }

  .meta-separator {
    color: var(--text-muted);
    font-size: 0.75rem;
  }

  .request-type-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* Status Badge */
  .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 1px solid;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }

  /* Waiting Duration */
  .request-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--text-muted);
  }

  .request-time svg {
    opacity: 0.6;
  }

  /* Missing Info Badge */
  .missing-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
  }

  /* Description */
  .request-description {
    margin: 14px 0 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-left: 2px solid var(--border-color);
  }

  /* Action Buttons */
  .request-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
  }

  .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid;
    white-space: nowrap;
  }

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

  .action-btn-icon {
    font-size: 0.8125rem;
  }

  /* Action Button Variants */
  .action-btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border-color: var(--border-color);
  }

  .action-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
  }

  .action-btn--primary {
    background: rgb(39, 159, 9);
    color: #ffffff;
    border-color: rgba(5, 240, 1, 0.25);
  }

  .action-btn--primary:hover {
    background: rgb(34, 143, 7);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
  }

  .action-btn--approve {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.2);
  }

  .action-btn--approve:hover {
    background: rgba(34, 197, 94, 0.18);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
  }

  .action-btn--reject {
    background: #ef4444; /* Düz net kırmızı, yüksek opaklık */
    color: #ffffff;
    border-color: #dc2626;
  }

  .action-btn--reject:hover {
    background: #dc2626;
    border-color: #b91c1c;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  }

  /* ============================================
    POPOVER MODAL
    ============================================ */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4); /* Çok koyu olmayan, göz yormayan perde */
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
  }

  .modal-overlay.hidden {
    display: none !important;
  }

  .modal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes modalEnter {
    from {
      opacity: 0;
      transform: scale(0.96) translateY(8px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  /* Modal Header */
  .modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
  }

  .modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    border-radius: 4px;
  }

  .modal-close-btn:hover {
    color: #475569;
    background: #f1f5f9;
  }

  .modal-close-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Modal Body */
  .modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
  }

  /* Personel Header inside Modal */
  .modal-personel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .modal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

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

  .modal-fullname {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
  }

  .modal-title-desc {
    font-size: 0.8125rem;
    color: #64748b;
  }

  /* Grid layout for details */
  .modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 24px;
  }

  .modal-grid-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .modal-grid-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .modal-grid-value {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
  }

  .font-mono {
    font-family: 'Courier New', monospace;
    font-weight: 600;
  }

  /* Description Section */
  .modal-description-section {
    padding: 16px;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: var(--radius-sm);
  }

  .modal-description-text {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 6px;
  }

  /* Modal Footer */
  .modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  /* ============================================
    RESPONSIVE
    ============================================ */
  @media (max-width: 768px) {
    .login-card {
      padding: 36px 28px;
      border-radius: var(--radius-lg);
    }

    .info-grid {
      grid-template-columns: 1fr;
    }

    .dashboard-topbar {
      flex-direction: column;
      gap: 12px;
      text-align: center;
    }

    .welcome-card-horizontal {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      padding: 16px;
    }

    .welcome-right {
      width: 100%;
      display: flex;
      justify-content: flex-start;
    }

    .welcome-greeting-compact {
      font-size: 1rem;
    }

    .request-card-top {
      flex-direction: column;
      gap: 12px;
    }

    .request-card-right {
      flex-direction: row;
      align-items: center;
      width: 100%;
    }

    .request-card {
      padding: 18px;
    }

    .request-card-actions {
      flex-wrap: wrap;
    }

    /* Modal Mobile Styles */
    .modal-card {
      max-height: 90vh;
    }

    .modal-body {
      padding: 16px;
    }

    .modal-grid {
      grid-template-columns: 1fr; /* Mobilde tek sütun */
      gap: 12px;
    }

    .modal-personel-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }

    .modal-avatar {
      width: 48px;
      height: 48px;
      font-size: 20px;
    }
  }

  @media (max-width: 480px) {
    .login-card {
      padding: 28px 20px;
    }

    .login-title {
      font-size: 1.25rem;
    }

    .demo-credential {
      flex-direction: column;
      gap: 4px;
      text-align: center;
    }

    .personel-avatar {
      width: 40px;
      height: 40px;
      font-size: 0.75rem;
    }

    .action-btn {
      padding: 6px 12px;
      font-size: 0.6875rem;
    }
  }

  /* ============================================
    NEW CARD APPLICATION FORM SECTION
    ============================================ */
  .new-application-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(2, 132, 199, 0.06);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
  }

  .new-application-section:hover {
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
  }

  /* Header */
  .new-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-normal);
    cursor: default;
  }

  .new-application-section:has(#newAppFormWrapper:not(.hidden)) .new-app-header {
    border-bottom-color: var(--border-color);
  }

  .new-app-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .new-app-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
    border: 1px solid #bae6fd;
  }

  .new-app-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0;
  }

  .new-app-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 2px 0 0;
  }

  /* Toggle Button */
  .new-app-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-glow);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
  }

  .new-app-toggle-btn:hover {
    background: #dbeafe;
    border-color: var(--accent-primary);
  }

  .new-app-toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
  }

  /* Form Wrapper (Collapsible) */
  .new-app-form-wrapper {
    padding: 24px;
    animation: formSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes formSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Form Grid */
  .new-app-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Form Group */
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .form-group--full {
    grid-column: 1 / -1;
  }

  /* Label */
  .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
  }

  .form-required {
    color: #ef4444;
    margin-left: 2px;
  }

  /* Input */
  .form-input {
    width: 100%;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
  }

  .form-input::placeholder {
    color: #94a3b8;
  }

  .form-input:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  }

  .form-input:hover:not(:focus) {
    border-color: #94a3b8;
  }

  .form-input--error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  }

  /* Select Wrapper */
  .form-select-wrapper {
    position: relative;
  }

  .form-select {
    width: 100%;
    padding: 10px 38px 10px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
  }

  .form-select:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  }

  .form-select:hover:not(:focus) {
    border-color: #94a3b8;
  }

  .form-select--error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  }

  .form-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #64748b;
    pointer-events: none;
  }

  /* Textarea */
  .form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 80px;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    line-height: 1.5;
  }

  .form-textarea::placeholder {
    color: #94a3b8;
  }

  .form-textarea:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  }

  .form-textarea:hover:not(:focus) {
    border-color: #94a3b8;
  }

  /* Form Error Message */
  .form-error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    color: #991b1b;
    font-size: 0.8125rem;
    font-weight: 500;
    animation: fadeIn 0.2s ease-out;
  }

  .form-error-message svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #ef4444;
  }

  .form-error-message.hidden {
    display: none !important;
  }

  /* Form Actions */
  .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid #f1f5f9;
  }

  /* Responsive */
  @media (max-width: 640px) {
    .form-grid {
      grid-template-columns: 1fr;
    }

    .new-app-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }

    .new-app-toggle-btn {
      width: 100%;
      justify-content: center;
    }

    .new-app-form-wrapper {
      padding: 16px;
    }

    .form-actions {
      flex-direction: column-reverse;
    }

    .form-actions .action-btn {
      width: 100%;
      justify-content: center;
    }
  }

  /* ============================================
    TOAST NOTIFICATIONS (BOTTOM-RIGHT)
    ============================================ */
  .toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
  }

  .toast {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .toast--success {
    border-left: 4px solid #10b981;
  }

  .toast--error {
    border-left: 4px solid #ef4444;
  }

  .toast--info {
    border-left: 4px solid #3b82f6;
  }

  .toast-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
  }

  .toast-message {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #553733;
    line-height: 1.4;
    flex: 1;
  }

  .toast-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
  }

  .toast-close-btn:hover {
    color: #475569;
  }

  .toast--leaving {
    animation: toastSlideOut 0.25s ease-in forwards;
  }

  @keyframes toastSlideIn {
    from {
      opacity: 0;
      transform: translateX(40px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  @keyframes toastSlideOut {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(40px);
    }
  }

  /* ============================================
    CUSTOM CONFIRM MODAL (BUILT-IN)
    ============================================ */
  .confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
  }

  .confirm-overlay.hidden {
    display: none !important;
  }

  .confirm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    max-width: 440px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .confirm-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .confirm-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .confirm-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .confirm-text-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .confirm-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
  }

  .confirm-message {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.5;
  }

  .confirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .modal-avatar { overflow: hidden; flex: 0 0 72px; width: 72px; height: 72px; }
  .modal-personel-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
  .modal-description-input { width: 100%; margin-top: 8px; padding: 12px 14px; resize: vertical; min-height: 96px; background: #c8df8e; border: 1px solid rgba(35,31,32,.22); border-radius: var(--radius-sm); color: #231f20; font: inherit; line-height: 1.5; outline: none; }
  .modal-description-input:focus { border-color: #0076c0; box-shadow: 0 0 0 3px rgba(0,164,228,.24); }
  .modal-description-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }

  @media (max-width: 760px) {
    .modal-description-actions { flex-direction: column-reverse; }
    .modal-description-actions .action-btn { width: 100%; justify-content: center; }
  }

  .reset-confirm-fields { display:grid;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(56,189,248,.18); }
  .reset-standalone-input { min-height:46px;border-radius:12px !important; }
  .reset-resend-btn {
    display:block;
    margin:9px 0 0 auto;
    padding:4px 0;
    border:0;
    background:transparent;
    color:#7dd3fc;
    font:inherit;
    font-size:.82rem;
    font-weight:600;
    cursor:pointer;
  }
  .reset-resend-btn:hover { color:#e0f7ff;text-decoration:underline; }
  .reset-resend-btn:focus-visible { outline:2px solid #38bdf8;outline-offset:3px;border-radius:4px; }
  .reset-resend-btn:disabled { color:#64748b;cursor:wait;text-decoration:none; }

  /* Vesikalık fotoğraf oranı (124 × 174) */
  .modal-avatar {
    flex:0 0 96px !important;
    width:96px !important;
    height:auto !important;
    aspect-ratio:124 / 174 !important;
    border-radius:14px !important;
  }
  .modal-personel-photo {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center top !important;
  }

  /* Tamamlanan başvurular — açılır rapor geçmişi */
  .tech-history-btn {
    min-width:104px;
    padding:7px 11px;
    border:1px solid rgba(4, 87, 122, 0.3);
    border-radius:9px;
    background:rgb(5, 166, 252);
    color:#ffffff;
    font:inherit;
    font-size:.76rem;
    font-weight:600;
    cursor:pointer;
    transition:.2s ease;
  }
  .tech-history-btn:hover { background:rgba(2,132,199,.46);color:#fff;transform:translateY(-1px); }
  .tech-history-row td { padding:0 16px 16px !important; }
  .tech-history-content { padding:16px 18px;border:1px solid #d8e4ec;border-radius:12px;background:#ffffff; }
  .tech-history-loading,.tech-history-empty { padding:15px;text-align:center;color:#94a3b8; }
  .tech-history-timeline { display:grid;gap:10px;list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid rgba(56,189,248,.3); }
  .tech-history-timeline li { position:relative;display:grid;grid-template-columns:minmax(130px,.7fr) minmax(140px,.55fr) minmax(180px,1fr);gap:14px;align-items:center;padding:10px 12px;border-radius:10px;background:rgba(3,105,161,.12); }
  .tech-history-timeline li::before { content:'';position:absolute;left:-24px;width:10px;height:10px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.12); }
  .tech-history-timeline strong { color:#dff5ff; }.tech-history-timeline time,.tech-history-timeline span { color:#9fb8cb;font-size:.79rem; }
  @media(max-width:720px){.tech-history-timeline li{grid-template-columns:1fr;gap:4px}.modal-avatar{flex-basis:82px !important;width:82px !important}}

  .toast .toast-message,
  .toast-message {
    color: #ffffff !important;
    text-shadow: 10 10px 10px rgba(14,165,233,.12);
  }

  /* Logo zemini ve sade karşılama bildirimi */
  .login-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .login-logo-img {
    background: transparent !important;
    filter: none !important;
  }

  .role-greeting-overlay {
    background: radial-gradient(circle at center, rgba(3, 106, 161, 0.753), rgba(51, 82, 155, 0.664) 100%, transparent 100%) !important;
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
  }
  .role-greeting-card {
    min-width:0 !important;
    max-width:min(90vw,760px) !important;
    padding:20px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  .role-greeting-card::before { display:none !important; }
  .role-greeting-subtitle {
    color:#9bdcf8 !important;
    font-size:.9rem !important;
    letter-spacing:.12em !important;
    text-transform:uppercase;
    animation:greetingTextEnter .7s cubic-bezier(.22,1,.36,1) both;
  }
  .role-greeting-title {
    margin-top:12px !important;
    color:#e4f6ff !important;
    font-size:clamp(2rem,6vw,4.3rem) !important;
    text-shadow:0 0 18px rgba(56,189,248,.45),0 0 52px rgba(3,105,161,.42) !important;
    animation:greetingTextEnter .85s .08s cubic-bezier(.22,1,.36,1) both,greetingTextGlow 1.8s .9s ease-in-out infinite alternate;
  }
  .role-greeting-hint { display:none !important; }
  @keyframes greetingTextEnter {
    from { opacity:0; transform:translateY(18px) scale(.96); filter:blur(8px); }
    to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
  }
  @keyframes greetingTextGlow {
    to { text-shadow:0 0 25px rgba(56,189,248,.7),0 0 70px rgba(3,105,161,.58); }
  }

  /* Kart Başvuruları — beyaz ve açık mavi yüzey */
  .baski-theme .requests-section {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #b9e5fb;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(0, 118, 192, 0.14);
  }
  .baski-theme .requests-title { color: #231f20; }
  .baski-theme .requests-section .request-card,
  .baski-theme .requests-section .request-card:nth-child(even) {
    background: #ffffff;
    border-color: #b9e5fb;
    color: #231f20;
    box-shadow: 0 7px 18px rgba(0,118,192,.11);
  }
  .baski-theme .requests-section .request-card:hover {
    border-color: #00a4e4;
    box-shadow: 0 14px 28px rgba(0,118,192,.18);
  }
  .baski-theme .requests-section .personel-name,
  .baski-theme .requests-section .personel-title,
  .baski-theme .requests-section .request-description,
  .baski-theme .requests-section .request-time { color: #231f20; }
  .baski-theme .requests-section .request-number,
  .baski-theme .requests-section .request-type-badge { color: #0076c0; }
  .baski-theme .requests-section .refresh-btn { background: #eaf7ff; border-color: #9edcf7; color: #0076c0; }
  .baski-theme .requests-section .requests-empty { background: #eaf7ff; border-color: #9edcf7; }
  .baski-theme .requests-section .empty-text,
  .baski-theme .requests-section .requests-loading { color: #231f20; }

  .requests-list {
    max-height: min(68vh, 720px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 10px 16px 12px;
    border: 1px solid rgba(0,164,228,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.34);
    box-shadow: 0 14px 34px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
    transition: box-shadow .38s cubic-bezier(.22,1,.36,1), background-color .38s ease;
    scrollbar-width: thin;
    scrollbar-color: #00a4e4 #eaf7ff;
  }
  .filters-are-stuck .requests-list { background:rgba(239,250,255,.62); box-shadow:0 18px 42px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.9); }
  .requests-list::-webkit-scrollbar { width: 9px; }
  .requests-list::-webkit-scrollbar-track { background: #eaf7ff; border-radius: 10px; }
  .requests-list::-webkit-scrollbar-thumb { background: #00a4e4; border: 2px solid #eaf7ff; border-radius: 10px; }
  .requests-list::-webkit-scrollbar-thumb:hover { background: #0076c0; }

  @media (max-width: 760px) {
    .requests-list { max-height: 62vh; padding-right: 5px; }
  }

  .requests-toolbar {
    display: grid;
    grid-template-columns: minmax(150px, 1.25fr) minmax(135px, 1fr) minmax(115px, .75fr) minmax(115px, .75fr) minmax(145px, 1fr) minmax(180px, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #b9e5fb;
    border-left: 4px solid #00a4e4;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,118,192,.14), 0 2px 7px rgba(15,23,42,.08);
    transition: box-shadow .22s ease, border-radius .22s ease, transform .22s ease;
  }
  .requests-tool { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: #0076c0; font-size: .72rem; font-weight: 700; }
  .requests-tool input, .requests-tool select { width: 100%; height: 40px; padding: 8px 10px; background: #eaf7ff; border: 1px solid #b9e5fb; border-radius: var(--radius-sm); color: #231f20; font: inherit; outline: none; }
  .requests-tool input::placeholder { color: rgba(35,31,32,.52); }
  .requests-tool input:focus, .requests-tool select:focus { background: #fff; border-color: #00a4e4; box-shadow: 0 0 0 3px rgba(0,164,228,.16); }
  .requests-tool select option { background: #fff; color: #231f20; }
  .requests-clear-btn { height: 40px; padding: 0 14px; background: #eaf7ff; color: #0076c0; border: 1px solid #9edcf7; border-radius: var(--radius-sm); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all var(--transition-fast); }
  .requests-clear-btn:hover { background: #00a4e4; color: #fff; border-color: #00a4e4; }
  .requests-action-filter { position:relative;align-self:flex-end;height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #b9ddeb;border-radius:var(--radius-sm);background:#edf7fb;color:#075f8b;font-size:.78rem;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;user-select:none;transition:all .15s ease; }
  .requests-action-filter:hover { background:#dff1f8;border-color:#8bc8e5; }
  .requests-action-filter input { position:absolute;width:1px;height:1px;opacity:0;pointer-events:none; }
  .requests-action-filter-box { display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1.5px solid #6aaecb;border-radius:5px;color:transparent;background:#fff;font-size:.68rem;font-weight:900;transition:all .15s ease; }
  .requests-action-filter input:checked + .requests-action-filter-box { color:#fff;background:#087fb6;border-color:#087fb6; }
  .requests-action-filter:has(input:checked) { background:#e0f2fe;border-color:#7dd3fc;color:#075985; }
  .requests-action-filter:has(input:focus-visible) { outline:2px solid #0284c7;outline-offset:2px; }
  .requests-action-filter-label { line-height:1; }

  .request-dates {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding: 9px 11px;
    background: #eaf7ff;
    border: 1px solid #b9e5fb;
    border-radius: var(--radius-sm);
    color: #475569;
    font-size: .7rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .request-dates strong { color: #0076c0; font-weight: 700; }
  .request-elapsed { display: inline-flex; margin-left: 5px; padding: 3px 7px; color: #fff; border-radius: 10px; font-style: normal; font-weight: 700; }
  .request-elapsed--fresh { background: #38bdf8; color: #0c4a6e; }
  .request-elapsed--normal { background: #22c55e; color: #052e16; }
  .request-elapsed--warning { background: #facc15; color: #422006; }
  .request-elapsed--late { background: #ef4444; color: #fff; }
  .request-elapsed--critical { background: #7e22ce; color: #fff; }

  @media (max-width: 1050px) {
    .requests-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 680px) {
    .requests-toolbar { grid-template-columns: 1fr; }
    .requests-clear-btn { width: 100%; }
    .request-dates { align-items: flex-start; width: 100%; white-space: normal; }
  }

  /* İşlem geçmişi çekmecesi ve dinamik filtre başlığı */
  .requests-toolbar-placeholder { height: 0; transition: height .38s cubic-bezier(.22,1,.36,1); }
  .requests-toolbar--stuck { position: fixed !important; top: 10px; left: 24px; right: 24px; width: auto !important; max-width:calc(100vw - 48px); grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1fr) minmax(180px,1fr) minmax(76px,auto); z-index: 900; margin: 0 !important; padding: 9px 18px !important; border: 1px solid #8dd8f7 !important; border-top: 4px solid #00a4e4 !important; border-radius: 20px !important; background: rgba(255,255,255,.97) !important; box-shadow: 0 16px 38px rgba(15,23,42,.17), 0 5px 14px rgba(0,164,228,.13); backdrop-filter: blur(12px); overflow:hidden; }
  .requests-toolbar--stuck .requests-tool > span { color: #075985; font-size:.72rem; }
  .requests-toolbar--stuck .requests-tool input,.requests-toolbar--stuck .requests-tool select { min-height:36px; background:#effaff; border-color:#b9e5fb; color:#17324d; }
  .requests-toolbar--stuck .requests-tool input:focus,.requests-toolbar--stuck .requests-tool select:focus { background:#fff; border-color:#00a4e4; box-shadow:0 0 0 3px rgba(0,164,228,.12); }
  .requests-toolbar--stuck .requests-clear-btn { width:100%; max-width:100%; min-height:36px; padding-inline:10px; background:#e0f4fc; color:#0076c0; border-color:#8dd8f7; }
  .requests-toolbar--stuck .requests-clear-btn:hover { background:#0076c0; color:#fff; }
  .filters-are-stuck .dashboard-topbar { opacity:.98; }
  .requests-header { transition: opacity .32s ease, transform .32s cubic-bezier(.22,1,.36,1); }
  .filters-are-stuck .requests-header { opacity:0; transform:translateY(-8px); pointer-events:none; }
  @keyframes toolbarDrop { from { transform: translateY(-10px) scale(.985); opacity: .65; } to { transform:translateY(0) scale(1); opacity:1; } }
  .status-report-overlay { position: fixed; inset: 0; z-index: 1200; display: flex; justify-content: flex-end; }
  .status-report-backdrop { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,.42); }
  .status-report-drawer { position: relative; width: min(460px, 94vw); height: 100%; overflow: auto; background: #fff; box-shadow: -18px 0 55px rgba(15,23,42,.24); animation: reportIn .24s ease-out; }
  @keyframes reportIn { from { transform: translateX(100%); } }
  .status-report-header { display: flex; justify-content: space-between; gap: 20px; padding: 26px; color: #fff; background: #0076c0; }
  .status-report-header h2 { margin: 4px 0; }.status-report-header p,.status-report-kicker { margin: 0; opacity: .85; }.status-report-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
  .status-report-close { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: transparent; color: #fff; font-size: 1.7rem; cursor: pointer; }
  .status-report-body { padding: 26px; }.status-report-loading,.status-report-empty { padding: 32px 16px; text-align: center; color: #64748b; }
  .status-report-timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid #bae6fd; }
  .status-report-item { position: relative; padding: 0 0 26px 20px; }.status-report-item::before { content:''; position:absolute; left:-27px; top:3px; width:12px; height:12px; border-radius:50%; background:#00a4e4; box-shadow:0 0 0 5px #e0f2fe; }
  .status-report-item strong,.status-report-item time,.status-report-item p,.status-report-actor { display:block ; color: #ffffff; }.status-report-item time,.status-report-actor { margin-top:5px; color:#ffffff; font-size:.8rem; }.status-report-item p { margin:9px 0 0; color:#334155; }
  .status-report-details { display:grid; gap:7px; margin-top:11px; padding:12px; border:1px solid #d8eef9; border-radius:12px; background:#f5fbfe; }
  .status-report-detail { display:grid; grid-template-columns:110px minmax(0,1fr); gap:10px; font-size:.82rem; }.status-report-detail b { color:#075985; }.status-report-detail span { color:#334155; overflow-wrap:anywhere; }

  /* Teknik arşiv */
  .technical-container { max-width: 1450px; margin: 0 auto; padding: 24px 20px; }
  .technical-hero, .technical-panel { background: #ffffff !important; border: 1px solid #bae6fd; border-radius: 18px; box-shadow: 0 12px 35px rgba(0, 118, 192, 0.12); color: #1e293b !important; }
  .technical-hero { display: flex; justify-content: space-between; align-items: center; padding: 25px 28px; margin-bottom: 18px; }
  .technical-hero h1 { margin: 4px 0; color: #0f4c6e !important; font-size: 1.75rem; font-weight: 700; }
  .technical-hero p { margin: 0; color: #64748b !important; font-size: 0.95rem; }
  .technical-kicker { color: #0076c0 !important; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
  .technical-panel { padding: 24px; }
  .technical-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
  .technical-tool-group { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 280px; }
  .technical-action-group { display: flex; align-items: center; gap: 10px; }
  .technical-tools input[type="search"], .technical-tools select { min-height: 44px; padding: 0 14px; border: 1px solid #bae6fd; border-radius: 10px; background: #f8fdff; color: #0f172a !important; font-size: 0.9rem; outline: none; }
  .technical-tools input[type="search"] { flex: 1; min-width: 200px; }
  .technical-tools select { min-width: 180px; }
  .technical-table-wrap { width: 100%; overflow-x: auto; border-radius: 12px; border: 1px solid #e2e8f0; background: #ffffff !important; display: block !important; }
  .technical-table { width: 100%; border-collapse: collapse; text-align: left; background: #ffffff !important; color: #1e293b !important; font-size: 0.9rem; }
  .technical-table th { background: #f0f9ff !important; color: #0369a1 !important; font-weight: 700; font-size: 0.825rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 14px 16px; border-bottom: 2px solid #bae6fd; white-space: nowrap; }
  .technical-table td { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; color: #1e293b !important; white-space: nowrap; font-size: 0.875rem; vertical-align: middle; }
  .technical-table tbody tr { background: #ffffff !important; }
  .technical-table tbody tr:hover { background-color: #f8fafc !important; }
  .status-badge--completed { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background-color: #dcfce7 !important; color: #15803d !important; border: 1px solid #86efac !important; }
  .technical-state, .technical-empty { padding: 48px 24px; text-align: center; color: #475569 !important; font-size: 0.95rem; }
  @media print { .dashboard-topbar, .technical-tools, .bg-animation, .bg-grid { display: none !important; } .technical-hero, .technical-panel { box-shadow: none; border: 0; } .dashboard-container { max-width: none; padding: 0; } }

  /* Saat ve ünvana göre tam ekran beyaz karşılama */
  .role-greeting-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #ffffff;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.25s ease;
  }
  .role-greeting-overlay--visible {
    opacity: 1;
  }
  .role-greeting-card {
    position: relative;
    text-align: center;
    max-width: 520px;
    padding: 40px 32px;
    background: transparent;
    user-select: none;
  }
  .role-greeting-subtitle {
    display: block;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  .role-greeting-title {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
  }
  .role-greeting-hint {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  /* ==========================================================================
    GLOBAL TECHNICAL ARCHIVE V2 STYLING FOR ALL PAGES
    ========================================================================== */
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #0f172a !important;
    min-height: 100vh;
  }

  .bg-animation { background: transparent !important; }

  .dashboard-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 24px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
  }

  .topbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
  }

  .topbar-logo {
    width: 38px !important;
    height: 38px !important;
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25) !important;
  }

  .brand-logo-img {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1) !important;
  }

  .topbar-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .topbar-user-chip {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 6px 16px 6px 8px !important;
    background: #f1f5f9 !important;
    border-radius: 30px !important;
    border: 1px solid #e2e8f0 !important;
  }

  .topbar-user-avatar {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
  }

  .topbar-user-avatar::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 9px !important;
    height: 9px !important;
    background-color: #22c55e !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4) !important;
  }

  .topbar-user-details {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1.25 !important;
  }

  .topbar-user-name {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
  }

  .topbar-user-title {
    color: #64748b !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
  }

  .profile-page-btn, .logout-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
  }

  .profile-page-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
  }

  .profile-page-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }

  .logout-btn {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: 1px solid #fee2e2 !important;
  }

  .logout-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
  }

  /* Form and Card Sections */
  .new-application-section, .requests-section, .profile-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
  }

  /* Toolbars and Filters */
  .requests-toolbar {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
  }

  .form-input, .form-select, .form-textarea, .requests-select, .requests-date-input, .profile-input {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    outline: none !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
  }

  .form-input:focus, .form-select:focus, .form-textarea:focus, .requests-select:focus, .profile-input:focus {
    background: #ffffff !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
  }

  /* Request Cards */
  .request-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    transition: all 0.2s ease !important;
  }

  .request-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.1) !important;
    border-color: #bae6fd !important;
  }

  /* Action Buttons */
  .action-btn--primary, .submit-btn {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25) !important;
    font-weight: 600 !important;
  }

  .action-btn--secondary, .requests-clear-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
  }

  .action-btn--reject {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-radius: 10px !important;
    border: 1px solid #fee2e2 !important;
    font-weight: 600 !important;
  }

  /* ==========================================================================
    TECHNICAL ARCHIVE V2 DESIGN SYSTEM (.tech-*)
    ========================================================================== */
  .tech-archive-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    margin: 0;
  }

  .tech-bg-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .tech-layout {
    position: relative;
    z-index: 1;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 16px 24px 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tech-navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 24px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .tech-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .tech-brand-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
  }

  .tech-logo-img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
  }

  .tech-brand-text {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .tech-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
  }

  .tech-brand-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #e0f2fe;
    color: #0284c7;
    padding: 2px 8px;
    border-radius: 6px;
  }

  .tech-user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 8px;
    background: #f1f5f9;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    max-width: 320px;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .tech-user-chip:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateX(-50%) translateY(-1px);
  }

  .tech-user-details { min-width: 0; }
  .tech-user-name,.tech-user-role { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

  .app-version-badge {
    position: fixed;
    right: 14px;
    bottom: 12px;
    z-index: 1700;
    padding: 6px 10px;
    border: 1px solid #d8e4ec;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #52697a;
    box-shadow: 0 8px 22px rgba(29,65,89,.12);
    backdrop-filter: blur(9px);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    pointer-events: none;
  }

  @media (max-width: 980px) {
    .tech-user-chip { position: static; transform: none; min-width: 0; max-width: 240px; }
  }

  @media (max-width: 720px) {
    .tech-navbar { flex-wrap: wrap !important; gap: 10px; }
    .tech-user-chip { order: 3; width: 100%; max-width: none; }
    .app-version-badge { right: 8px; bottom: 8px; }
  }

  .tech-avatar-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
  }

  .tech-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
  }

  .tech-user-details {
    display: flex;
    flex-direction: column;
  }

  .tech-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
  }

  .tech-user-role {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
  }

  .tech-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .tech-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
  }

  .tech-nav-btn--ghost {
    background: transparent;
    color: #475569;
  }

  .tech-nav-btn--ghost:hover {
    background: #f1f5f9;
    color: #0f172a;
  }

  .tech-nav-btn--danger {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
  }

  .tech-nav-btn--danger:hover {
    background: #fee2e2;
    color: #dc2626;
  }

  .tech-hero-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    background-color: #ffffff;
    padding: 32px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.15);
    margin-bottom: 24px;
  }

  .tech-kicker-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 12px;
  }

  .tech-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }

  .tech-hero-subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 0.92rem;
    max-width: 620px;
    line-height: 1.5;
  }

  .tech-stats-grid {
    display: flex;
    gap: 16px;
  }

  .tech-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    min-width: 170px;
  }

  .tech-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tech-stat-info {
    display: flex;
    flex-direction: column;
  }

  .tech-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
  }

  .tech-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
  }

  .tech-card-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.04);
  }

  .tech-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
  }

  .tech-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 300px;
  }

  .tech-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
  }

  .tech-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
  }

  .tech-search-box input[type="search"] {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }

  .tech-search-box input[type="search"]:focus {
    background: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  }

  .tech-select-wrapper select {
    height: 44px;
    padding: 0 36px 0 14px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.2s ease;
  }

  .tech-select-wrapper select:focus {
    background-color: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  }

  .tech-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .tech-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
  }

  .tech-btn--excel {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
  }

  .tech-btn--excel:hover {
    background: #dcfce7;
    color: #14532d;
  }

  .tech-btn--print {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
  }

  .tech-btn--print:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  .tech-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 24px;
    text-align: center;
  }

  .tech-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: techSpin 0.8s linear infinite;
  }

  @keyframes techSpin {
    to { transform: rotate(360deg); }
  }

  .tech-state-text {
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
  }

  .tech-state-error {
    color: #ef4444;
    font-weight: 600;
  }

  .tech-table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
  }

  .tech-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
    background: #ffffff;
  }

  .tech-data-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
  }

  .tech-table-row {
    transition: background-color 0.15s ease;
  }

  .tech-table-row:hover {
    background-color: #f1f5f9;
  }

  .tech-data-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
    white-space: nowrap;
  }

  .tech-data-table tbody tr:last-child td {
    border-bottom: none;
  }

  .tech-id-badge {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 6px;
  }

  .tech-person-cell {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .tech-person-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .tech-person-name {
    font-weight: 600;
    color: #0f172a;
  }

  .tech-type-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.82rem;
  }

  .tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .tech-badge--success {
    background: #dcfce7;
    color: #15803d;
  }

  .tech-badge--danger {
    background: #fee2e2;
    color: #b91c1c;
  }

  .tech-desc-text {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #475569;
  }

  .tech-date-text {
    color: #64748b;
    font-size: 0.84rem;
  }

  .tech-date-text--highlight {
    color: #0ea5e9;
    font-weight: 500;
  }

  .tech-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #94a3b8;
    font-size: 0.92rem;
  }

  @media (max-width: 900px) {
    .tech-hero-section {
      grid-template-columns: 1fr;
    }
    .tech-stats-grid {
      width: 100%;
    }
    .tech-stat-card {
      flex: 1;
    }
  }

  @media(max-width:560px){
    .modal-grid{grid-template-columns:1fr !important}
    .modal-grid-item{padding:10px 12px !important}
  }

  .tech-filter-group { flex-wrap:wrap; }
  .tech-select-wrapper { flex:0 1 auto; min-width:180px; }
  .tech-select-wrapper select { width:100%; }
  #technicalSort { min-width:230px; }

  @media (max-width: 900px) {
    .tech-filter-group { min-width:0; width:100%; }
    .tech-search-box { flex:1 1 100%; }
    .tech-select-wrapper { flex:1 1 220px; }
    #technicalSort { min-width:0; }
  }

  /* Teknik arşiv yazdırma/PDF raporu */
  .tech-print-header { display: none; }

  @page {
    size: A4 landscape;
    margin: 12mm;
  }

  @media print {
    * { print-color-adjust: exact !important; -webkit-print-color-adjust: exact !important; }
    html, body, .tech-archive-body { background: #fff !important; color: #172033 !important; }
    body { margin: 0 !important; font-family: Arial, Helvetica, sans-serif !important; }

    .tech-bg-glow,
    .bg-grid,
    .tech-navbar,
    .tech-hero-section,
    .tech-toolbar,
    .tech-state-box,
    .tech-history-column,
    .tech-history-row { display: none !important; }

    .tech-layout,
    .tech-main-container,
    .tech-card-panel,
    .tech-table-responsive {
      display: block !important;
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: visible !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: #fff !important;
      box-shadow: none !important;
    }

    .tech-print-header {
      display: flex !important;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin: 0 0 8mm;
      padding: 0 0 5mm;
      border-bottom: 2px solid #087eb8;
    }
    .tech-print-brand { margin: 0 0 2mm; color: #087eb8 !important; font-size: 9pt; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .tech-print-header h1 { margin: 0 0 1.5mm; color: #172033 !important; font-size: 19pt; line-height: 1.15; }
    .tech-print-header p { margin: 0; color: #526075 !important; font-size: 9pt; }
    .tech-print-meta { display: grid; gap: 1.5mm; min-width: 45mm; color: #526075 !important; font-size: 8.5pt; text-align: right; }
    .tech-print-meta span { color: #172033 !important; font-size: 11pt; font-weight: 700; }

    .tech-data-table { width: 100% !important; table-layout: fixed; border-collapse: collapse !important; background: #fff !important; color: #172033 !important; font-size: 7.5pt !important; }
    .tech-data-table thead { display: table-header-group; }
    .tech-data-table tr { break-inside: avoid; page-break-inside: avoid; background: #fff !important; }
    .tech-data-table th {
      padding: 3mm 2mm !important;
      border: 1px solid #9fb4c5 !important;
      background: #e8f3f8 !important;
      color: #17394d !important;
      font-size: 7pt !important;
      letter-spacing: .02em !important;
      white-space: normal !important;
    }
    .tech-data-table td {
      padding: 2.5mm 2mm !important;
      border: 1px solid #ccd7df !important;
      background: #fff !important;
      color: #172033 !important;
      white-space: normal !important;
      overflow-wrap: anywhere;
      vertical-align: top !important;
    }
    .tech-data-table th:nth-child(1) { width: 7%; }
    .tech-data-table th:nth-child(2) { width: 16%; }
    .tech-data-table th:nth-child(3) { width: 13%; }
    .tech-data-table th:nth-child(4) { width: 12%; }
    .tech-data-table th:nth-child(5) { width: 24%; }
    .tech-data-table th:nth-child(6),
    .tech-data-table th:nth-child(7) { width: 14%; }

    .tech-person-cell { display: block !important; }
    .tech-person-avatar { display: none !important; }
    .tech-person-name,
    .tech-desc-text,
    .tech-date-text,
    .tech-date-text--highlight { color: #172033 !important; font-size: inherit !important; white-space: normal !important; }
    .tech-id-badge,
    .tech-type-pill,
    .tech-badge {
      display: inline !important;
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      color: #172033 !important;
      font-size: inherit !important;
      white-space: normal !important;
    }
    .tech-badge svg { display: none !important; }
  }

  @media (max-width: 760px) {
    .requests-section { padding: 12px !important; }
    .request-card { padding: 13px !important; }
    .request-card-top { align-items: flex-start !important; }
  }

  /* Başvuru detay penceresi — açık kurumsal görünüm */
  @media screen {
    .modal-card {
      overflow: hidden !important;
      background: #fff !important;
      color: #20394b !important;
      border-color: #d8e4ec !important;
      box-shadow: 0 18px 42px rgba(29,65,89,.16) !important;
    }
    .modal-header {
      background: #fff !important;
      border-bottom: 1px solid #d8e4ec !important;
    }
    .modal-title { color: #18364b !important; }
    .modal-body {
      background: #f4f8fb !important;
      color: #20394b !important;
    }
    .modal-personel-header {
      padding: 16px !important;
      background: #fff !important;
      border: 1px solid #d6e3eb !important;
      border-radius: 14px !important;
      box-shadow: 0 4px 12px rgba(29,65,89,.05) !important;
    }
    .modal-avatar {
      background: #e7f4fa !important;
      border-color: #8ecce4 !important;
      color: #075985 !important;
      box-shadow: none !important;
    }
    .modal-fullname { color: #18364b !important; }
    .modal-title-desc { color: #607386 !important; }
    .modal-grid { gap: 12px !important; }
    .modal-grid-item {
      background: #fff !important;
      border: 1px solid #d6e3eb !important;
      box-shadow: 0 3px 9px rgba(29,65,89,.04) !important;
    }
    .modal-grid-label { color: #5b7183 !important; }
    .modal-grid-value { color: #203f54 !important; }
    .modal-description-section {
      background: #fff !important;
      border: 1px solid #d6e3eb !important;
      box-shadow: 0 4px 12px rgba(29,65,89,.05) !important;
    }
    .modal-description-input {
      background: #fbfdfe !important;
      color: #263b4c !important;
      border-color: #c8d9e3 !important;
    }
    .modal-description-input:focus {
      background: #fff !important;
      border-color: #0284c7 !important;
      box-shadow: 0 0 0 3px rgba(2,132,199,.12) !important;
    }
    .modal-footer {
      background: #fff !important;
      border-top: 1px solid #d8e4ec !important;
    }
    .modal-close-btn { color: #247ba2 !important; }
    .modal-close-btn:hover { color: #075985 !important; background: #e5f4fb !important; }
  }

  /* ==========================================================================
    CORPORATE LIGHT THEME — uygulamanın tüm ekranları
    ========================================================================== */
  @media screen {
    :root {
      --midnight-text: #172033;
      --midnight-muted: #64748b;
      --midnight-border: #d8e4ec;
      --bg-primary: #f3f7fa;
      --bg-secondary: #fff;
      --text-primary: #172033;
      --text-secondary: #41536a;
    }

    body,
    .tech-archive-body {
      background: linear-gradient(145deg,#f7fafc 0%,#edf4f8 58%,#e3f0f7 100%) fixed !important;
      color: #172033 !important;
    }
    .bg-animation { background: transparent !important; }
    .bg-grid {
      opacity: .5;
      background-image: linear-gradient(rgba(2,132,199,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(2,132,199,.035) 1px,transparent 1px) !important;
    }
    .tech-bg-glow { opacity: .12 !important; }

    

    .welcome-card-horizontal,
    .new-application-section,
    .requests-section,
    .request-card,
    .profile-card,
    .modal-card,
    .confirm-card,
    .status-report-drawer,
    .technical-hero,
    .technical-panel,
    .tech-card-panel,
    .tech-hero-section {
      background-color: #ffffff !important;
      color: #172033 !important;
      border-color: #2493ef !important;
      box-shadow: 0 12px 32px rgba(29,65,89,.09),inset 0 1px 0 #fff !important;
    }
    .request-card:hover,
    .profile-card:hover,
    .tech-card-panel:hover { border-color:#8bc8e5 !important;box-shadow:0 16px 34px rgba(29,65,89,.13) !important; }

    .login-title{
      color:#0369a1 !important;
    }
    .new-app-title,.requests-title,.personel-name,
    .profile-page-header h1,.profile-section-heading h2,.modal-title,
    .confirm-title,.technical-hero h1,.technical-panel h2,.tech-panel-title,
    .tech-hero-title,.tech-person-name,.welcome-greeting-compact { color:#18364b !important; }
    .login-subtitle{
      color:#0369a1 !important;
    }
    .new-app-subtitle,.personel-title,.request-description,
    .profile-page-header p,.profile-section-heading p,.modal-grid-label,
    .confirm-message,.technical-hero p,.tech-hero-subtitle,.tech-state-text,
    .tech-desc-text,.tech-date-text,.welcome-message-compact { color:#607386 !important; }

    .dashboard-topbar,.tech-navbar {
      background:rgba(255,255,255,.97) !important;color:#18364b !important;
      border-color:#d8e4ec !important;box-shadow:0 4px 18px rgba(29,65,89,.08) !important;
    }
    .tech-brand-name,.topbar-brand-title,.tech-user-name,.topbar-user-name { color:#18364b !important; }
    .tech-user-role,.topbar-user-title { color:#6b7f90 !important; }
    .tech-user-chip,.topbar-user-chip { background:#f5f9fc !important;border-color:#22c55e !important; }
    .tech-brand-badge,.tech-kicker-tag { background:#e5f4fb !important;color:#0369a1 !important; }

    .requests-toolbar,.requests-toolbar--stuck,.requests-list,
    .filters-are-stuck .requests-list,.technical-tools,.tech-toolbar {
      background:rgba(248,251,253,.98) !important;border-color:#d8e4ec !important;
      box-shadow:0 8px 20px rgba(29,65,89,.06) !important;
    }
    .requests-list { background:#f4f8fb !important;border:1px solid #d6e3eb !important; }

    .form-input,.form-select,.form-textarea,.requests-tool input,.requests-tool select,
    .requests-select,.requests-date-input,.profile-input,.modal-description-input,
    .technical-tools input,.technical-tools select,.tech-search-box input[type="search"],
    .tech-select-wrapper select,.reset-standalone-input,.login-card .form-input {
      color-scheme:light;background:#fff !important;color:#172033 !important;border-color:#cbdbe5 !important;
    }
    .form-input::placeholder,.form-textarea::placeholder,.requests-tool input::placeholder,
    .technical-tools input::placeholder,.tech-search-box input::placeholder { color:#8a9aaa !important; }
    .form-input:focus,.form-select:focus,.form-textarea:focus,.requests-tool input:focus,
    .requests-tool select:focus,.profile-input:focus,.modal-description-input:focus,
    .technical-tools input:focus,.technical-tools select:focus,
    .tech-search-box input[type="search"]:focus,.tech-select-wrapper select:focus {
      background:#fff !important;border-color:#0284c7 !important;box-shadow:0 0 0 3px rgba(2,132,199,.12) !important;
    }
    select option { background:#fff !important;color:#172033 !important; }
    .requests-tool > span,.form-label,.profile-info-item span { color:#0369a1 !important; }
    .input-icon,.password-toggle { color:#2786b4 !important; }

    .profile-info-item,.modal-grid-item,.modal-description-section,
    .request-dates,.status-report-details,.tech-stat-card {
      background:#f6fafc !important;border-color:#dbe7ee !important;
    }
    .profile-info-item strong,.modal-grid-value,.status-report-detail span,.tech-stat-value { color:#213d50 !important; }
    .tech-stat-label { color:#64748b !important; }

    .requests-clear-btn,.action-btn--secondary,.new-app-toggle-btn,.refresh-btn,.tech-nav-btn--ghost,.profile-page-btn {
      background:#edf7fb !important;color:#075f8b !important;border-color:#b9ddeb !important;
    }

    .tech-btn--excel{
      background:#fefffe69 !important;color:#0f80f9 !important;border-color:#b9ddeb !important;
    }

    .requests-clear-btn:hover,.action-btn--secondary:hover,.new-app-toggle-btn:hover,
    .refresh-btn:hover,.tech-nav-btn--ghost:hover,.profile-page-btn:hover {
      background:#dff1f8 !important;color:#034e74 !important;
    }
    .tech-btn--excel:hover{
      background:#fefffe69 !important;color:#26ff01 !important;
    }
    .tech-nav-btn--danger,.logout-btn { background:#fff1f2 !important;color:#be123c !important;border-color:#fecdd3 !important; }
    .tech-nav-btn--danger:hover,.logout-btn:hover { background:#ffe4e6 !important;color:#9f1239 !important; }

    .requests-empty,.requests-loading,.technical-state,.tech-state-box,.tech-empty-state {
      background:#f8fbfd !important;color:#64748b !important;border-color:#d8e4ec !important;
    }
    .modal-header,.status-report-header { background-color: #ffffff !important;border-color:#d8e4ec !important; }
    .modal-footer { background:#fff !important;border-color:#d8e4ec !important; }
    .confirm-footer { background:linear-gradient(180deg,#f8fbfd,#edf5f9) !important;border-color:#d8e4ec !important; }
    .confirm-overlay,.modal-overlay { background:rgba(30,50,66,.28) !important; }
    .toast { background:#008dffcf !important;color:#243b4b !important;border-color:#d8e4ec !important;box-shadow:0 12px 30px rgba(29,65,89,.14) !important; }

    .technical-table-wrap,.technical-table,.technical-table tbody tr,
    .tech-table-responsive,.tech-data-table,.tech-table-row {
      background:#fff !important;color:#243b4b !important;border-color:#d8e4ec !important;
    }
    .technical-table th,.tech-data-table th { background:#edf6fa !important;color:#185d7c !important;border-color:#cfe0e9 !important; }
    .technical-table td,.tech-data-table td { color:#344b5d !important;border-color:#e1e9ee !important; }
    .technical-table tbody tr:hover,.tech-table-row:hover { background:#f4f9fc !important; }
    .tech-date-text--highlight { color:#0277ad !important; }
    .tech-person-avatar { background:#dff2f9 !important;color:#075f8b !important;border-color:#acd8e8 !important; }
    .tech-type-pill,.tech-id-badge { background:#e9f6fb !important;color:#075f8b !important;border-color:#b9ddeb !important; }
    .tech-history-row td { background:#f7fafc !important; }
    .tech-history-content { background:#fff !important;border-color:#d8e4ec !important; }
    .tech-history-timeline li { background:#f1f8fb !important; }
    .tech-history-timeline strong { color:#18364b !important; }
    .tech-history-timeline time,.tech-history-timeline span { color:#607386 !important; }

    .request-card,.baski-theme .requests-section .request-card,
    .baski-theme .requests-section .request-card:nth-child(even) {
      background:#fff !important;color:#20394b !important;border:1px solid #cfdee7 !important;
      box-shadow:0 5px 14px rgba(29,65,89,.07) !important;
    }
    .request-card:hover,.baski-theme .requests-section .request-card:hover {
      border-color:#79bddc !important;box-shadow:0 10px 22px rgba(29,65,89,.12) !important;
    }
    .personel-avatar { font-weight:800 !important; }
    .request-number { background:#e5f4fb !important;color:#28799e !important;border-color:#a9d6e8 !important; }
    .request-number small { color:#28799e !important; }
    .request-type-badge { color:#0878ad !important;font-weight:700 !important; }
    .status-badge { opacity:1 !important;font-weight:700 !important;box-shadow:0 3px 8px rgba(29,65,89,.10) !important; }
    .request-description {
      background:#f1f6f9 !important;color:#425a6c !important;border:1px solid #dce7ed !important;
      border-left:4px solid #2495c4 !important;
    }
    .request-dates { background:#f5f9fb !important;color:#425a6c !important;border-color:#d6e3eb !important; }
    .request-dates strong { color:#17698f !important; }
    .request-elapsed--fresh { background:#dff3fb !important;color:#075985 !important;border-color:#9ed8eb !important; }
    .request-elapsed--normal { background:#dcfce7 !important;color:#166534 !important;border-color:#86efac !important; }
    .request-elapsed--warning { background:#fef9c3 !important;color:#854d0e !important;border-color:#fde047 !important; }
    .request-elapsed--late { background:#ffedd5 !important;color:#9a3412 !important;border-color:#fdba74 !important; }
    .request-elapsed--critical { background:#ffe4e6 !important;color:#9f1239 !important;border-color:#fda4af !important; }
    .request-card-actions { border-color:#dce7ed !important; }
  }
