@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#f4f7fb;
  --panel:#fff;
  --text:#071833;
  --muted:#65758b;
  --line:#dfe7f1;
  --soft:#f8fafc;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --ok:#16a34a;
  --danger:#dc2626;
  --shadow:0 20px 55px rgba(15,23,42,.08);
  --radius:22px;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:'Plus Jakarta Sans',Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}
body{display:flex}body.modal-open{overflow:hidden}a{text-decoration:none;color:inherit}button,input,textarea,select{font-family:inherit}

.sidebar{width:280px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:22px 18px;display:flex;flex-direction:column;gap:20px;z-index:50}
.brand{display:flex;gap:12px;align-items:center;padding:6px 6px 18px;border-bottom:1px solid var(--line)}
.logo{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#38bdf8);display:grid;place-items:center;color:#fff;font-weight:800;font-size:20px;box-shadow:0 14px 34px rgba(37,99,235,.25)}
.brand b{display:block;font-size:15px;font-weight:800}.brand span{display:block;margin-top:3px;font-size:11px;color:var(--muted);line-height:1.35}
nav{display:grid;gap:6px}.nav{display:flex;gap:11px;align-items:center;min-height:43px;padding:10px 12px;border-radius:14px;font-weight:700;color:#344054;transition:.16s}.nav span{width:22px;text-align:center;color:#7b8797}.nav:hover{background:#f1f5f9}.nav.active{background:#eaf1ff;color:#1d4ed8}.nav.active span{color:#1d4ed8}
.userbox{margin-top:auto;padding:14px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.userbox b{display:block}.userbox span{display:block;margin:4px 0 10px;color:var(--muted);font-size:12px}.userbox a{color:#1d4ed8;font-weight:800;font-size:12px}

.main{width:100%;margin-left:280px;padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.topbar h1{margin:0;font-size:28px;letter-spacing:-.75px;line-height:1.1;font-weight:800}.top-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}.page-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:-48px 0 18px}
.quick,.btn{border:0;background:var(--primary);color:#fff;border-radius:15px;min-height:42px;padding:11px 17px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 16px 34px rgba(37,99,235,.22)}.quick:hover,.btn:hover{background:var(--primary-dark)}.btn.ghost{background:#fff;color:#1d4ed8;border:1px solid #d7e2f0;box-shadow:none}.page-actions .btn,.topbar .quick{min-height:38px;padding:9px 15px;border-radius:13px;box-shadow:0 10px 24px rgba(37,99,235,.16)}

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card h2{margin:0 0 16px;font-size:18px;letter-spacing:-.35px;font-weight:800}.full-card{width:100%;margin-bottom:18px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2{margin:0}.mini-link{color:#1d4ed8;font-size:13px;font-weight:800}

.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.stat-card b{display:block;font-size:32px;font-weight:800;letter-spacing:-1px;line-height:1}.stat-card strong{display:block;margin-top:8px;font-size:14px;font-weight:800;color:#24324a}.stat-card span{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:650}.stat-card i{width:46px;height:46px;border-radius:16px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center;font-style:normal;font-size:20px}

.table-wrap{width:100%;overflow-x:auto;border-radius:16px;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;min-width:840px}th,td{padding:14px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}th{background:#f8fafc;color:#344054;font-size:12px;font-weight:800;white-space:nowrap}td{font-size:13px}td b{display:block;font-weight:800}td small{display:block;color:var(--muted);margin-top:4px;font-weight:650}.arrow{color:#64748b}.passenger-preview{display:block;margin-top:4px;color:#667085;font-weight:700;max-width:280px;white-space:normal;line-height:1.35}
.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.badge.info{background:#eef2ff;color:#1d4ed8}.badge.ok{background:#ecfdf3;color:#087443}.badge.danger{background:#fff1f2;color:#be123c}.badge.soft{background:#f1f5f9;color:#334155}
.small-btn{border:1px solid #d7e2f0;background:#fff;color:#1f2a44;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer;display:inline-flex;line-height:1}.small-btn.ok{background:#ecfdf3;color:#087443;border-color:#bbf7d0}.small-btn.danger{background:#fff1f2;color:#e11d48;border-color:#fecdd3}.small-btn.danger:hover{background:#ffe4e6}

.form{display:grid;gap:13px}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#344054}input,textarea,select{width:100%;border:1px solid #d7e2f0;background:#fff;color:#101828;border-radius:14px;padding:12px 13px;outline:0;font-size:13px;font-weight:550}textarea{min-height:94px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:#93b4ff;box-shadow:0 0 0 4px rgba(37,99,235,.10)}input[type=file]{background:#f8fafc}.empty{border:1px dashed #cbd7e6;background:#f8fafc;border-radius:18px;color:#7b8797;padding:26px;text-align:center;font-weight:800}.flash{border-radius:16px;padding:13px 15px;margin-bottom:16px;font-weight:800;background:#ecfdf3;color:#087443;border:1px solid #bbf7d0}.flash.error{background:#fff1f2;color:#be123c;border-color:#fecdd3}
.form-section-title{margin:6px 0 2px;padding:8px 10px;border-radius:12px;background:#f5f8ff;color:#1d4ed8;font-size:12px;font-weight:900}.route-box,.return-transfer-fields{display:grid;gap:13px}.return-transfer-fields{display:none}

/* Transfer form clean layout */
.transfer-clean-form{max-width:620px;margin:0 auto;gap:10px}.transfer-clean-form .form-grid.two{grid-template-columns:repeat(2, minmax(220px, 1fr));gap:12px}.transfer-clean-form .form-grid.three{grid-template-columns:repeat(3, minmax(130px, 1fr));gap:10px}.transfer-clean-form .form-section-title{margin:8px 0 2px;padding:0;background:transparent;color:#0f172a;font-size:12px;line-height:1.2}.transfer-clean-form label{gap:5px;font-size:11.5px;line-height:1.15}.transfer-clean-form input,.transfer-clean-form select,.transfer-clean-form textarea{min-height:38px;padding:8px 10px;font-size:13px;border-radius:11px;border-color:#d9e2ec;box-shadow:none}.transfer-clean-form textarea{min-height:78px}.transfer-clean-form label.is-required::before{content:'*';display:block;color:#dc2626;font-size:15px;font-weight:900;line-height:1;margin-bottom:-3px}.transfer-clean-form input:invalid,.transfer-clean-form select:invalid,.transfer-clean-form textarea:invalid{box-shadow:none;border-color:#d9e2ec}.transfer-clean-form textarea[name="passenger_names"]{border-color:#d9e2ec!important;box-shadow:none!important}.passenger-names-textarea{min-height:96px!important}

/* phone field */
.phone-combo-label{display:grid;gap:7px;color:#344054;font-size:12px;font-weight:750}.phone-combo{display:grid;grid-template-columns:82px 1fr;align-items:center;min-height:38px;border:1px solid #d8e0ea;border-radius:11px;background:#fff;overflow:visible}.phone-combo:focus-within{border-color:#93b4ff;box-shadow:0 0 0 4px rgba(37,99,235,.10)}.phone-combo input{border:0!important;box-shadow:none!important;border-radius:0 11px 11px 0!important;background:#fff!important;min-height:36px!important;padding-left:12px!important;min-width:0!important}.crm-phone-code-wrap{position:relative;height:38px;z-index:50}.crm-phone-code-btn{width:82px;height:38px;border:0;border-right:1px solid #e5eaf1;background:#fff;color:#071a33;font-size:11px;font-weight:900;cursor:pointer;padding:0 4px;text-align:center;border-radius:11px 0 0 11px}.crm-phone-code-list{display:none;position:absolute;left:0;top:42px;width:110px;max-height:210px;overflow:auto;background:#fff;border:1px solid #d8e0ea;border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.18);z-index:99999;padding:6px}.crm-phone-code-wrap.open .crm-phone-code-list{display:block}.crm-phone-code-item{width:100%;border:0;background:#fff;color:#071a33;font-size:12px;font-weight:800;text-align:left;padding:8px 9px;border-radius:8px;cursor:pointer}.crm-phone-code-item:hover{background:#eef4ff;color:#2563eb}

/* tickets */
.ticket-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(520px,1.25fr);gap:18px;align-items:start}.review-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:11px 13px}.review-clear{width:34px;height:34px;border-radius:999px;background:#fff1f2;color:#e11d48;border:1px solid #fecdd3;display:grid;place-items:center;font-size:22px;font-weight:900}.review-block{display:grid;gap:12px;margin-top:10px}.review-block h3{margin:8px 0 0;font-size:14px}.review-item{border:1px solid var(--line);border-radius:18px;background:#fbfdff;padding:14px;display:grid;gap:11px}.review-item.compact{grid-template-columns:auto 1fr;align-items:center}.checkline{display:flex;gap:9px;align-items:center;font-size:13px;color:#111827}.checkline input{width:auto;accent-color:var(--primary)}

/* modal */
.modal{display:none;position:fixed;inset:0;z-index:9999;align-items:flex-start;justify-content:center;padding:32px 14px;background:rgba(15,23,42,.38);backdrop-filter:blur(8px);overflow:auto}.modal.is-open{display:flex!important}.modal-bg{position:absolute;inset:0;background:transparent;cursor:default}.modal-panel{position:relative;width:min(680px,100%);max-height:calc(100vh - 64px);overflow:auto;background:#fff;border:1px solid #e5eaf1;border-radius:24px;box-shadow:0 28px 90px rgba(15,23,42,.22)}.modal-head{position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid #e5eaf1;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}.modal-head b{font-size:16px;font-weight:900}.modal-head button{width:34px;height:34px;border:0;border-radius:12px;background:#f1f5f9;font-size:22px;font-weight:900;cursor:pointer}.modal-body{padding:16px 18px 18px}.modal-body .card{box-shadow:none;border:0;padding:0;border-radius:0}

/* action menu */
.row-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;position:relative}.action-menu{position:relative;display:inline-flex;align-items:center}.action-menu-trigger{height:34px;min-width:86px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e2ef;border-radius:12px;background:#fff;color:#0f172a;font-size:12px;font-weight:850;cursor:pointer;padding:0 16px;box-shadow:0 8px 18px rgba(15,23,42,.05);transition:.14s ease}.action-menu-trigger:hover,.action-menu.open .action-menu-trigger{border-color:#2563eb;color:#2563eb;background:#f8fafc}.action-menu-panel{display:none;position:absolute;right:0;top:40px;width:158px;padding:6px;border:1px solid #d8e2ef;border-radius:14px;background:#fff;box-shadow:0 22px 50px rgba(15,23,42,.18);z-index:9999}.action-menu.open .action-menu-panel{display:grid;gap:2px}.action-menu-item{width:100%;min-height:30px;display:flex;align-items:center;justify-content:flex-start;border:0;border-radius:9px;background:#fff;color:#172033!important;text-decoration:none;font-size:12px;font-weight:800;padding:0 10px;cursor:pointer;text-align:left;font-family:inherit;white-space:nowrap}.action-menu-item:hover{background:#f1f5fb}.action-menu-item.success{color:#067647!important;background:#ecfdf3}.action-menu-item.success:hover{background:#dcfae6}.action-menu-item.danger{color:#c01048!important;background:#fff1f3}.action-menu-item.danger:hover{background:#ffe4e8}.action-menu-item.is-copied{color:#067647!important;background:#ecfdf3}.action-menu-form{margin:0;padding:0}

/* filters pagination */
.filter-panel{display:grid;grid-template-columns:1.4fr 220px 190px auto auto;gap:10px;align-items:end;margin:14px 0 16px;padding:14px;border:1px solid #dbe6f3;border-radius:16px;background:#f8fbff}.filter-panel label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#344054}.filter-panel input,.filter-panel select{min-height:40px}.filter-panel .filter-btn{min-height:40px;padding:0 16px}.pagination{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.pagination a{min-width:34px;height:34px;padding:0 10px;border:1px solid #dbe6f3;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#10233f;font-weight:800;background:#fff}.pagination a.active{background:#2563eb;color:#fff;border-color:#2563eb}

/* login */
.login-body{display:grid;place-items:center;min-height:100vh;padding:18px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:24px}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.login-brand b{display:block;font-weight:800}.login-brand span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.mobile-menu{display:none;position:fixed;top:14px;left:14px;z-index:80;border:0;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.14);width:44px;height:44px;border-radius:14px;font-size:20px}

/* voucher */
.voucher-lang-buttons.pdf-only{display:flex;gap:8px;flex-wrap:wrap}.voucher-pdf-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border-radius:12px;background:#111827;color:#fff!important;text-decoration:none;font-size:12px;font-weight:900;box-shadow:0 8px 18px rgba(15,23,42,.14)}.voucher-pdf-btn span{padding:3px 6px;border-radius:999px;background:#f6c343;color:#111827;font-size:10px;font-weight:900}.voucher-pdf-btn:hover{transform:translateY(-1px);background:#000}.voucher-pdf-btn.lucky{background:#9f5b69}.voucher-pdf-btn.elysium{background:#d8669a}.wa-phone-link{color:#16a34a!important;font-weight:900;text-decoration:none}.voucher-bg-body{margin:0;background:#eef2f7;font-family:Arial,Helvetica,sans-serif;color:#1f2937}.voucher-bg-main{width:100%;padding:18px;box-sizing:border-box}.voucher-actions{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}.voucher-bg-sheet{position:relative;width:210mm;min-height:297mm;margin:0 auto;background-image:none!important;box-shadow:0 18px 55px rgba(15,23,42,.18);overflow:hidden;print-color-adjust:exact;-webkit-print-color-adjust:exact}.voucher-bg-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;display:block;print-color-adjust:exact;-webkit-print-color-adjust:exact}.voucher-bg-content{position:absolute;left:18mm;right:18mm;top:92mm;bottom:34mm;z-index:2;display:flex;flex-direction:column;gap:10mm}.voucher-bg-mini-title{text-align:center;font-size:18px;letter-spacing:.08em;font-weight:900;color:#9f5b69}.voucher-bg-grid{display:grid;grid-template-columns:1fr 1fr;gap:7mm}.voucher-bg-grid div,.voucher-bg-route,.voucher-bg-note{background:rgba(255,255,255,.78);border:1px solid rgba(214,138,154,.25);border-radius:14px;padding:10px 12px;box-shadow:0 8px 24px rgba(120,70,85,.06)}.voucher-bg-grid span,.voucher-bg-route span{display:block;font-size:11px;font-weight:900;color:#9f5b69;margin-bottom:4px}.voucher-bg-grid b,.voucher-bg-route b{font-size:14px;color:#202938}.voucher-bg-route{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:10px}.voucher-bg-route em{font-style:normal;text-align:center;font-size:22px;font-weight:900;color:#d86f94}.voucher-bg-note{display:grid;grid-template-columns:95px 1fr;gap:14px;align-items:start}.voucher-bg-note h3{margin:0 0 6px;font-size:14px;color:#9f5b69;font-weight:900}.voucher-bg-note p{margin:0;font-size:11.5px;line-height:1.5;font-weight:700;color:#374151}.voucher-bg-777{text-align:center}.voucher-bg-777 img{width:88px;border-radius:10px;display:block;margin:0 auto 5px}.voucher-bg-777 strong{font-size:12px;color:#111827}

/* settings reports */
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.settings-card.full{grid-column:1/-1}.settings-card .section-head{margin-bottom:12px}.settings-form textarea{min-height:110px;resize:vertical;line-height:1.5}.settings-save{margin:0 0 18px}.inline-form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-bottom:16px}.settings-location-list{display:flex;flex-wrap:wrap;gap:10px}.location-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 10px 9px 12px;border:1px solid #d8e0ea;border-radius:999px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.06)}.location-chip span{font-weight:800;color:#101828}.location-chip small{color:#667085;font-size:11px;font-weight:700}.location-chip form{display:inline-flex;margin:0}.location-chip button{width:24px;height:24px;border:0;border-radius:999px;background:#fee2e2;color:#b42318;font-weight:900;cursor:pointer}.settings-users{margin-top:18px}.settings-user-add{margin-bottom:18px;padding:14px;border:1px solid #e5eaf1;border-radius:16px;background:#f8fafc}.user-inline-form{margin:0}.settings-users table select,.settings-users table input{min-height:40px}.settings-users td small{display:block;margin-top:5px;color:#667085;font-size:11px;font-weight:700}.settings-users .actions{min-width:150px}.report-stats{margin-bottom:16px}.report-section{margin-top:18px}.report-summary-card{margin-top:2px}.report-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-summary-grid div{border:1px solid #dfe7f1;border-radius:18px;background:#f8fafc;padding:16px}.report-summary-grid span{display:block;color:#65758b;font-size:12px;font-weight:800;margin-bottom:6px}.report-summary-grid b{display:block;color:#071833;font-size:18px;font-weight:900}.report-income-card{margin-top:14px}.report-income-grid{margin:0}.report-income-grid .stat-card b{font-size:22px}

@media print{@page{size:A4;margin:0}.no-print{display:none!important}body.voucher-bg-body{background:#fff!important}.voucher-bg-main{padding:0!important}.voucher-bg-sheet{width:210mm;min-height:297mm;box-shadow:none}.voucher-bg-image{display:block!important}}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-layout{grid-template-columns:1fr}.form-grid.three,.form-grid.five{grid-template-columns:1fr}.main{padding:22px}.report-summary-grid{grid-template-columns:1fr}}
@media(max-width:900px){.filter-panel,.settings-grid,.inline-form{grid-template-columns:1fr}.pagination{justify-content:flex-start}}
@media(max-width:880px){body{display:block}.mobile-menu{display:block}.sidebar{transform:translateX(-105%);transition:.2s;box-shadow:20px 0 60px rgba(15,23,42,.16)}body.menu-open .sidebar{transform:translateX(0)}.main{margin-left:0;padding:74px 14px 18px}.topbar{align-items:flex-start;flex-direction:column}.topbar h1{font-size:24px}.stats-grid,.form-grid.two{grid-template-columns:1fr}.card{padding:16px;border-radius:20px}.stat-card{padding:17px}.stat-card b{font-size:28px}input,textarea,select{font-size:16px}.review-item.compact{grid-template-columns:1fr}.modal{padding:14px 10px}.modal-panel{border-radius:20px;max-height:calc(100vh - 28px)}.page-actions{margin:0 0 14px;justify-content:flex-start}.action-menu-panel{right:auto;left:0}}
@media(max-width:760px){.voucher-bg-main{padding:8px;overflow:auto}.voucher-bg-sheet{width:210mm;min-height:297mm}.transfer-clean-form{max-width:360px}.transfer-clean-form .form-grid.two,.transfer-clean-form .form-grid.three{grid-template-columns:1fr}.modal-panel{width:min(390px,calc(100% - 18px))}.modal-body{padding:13px}.phone-combo{grid-template-columns:78px 1fr}.crm-phone-code-btn{width:78px}.crm-phone-code-list{width:105px}}
@media(max-width:640px){.voucher-lang-buttons.pdf-only{gap:6px}.voucher-pdf-btn{padding:8px 9px;font-size:11px}.transfer-clean-form{max-width:320px}.phone-combo{grid-template-columns:72px 1fr}.crm-phone-code-btn{width:72px}.action-menu-panel{width:150px}}

/* Voucherlar sayfası premium sade görünüm */
.voucher-choice-box{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  align-items:start !important;
  min-width:430px !important;
}

.voucher-choice-group{
  border:1px solid #e5edf5 !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fff,#fbfcff) !important;
  padding:10px !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05) !important;
}

.voucher-choice-title{
  font-size:11px !important;
  font-weight:900 !important;
  color:#344054 !important;
  margin:0 0 8px !important;
  letter-spacing:.02em !important;
  white-space:nowrap !important;
}

.voucher-choice-group.lucky .voucher-choice-title{ color:#8f5362 !important; }
.voucher-choice-group.elysium .voucher-choice-title{ color:#c94f8b !important; }

.voucher-choice-langs{
  display:flex !important;
  gap:6px !important;
  flex-wrap:wrap !important;
}

.voucher-chip{
  width:34px !important;
  height:30px !important;
  border-radius:10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  font-size:11px !important;
  font-weight:900 !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  transition:.16s ease !important;
}

.voucher-chip.lucky{
  background:#f8edf0 !important;
  color:#8f5362 !important;
  border-color:#efd6dc !important;
}

.voucher-chip.elysium{
  background:#fdeaf3 !important;
  color:#c94f8b !important;
  border-color:#f7cde1 !important;
}

.voucher-chip:hover{
  transform:translateY(-1px) !important;
  background:#111827 !important;
  color:#fff !important;
  border-color:#111827 !important;
}

/* Eski büyük PDF butonları kalırsa bile küçük chip gibi görünsün */
.voucher-lang-buttons.pdf-only{
  display:flex !important;
  gap:6px !important;
  flex-wrap:wrap !important;
}

.voucher-pdf-btn{
  width:34px !important;
  height:30px !important;
  padding:0 !important;
  border-radius:10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  font-size:11px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

.voucher-pdf-btn span{ display:none !important; }
.voucher-pdf-btn b{ font-size:11px !important; font-weight:900 !important; }

@media(max-width:900px){
  .voucher-choice-box{
    min-width:0 !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
}

/* Voucherlar - iki panelli premium düzen */
.voucher-two-panel{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:18px;
  align-items:start;
}

.voucher-maker-panel,
.voucher-transfer-panel{
  background:#fff;
  border:1px solid #dbe6f3;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.voucher-maker-panel{
  padding:16px;
}

.voucher-maker-sticky{
  position:sticky;
  top:18px;
}

.voucher-panel-title{
  display:grid;
  gap:4px;
  margin-bottom:14px;
}

.voucher-panel-title span{
  font-size:20px;
  font-weight:900;
  color:#071b3a;
}

.voucher-panel-title small{
  color:#667085;
  font-weight:700;
}

.selected-transfer-mini{
  border:1px solid #ead9df;
  background:#fff8fa;
  border-radius:16px;
  padding:12px;
  display:grid;
  gap:5px;
  margin-bottom:12px;
}

.selected-transfer-mini b{
  color:#071b3a;
  font-size:14px;
}

.selected-transfer-mini span,
.selected-transfer-mini em{
  font-size:12px;
  color:#667085;
  font-style:normal;
  font-weight:700;
}

.selected-transfer-mini.empty{
  color:#667085;
  font-weight:800;
}

.voucher-type-card{
  border-radius:18px;
  padding:13px;
  margin-top:10px;
  border:1px solid #e5edf5;
  background:linear-gradient(180deg,#fff,#fbfcff);
}

.voucher-type-card.lucky{
  border-color:#edd4dc;
  background:#fff8fa;
}

.voucher-type-card.elysium{
  border-color:#f7cfe2;
  background:#fff6fb;
}

.voucher-type-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}

.voucher-type-head b{
  font-size:13px;
  color:#111827;
  font-weight:900;
}

.voucher-type-head span{
  font-size:10px;
  font-weight:900;
  color:#667085;
  background:#fff;
  border:1px solid #e5edf5;
  padding:4px 7px;
  border-radius:999px;
}

.voucher-type-langs{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.voucher-type-langs a,
.voucher-type-langs .disabled{
  width:38px;
  height:32px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  background:#fff;
  border:1px solid #e5edf5;
  color:#111827;
}

.voucher-type-card.lucky .voucher-type-langs a{
  color:#8f5362;
  border-color:#efd6dc;
}

.voucher-type-card.elysium .voucher-type-langs a{
  color:#c94f8b;
  border-color:#f7cde1;
}

.voucher-type-langs a:hover{
  background:#111827;
  color:#fff !important;
  border-color:#111827;
}

.voucher-type-langs .disabled{
  opacity:.45;
  cursor:not-allowed;
}

.voucher-transfer-panel{
  padding:18px;
}

.voucher-transfer-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
}

.voucher-transfer-head h2{
  margin:0;
  font-size:22px;
  color:#071b3a;
}

.voucher-transfer-head p{
  margin:5px 0 0;
  color:#667085;
  font-weight:700;
  font-size:13px;
}

.voucher-transfer-head > span{
  background:#f2f6fb;
  border:1px solid #dbe6f3;
  color:#344054;
  font-weight:900;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
}

.voucher-filter-form{
  display:grid;
  grid-template-columns:1.4fr 190px 160px auto auto;
  gap:10px;
  align-items:end;
  padding:12px;
  border:1px solid #e5edf5;
  border-radius:16px;
  background:#f8fbff;
  margin-bottom:14px;
}

.voucher-filter-form label{
  display:grid;
  gap:5px;
  font-size:11px;
  font-weight:900;
  color:#344054;
}

.voucher-filter-form input,
.voucher-filter-form select{
  min-height:38px;
}

.voucher-transfer-list{
  display:grid;
  gap:9px;
}

.voucher-transfer-item{
  display:grid;
  grid-template-columns:140px minmax(0,1fr) 92px 76px;
  gap:12px;
  align-items:center;
  border:1px solid #e5edf5;
  border-radius:16px;
  padding:12px;
  background:#fff;
  text-decoration:none;
  color:#071b3a;
  transition:.16s ease;
}

.voucher-transfer-item:hover{
  border-color:#b9c9df;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.voucher-transfer-item.active{
  border-color:#d65b94;
  background:#fff7fb;
  box-shadow:0 10px 26px rgba(214,91,148,.10);
}

.vti-date,
.vti-main,
.vti-flight{
  display:grid;
  gap:4px;
}

.vti-date b,
.vti-main b,
.vti-flight b{
  font-weight:900;
  color:#071b3a;
}

.vti-date span,
.vti-date em,
.vti-main span,
.vti-main small,
.vti-flight span{
  font-size:12px;
  color:#667085;
  font-style:normal;
  font-weight:700;
}

.vti-main small{
  line-height:1.3;
}

.vti-main a{
  color:#16a34a;
  font-weight:900;
  text-decoration:none;
}

.vti-status span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  height:30px;
  border-radius:999px;
  background:#eef4ff;
  color:#2563eb;
  font-size:12px;
  font-weight:900;
}

.voucher-transfer-item.active .vti-status span{
  background:#d65b94;
  color:#fff;
}

@media(max-width:980px){
  .voucher-two-panel{
    grid-template-columns:1fr;
  }

  .voucher-maker-sticky{
    position:relative;
    top:auto;
  }

  .voucher-filter-form{
    grid-template-columns:1fr;
  }

  .voucher-transfer-item{
    grid-template-columns:1fr;
  }
}

/* Voucher sayfası: açılır liste + oluşturulan voucher ayrımı */
.voucher-accordion{
  border:1px solid #e5edf5;
  border-radius:18px;
  background:#fff;
  margin-top:12px;
  overflow:hidden;
}

.voucher-accordion summary{
  list-style:none;
  cursor:pointer;
  padding:13px 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-weight:900;
  color:#071b3a;
  background:#f8fbff;
}

.voucher-accordion summary::-webkit-details-marker{
  display:none;
}

.voucher-accordion summary::before{
  content:"›";
  width:26px;
  height:26px;
  border-radius:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #dbe6f3;
  color:#667085;
  font-size:20px;
  font-weight:900;
  margin-right:4px;
  transform:rotate(0deg);
  transition:.16s ease;
}

.voucher-accordion[open] summary::before{
  transform:rotate(90deg);
}

.voucher-accordion summary span{
  display:flex;
  align-items:center;
  gap:8px;
  margin-right:auto;
}

.voucher-accordion summary b{
  min-width:28px;
  height:24px;
  border-radius:999px;
  background:#eef4ff;
  color:#2563eb;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

.voucher-accordion.created summary b{
  background:#fff1f2;
  color:#be5672;
}

.voucher-transfer-list.compact{
  padding:10px;
  gap:7px;
}

.voucher-transfer-item.compact{
  grid-template-columns:110px minmax(0,1fr) 64px;
  padding:9px 10px;
  border-radius:14px;
}

.voucher-transfer-item.compact .vti-date{
  gap:2px;
}

.voucher-transfer-item.compact .vti-date b,
.voucher-transfer-item.compact .vti-main b{
  font-size:13px;
}

.voucher-transfer-item.compact .vti-date span,
.voucher-transfer-item.compact .vti-main small{
  font-size:11px;
}

.voucher-transfer-item.created-item{
  cursor:default;
  color:#071b3a;
}

.vti-created{
  display:grid;
  gap:3px;
  justify-items:end;
}

.vti-created span{
  font-size:10px;
  color:#be5672;
  font-weight:900;
  text-transform:uppercase;
}

.vti-created b{
  font-size:11px;
  color:#344054;
}

@media(max-width:980px){
  .voucher-transfer-item.compact{
    grid-template-columns:1fr;
  }

  .vti-created{
    justify-items:start;
  }
}

/* Voucher transfer listesi: tek satır / daha kompakt görünüm */
.voucher-transfer-list.compact{
  gap:6px !important;
}

.voucher-transfer-item.compact{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:8px 10px !important;
  border-radius:12px !important;
  min-height:44px !important;
}

.voucher-transfer-item.compact .vti-date{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:6px !important;
  min-width:122px !important;
  white-space:nowrap !important;
}

.voucher-transfer-item.compact .vti-date b,
.voucher-transfer-item.compact .vti-date span{
  font-size:12px !important;
  line-height:1 !important;
}

.voucher-transfer-item.compact .vti-main{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  min-width:0 !important;
  flex:1 !important;
}

.voucher-transfer-item.compact .vti-main b{
  font-size:12.5px !important;
  white-space:nowrap !important;
}

.voucher-transfer-item.compact .vti-main small{
  font-size:11.5px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:360px !important;
}

.voucher-transfer-item.compact .vti-status{
  flex:0 0 auto !important;
}

.voucher-transfer-item.compact .vti-status span{
  min-width:48px !important;
  height:25px !important;
  font-size:11px !important;
}

.voucher-transfer-item.compact.created-item .vti-created{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  justify-items:unset !important;
  flex:0 0 auto !important;
}

.voucher-transfer-item.compact.created-item .vti-created span,
.voucher-transfer-item.compact.created-item .vti-created b{
  font-size:10.5px !important;
  white-space:nowrap !important;
}

/* Dar ekranda yine kompakt ama taşmadan alt satıra kontrollü düşsün */
@media(max-width:760px){
  .voucher-transfer-item.compact{
    align-items:flex-start !important;
    gap:6px !important;
    flex-wrap:wrap !important;
  }

  .voucher-transfer-item.compact .vti-date{
    min-width:auto !important;
  }

  .voucher-transfer-item.compact .vti-main{
    flex-basis:100% !important;
    gap:6px !important;
  }

  .voucher-transfer-item.compact .vti-main small{
    max-width:100% !important;
  }

  .voucher-transfer-item.compact .vti-status{
    margin-left:auto !important;
  }
}

/* Güvenlik sayfası */
.security-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-items:start;
}

.security-card{
  padding:18px;
}

.full-security-card{
  grid-column:1 / -1;
}

.security-form{
  max-width:440px;
}

.security-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.security-status.ok{
  background:#ecfdf5;
  color:#059669;
}

.security-status.off{
  background:#fff1f2;
  color:#e11d48;
}

.security-info-box{
  border:1px solid #dbe6f3;
  background:#f8fbff;
  border-radius:16px;
  padding:14px;
  color:#344054;
  font-weight:700;
  line-height:1.5;
}

.security-info-box p{
  margin:8px 0 0;
}

.security-note-list{
  display:grid;
  gap:10px;
}

.security-note-list div{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid #e5edf5;
  border-radius:14px;
  padding:12px;
  background:#fff;
}

.security-note-list b{
  width:26px;
  height:26px;
  border-radius:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#111827;
  color:#fff;
  flex:0 0 auto;
}

.security-note-list span{
  color:#344054;
  font-weight:750;
}

.forgot-password-link{
  display:block;
  margin-top:12px;
  text-align:center;
  color:#2563eb;
  font-weight:900;
  text-decoration:none;
}

.security-forgot-card .btn{
  width:100%;
  justify-content:center;
  margin-top:14px;
}

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

/* Sol menü kompakt düzen */
.sidebar{
  padding:18px 16px !important;
  gap:14px !important;
}

.brand{
  gap:10px !important;
  padding-bottom:12px !important;
  margin-bottom:4px !important;
}

.brand .logo{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  border-radius:17px !important;
  font-size:24px !important;
}

.brand b{
  font-size:17px !important;
  line-height:1.15 !important;
}

.brand span{
  font-size:12px !important;
  line-height:1.25 !important;
}

nav{
  gap:3px !important;
}

.nav{
  min-height:36px !important;
  padding:7px 10px !important;
  border-radius:12px !important;
  gap:9px !important;
  font-size:14px !important;
  line-height:1.15 !important;
}

.nav span{
  width:20px !important;
  min-width:20px !important;
  font-size:14px !important;
}

.sidebar .user-card,
.user-card{
  margin-top:auto !important;
  padding:12px !important;
  border-radius:16px !important;
}

.user-card b{
  font-size:14px !important;
}

.user-card span,
.user-card small{
  font-size:12px !important;
}

/* Ayarlar içinde şifre alanı görünür kalırsa güvenlik ayrıldığı için gizle */
.settings-users input[type="password"],
.settings-users th:nth-child(4):has(+ th),
.settings-users td input[type="password"]{
  display:none !important;
}

/* Mobilde sidebar taşmasını azalt */
@media(max-height:760px){
  .sidebar{
    padding:14px 14px !important;
    gap:10px !important;
  }

  .nav{
    min-height:33px !important;
    padding:6px 9px !important;
    font-size:13.5px !important;
  }

  .brand .logo{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
  }

  .brand b{
    font-size:16px !important;
  }

  .brand span{
    font-size:11px !important;
  }

  .user-card{
    padding:10px !important;
  }
}

/* Ayarlar içinde eski Kullanıcı ve Yetki kalıntılarını gizle */
.settings-users{
  display:none !important;
}

.settings-security-notice{
  padding:18px !important;
}

/* Login Şifremi Unuttum linki net görünsün */
.forgot-password-link{
  display:block !important;
  margin-top:14px !important;
  text-align:center !important;
  color:#2563eb !important;
  font-weight:900 !important;
  text-decoration:none !important;
}

.forgot-password-link:hover{
  text-decoration:underline !important;
}

/* Gereksiz eski güvenlik açıklama bloğu kalırsa gizle */
.security-note-list{
  display:none !important;
}
