﻿    /* Solda Açılan Alt Menüler */
    .submenu-wrapper {
      position: relative;
      width: 100%;
    }
    .submenu-arrow-left {
      width: 15px !important;
      height: 15px !important;
      margin-right: -2px;
      transition: transform 0.18s ease;
    }
    .submenu-wrapper:hover .submenu-arrow-left,
    .submenu-wrapper.sub-open .submenu-arrow-left {
      transform: translateX(-3px);
    }
    .submenu-left {
      position: absolute;
      top: -8px;
      right: calc(100% + 10px);
      width: 205px;
      background: rgba(15, 23, 42, 0.98);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(56, 189, 248, 0.45);
      border-radius: 14px;
      padding: 8px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
      opacity: 0;
      visibility: hidden;
      transform: translateX(8px);
      transition: all 0.18s ease;
      z-index: 2100;
    }
    .submenu-left::after {
      content: "";
      position: absolute;
      top: 0;
      right: -14px;
      width: 14px;
      height: 100%;
    }
    .submenu-wrapper:hover > .submenu-left:not(.ders-saatleri-panel):not(.sifre-degistir-panel):not(.kurum-bilgileri-panel):not(.hesap-bilgileri-panel):not(.logo-panel):not(.profil-resmi-panel),
    .submenu-wrapper.sub-open > .submenu-left {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    /* Hesap Bilgileri Paneli */
    .hesap-bilgileri-panel {
      top: -46px;
      width: 720px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .hesap-field {
      margin-bottom: 12px;
    }
    .hesap-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 5px;
    }
    .hesap-input-gray {
      width: 100%;
      height: 38px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #e9ecef;
      outline: none;
    }
    .hesap-input-gray:focus {
      border-color: #0284c7;
      background: #f8fafc;
    }
    .hesap-select {
      width: 100%;
      height: 38px;
      padding: 6px 12px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      cursor: pointer;
    }
    .hesap-select:disabled {
      color: #64748b;
      background: #f8fafc;
      border-color: #cbd5e1;
      cursor: not-allowed;
    }
    .hesap-subtext {
      font-size: 12.5px;
      color: #334155;
      margin-bottom: 8px;
    }
    .brans-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
    }
    .brans-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #0d4a63;
      color: #ffffff;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 500;
    }
    .brans-tag-remove {
      background: transparent;
      border: none;
      color: #ffffff;
      font-size: 14px;
      line-height: 1;
      cursor: pointer;
      padding: 0;
      opacity: 0.85;
    }
    .brans-tag-remove:hover {
      opacity: 1;
    }
    .brans-add-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .brans-input {
      flex: 1;
      height: 38px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
    }
    .brans-input::placeholder {
      color: #64748b;
    }
    .brans-input:focus {
      border-color: #0284c7;
    }
    .brans-ekle-btn {
      width: 96px;
      height: 36px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #94a3b8;
      border-radius: 2px;
      font-size: 13.5px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.15s;
    }
    .brans-ekle-btn:hover {
      background: #f1f5f9;
    }
    .hesap-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }
    .hesap-kaydet-btn {
      width: 96px;
      height: 36px;
      background: #1d64f2;
      color: #ffffff;
      border: none;
      border-radius: 2px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
    }
    .hesap-kaydet-btn:hover {
      background: #1550cc;
    }

    /* Kurum Bilgileri Paneli */
    .kurum-bilgileri-panel {
      top: -86px;
      width: 580px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .kurum-field {
      margin-bottom: 14px;
    }
    .kurum-field:last-child {
      margin-bottom: 0;
    }
    .kurum-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .kurum-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 6px;
    }
    .kurum-label-row .kurum-label {
      margin-bottom: 0;
    }
    .kurum-add-btn {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      border: none;
      background: #0d4a63;
      color: #ffffff;
      font-size: 18px;
      font-weight: 500;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.15s;
    }
    .kurum-add-btn:hover {
      background: #083547;
    }
    .kurum-input {
      width: 100%;
      height: 40px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14.5px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .kurum-input::placeholder {
      color: #64748b;
    }
    .kurum-input:focus {
      border-color: #0284c7;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .mudur-yardimcilari-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .mudur-yardimcisi-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .mudur-yardimcisi-row .kurum-input {
      flex: 1;
    }
    .kurum-sil-btn {
      height: 40px;
      padding: 0 16px;
      background: #dc2626;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 0.15s;
    }
    .kurum-sil-btn:hover {
      background: #b91c1c;
    }

    
    /* Logo Paneli (Profil -> Dikine A4 Sayfası 4 Köşe Logo & Filigran) */
    .logo-panel {
      top: -150px;
      width: 580px;
      max-height: 86vh;
      overflow-y: auto;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 16px 20px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .logo-panel-ust-bar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }
    .logo-panel-baslik {
      font-size: 15.5px;
      font-weight: 800;
      color: #0b4f6c;
      margin: 0 0 3px 0;
    }
    .logo-panel-aciklama {
      font-size: 12px;
      color: #475569;
      line-height: 1.35;
      margin: 0;
    }
    .filigran-toggle-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 34px;
      padding: 0 13px;
      border-radius: 8px;
      border: 1.5px solid #0284c7;
      background: #e0f2fe;
      color: #073b54;
      font-size: 12.5px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.18s ease;
      flex-shrink: 0;
    }
    .filigran-toggle-btn:hover,
    .filigran-toggle-btn.aktif {
      background: linear-gradient(135deg, #0b4f6c 0%, #073b54 100%);
      color: #ffffff;
      border-color: #0b4f6c;
      box-shadow: 0 4px 12px rgba(11, 79, 108, 0.3);
    }
    .filigran-toggle-btn svg {
      width: 15px;
      height: 15px;
      color: currentColor !important;
    }
    .logo-filigran-panel {
      display: none;
      background: #f1f5f9;
      border: 1px solid #94a3b8;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 12px;
    }
    .logo-filigran-panel.open {
      display: block;
    }
    .filigran-tur-satir {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .filigran-tur-etiket {
      font-size: 12px;
      font-weight: 800;
      color: #0b4f6c;
    }
    .filigran-tur-btn {
      height: 28px;
      padding: 0 11px;
      border-radius: 6px;
      border: 1px solid #94a3b8;
      background: #ffffff;
      color: #0f172a;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .filigran-tur-btn.aktif {
      background: #0b4f6c;
      color: #ffffff;
      border-color: #073b54;
    }
    .filigran-ayar-satir {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .filigran-input {
      flex: 1;
      min-width: 180px;
      height: 30px;
      padding: 4px 10px;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      font-size: 12.5px;
      color: #0f172a;
      background: #ffffff;
    }
    .filigran-slider-grup {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 700;
      color: #334155;
    }
    .filigran-slider-grup input[type="range"] {
      width: 85px;
      accent-color: #0b4f6c;
    }
    /* Dikine (Portrait) A4 Sayfası Önizleme ve 4 Köşe Logo Alanı */
    .logo-a4-sahne {
      display: flex;
      justify-content: center;
      padding: 10px 6px;
      background: #e2e8f0;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      margin-bottom: 10px;
    }
    .logo-a4-dikine-sayfa {
      position: relative;
      width: 340px;
      height: 481px; /* 210:297 dikine A4 oranı */
      background: #ffffff;
      border: 1px solid #94a3b8;
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      font-family: "Times New Roman", Times, serif;
      color: #000000;
    }
    .logo-a4-ust-satir,
    .logo-a4-alt-satir {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 6px;
    }
    .logo-a4-alt-satir {
      align-items: flex-end;
    }
    .a4-kose-kutu {
      width: 96px;
      background: rgba(248, 250, 252, 0.94);
      border: 1.5px dashed #0284c7;
      border-radius: 8px;
      padding: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    }
    .a4-kose-etiket {
      font-family: "Times New Roman", Times, serif;
      font-size: 10px;
      font-weight: 800;
      color: #0b4f6c;
      text-transform: uppercase;
      letter-spacing: 0.2px;
    }
    .a4-kose-onizleme {
      width: 52px;
      height: 52px;
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .a4-kose-onizleme img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      display: block;
    }
    .a4-kose-bos {
      font-family: "Times New Roman", Times, serif;
      font-size: 9.5px;
      color: #64748b;
      font-weight: 700;
      text-align: center;
    }
    .a4-kose-butonlar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 3px;
      width: 100%;
    }
    .a4-kose-btn {
      font-family: "Times New Roman", Times, serif;
      height: 21px;
      padding: 0 6px;
      border-radius: 4px;
      border: 1px solid #94a3b8;
      background: #ffffff;
      color: #0f172a;
      font-size: 9.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.14s ease;
    }
    .a4-kose-btn.ekle {
      background: #0b4f6c;
      border-color: #073b54;
      color: #ffffff;
    }
    .a4-kose-btn.ekle:hover {
      background: #0284c7;
    }
    .a4-kose-btn.sil {
      color: #dc2626;
      border-color: #fca5a5;
    }
    .a4-kose-btn.sil:hover {
      background: #fee2e2;
    }
    .logo-a4-antet-orta {
      flex: 1;
      text-align: center;
      font-size: 9px;
      line-height: 1.25;
      padding-top: 6px;
      color: #0f172a;
    }
    .logo-a4-antet-orta strong {
      display: block;
      font-weight: 700;
      text-transform: uppercase;
    }
    .logo-a4-govde-sim {
      position: relative;
      z-index: 2;
      flex: 1;
      margin: 10px 8px;
      border-top: 1px solid #cbd5e1;
      border-bottom: 1px solid #cbd5e1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 7px;
      padding: 10px 6px;
      pointer-events: none;
    }
    .logo-a4-cizgi {
      height: 5px;
      border-radius: 3px;
      background: rgba(148, 163, 184, 0.24);
    }
    .logo-a4-filigran-onizleme {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      overflow: hidden;
    }
    .logo-a4-filigran-metin {
      transform: rotate(-32deg);
      font-family: "Times New Roman", Times, serif;
      font-weight: 800;
      color: #0f172a;
      text-align: center;
      white-space: nowrap;
      user-select: none;
      letter-spacing: 2px;
    }
    .logo-a4-filigran-onizleme img {
      object-fit: contain;
      max-width: 85%;
      max-height: 85%;
    }

    /* Belgelerde (Önizleme & Baskı) 4 Köşe Alt Logolar ve Filigran Katmanı */
    .ko-baski-sayfa,
    .mit-sayfa,
    .sd-baski-sayfa {
      position: relative;
    }
    .baski-filigran-katman {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    .baski-filigran-katman .bf-metin {
      transform: rotate(-30deg);
      font-family: "Times New Roman", Times, serif;
      font-weight: 800;
      color: #000000;
      text-align: center;
      white-space: nowrap;
      letter-spacing: 2px;
    }
    .baski-filigran-katman img {
      object-fit: contain;
    }
    .baski-alt-kose-logolar {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-top: 6px;
      padding-top: 2px;
      min-height: 2.0cm;
      position: relative;
      z-index: 2;
      pointer-events: none;
    }
    .baski-alt-kose-logolar img {
      width: 2.0cm;
      height: 2.0cm;
      object-fit: contain;
      display: block;
    }

    /* Şifre Değiştir Paneli */
    .sifre-degistir-panel {
      top: -128px;
      width: 560px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .sifre-field {
      margin-bottom: 14px;
    }
    .sifre-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 6px;
    }
    .sifre-input-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }
    .sifre-input {
      width: 100%;
      height: 40px;
      padding: 6px 40px 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14.5px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    }
    .sifre-input:focus {
      border-color: #0284c7;
      background: #f0f7ff;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .sifre-input::-ms-reveal,
    .sifre-input::-ms-clear {
      display: none;
    }
    .sifre-eye-btn {
      position: absolute;
      right: 10px;
      background: transparent;
      border: none;
      padding: 4px;
      cursor: pointer;
      color: #1e3a5f;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      opacity: 0.8;
      transition: opacity 0.15s;
    }
    .sifre-eye-btn:hover {
      opacity: 1;
    }
    .sifre-eye-btn svg {
      width: 19px;
      height: 19px;
      pointer-events: none;
    }
    .sifre-eye-btn.showing {
      color: #0284c7;
      opacity: 1;
    }
    .sifre-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 16px;
    }
    .sifre-submit-btn {
      background: #1d64f2;
      color: #ffffff;
      border: none;
      border-radius: 4px;
      padding: 9px 18px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
    }
    .sifre-submit-btn:hover {
      background: #1550cc;
    }

    /* Ders Saatleri Yan Yana 3 Sütunlu Panel (Sabah | Öğlen | Akşam) */
    .ders-saatleri-panel {
      top: -172px;
      width: 1080px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 14px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .ders-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid #e2e8f0;
    }
    .ders-panel-title {
      font-size: 16px;
      font-weight: 700;
      color: #0c4a6e;
    }
    .ders-columns {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .ders-col-title {
      font-size: 14.5px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 10px;
    }
    .ders-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
    }
    .ders-row:last-child {
      margin-bottom: 0;
    }
    .ders-num {
      width: 20px;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      flex-shrink: 0;
    }
    .ders-time-input {
      flex: 1;
      height: 36px;
      padding: 4px 10px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #1e293b;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .ders-time-input:focus {
      border-color: #0284c7;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .ders-sep {
      color: #475569;
      font-weight: 600;
      font-size: 14px;
      padding: 0 1px;
