:root{--blue:#2563eb;--navy:#0f172a;--bg:#f6f8fb;--border:#e2e8f0;--muted:#64748b;--danger:#dc2626;--green:#16a34a}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#0f172a}a{text-decoration:none;color:inherit}.admin-layout{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{background:#0b1629;color:#dbeafe;padding:24px;position:sticky;top:0;height:100vh;overflow:auto}.brand{font-size:22px;font-weight:900;color:#fff;margin-bottom:26px;display:block}.sidebar a{display:block;padding:10px 12px;border-radius:10px;color:#cbd5e1;font-weight:700;margin:4px 0}.sidebar a:hover,.sidebar a.active{background:rgba(37,99,235,.18);color:#fff}.main{padding:30px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.topbar h1{margin:0;font-size:28px;letter-spacing:-.04em}.panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 14px 34px rgba(15,23,42,.06);margin-bottom:20px}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}label{font-weight:800;display:block;margin:12px 0 6px}input,textarea,select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font:inherit}textarea{min-height:140px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--blue);color:#fff;padding:11px 16px;font-weight:900;cursor:pointer}.btn.secondary{background:#0f172a}.btn.danger{background:var(--danger)}.btn.light{background:#e2e8f0;color:#0f172a}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:14px;vertical-align:top}.table th{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.badge{display:inline-flex;padding:4px 9px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:12px;font-weight:900}.badge.off{background:#fee2e2;color:#991b1b}.flash{padding:12px 14px;border-radius:10px;margin-bottom:18px;font-weight:800}.flash.ok{background:#dcfce7;color:#166534}.flash.err{background:#fee2e2;color:#991b1b}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#0b1629,#132a54)}.login-card{background:#fff;border-radius:20px;padding:30px;max-width:430px;width:100%;box-shadow:0 24px 70px rgba(0,0,0,.24)}.login-card h1{margin-top:0}.muted{color:#64748b}.help{font-size:13px;color:#64748b}.thumb{width:86px;height:54px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stat{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.stat strong{display:block;font-size:32px}.codebox{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;word-break:break-all;font-family:ui-monospace,Menlo,monospace}.qrcode{width:230px;height:230px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff}@media(max-width:900px){.admin-layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.grid.two,.grid.three,.stats{grid-template-columns:1fr}.main{padding:18px}.table{display:block;overflow:auto}.topbar{align-items:flex-start;flex-direction:column}}

/* Admin login password show/hide control */
.password-field{position:relative;display:flex;align-items:center}.password-field input{padding-right:52px}.password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:#f1f5f9;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.password-toggle:hover{background:#e0ecff;color:#1d4ed8}.password-toggle:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.password-toggle svg{width:21px;height:21px;fill:currentColor}.password-toggle .icon-eye-off{display:none}.password-toggle.is-visible .icon-eye{display:none}.password-toggle.is-visible .icon-eye-off{display:block}

/* v1.3 - Login password eye icon fixed */
.login-password-wrap{position:relative!important;display:block!important;width:100%!important;margin:0!important}.login-password-wrap input{padding-right:56px!important}.login-password-toggle{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#64748b!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;line-height:1!important;cursor:pointer!important;z-index:3!important}.login-password-toggle:hover{background:#eff6ff!important;color:#2563eb!important}.login-password-toggle:focus-visible{outline:3px solid rgba(37,99,235,.22)!important;outline-offset:2px!important}.login-password-toggle svg{width:22px!important;height:22px!important;display:block!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.login-password-toggle .icon-eye-off{display:none!important}.login-password-toggle.is-visible .icon-eye{display:none!important}.login-password-toggle.is-visible .icon-eye-off{display:block!important}

/* v1.4 - admin profile menu and profile page */
.admin-profile-menu{position:relative;margin-left:auto}.profile-trigger{border:1px solid var(--border);background:#fff;border-radius:999px;display:flex;align-items:center;gap:10px;padding:7px 10px;cursor:pointer;box-shadow:0 12px 28px rgba(15,23,42,.06);min-width:230px;text-align:left}.avatar{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.avatar.large{width:44px;height:44px}.profile-meta{display:flex;flex-direction:column;min-width:0;line-height:1.15}.profile-meta b,.profile-dropdown-head b{font-size:14px}.profile-meta small,.profile-dropdown-head small{font-size:12px;color:#64748b;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chev{margin-left:auto;color:#64748b}.profile-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:270px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.18);padding:10px;display:none;z-index:20}.profile-dropdown.open{display:block}.profile-dropdown-head{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--border);padding:8px 8px 12px;margin-bottom:6px}.profile-dropdown a{display:block;padding:11px 12px;border-radius:10px;color:#0f172a;font-weight:800}.profile-dropdown a:hover{background:#f1f5f9}.profile-dropdown .logout-link{color:#dc2626}.profile-grid{align-items:start}.profile-panel{min-height:420px}.required{color:#dc2626}.twofa-box{display:grid;grid-template-columns:250px 1fr;gap:24px;align-items:start}.logo-preview-row{display:flex;align-items:center;gap:18px;background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:14px;margin-top:10px}.logo-preview-img{max-width:220px;max-height:72px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:10px;padding:8px}.checkline{display:flex;align-items:center;gap:8px;margin:0;font-weight:800}.checkline input{width:auto}@media(max-width:900px){.profile-trigger{min-width:0}.profile-meta{display:none}.admin-profile-menu{width:100%}.profile-dropdown{left:0;right:auto;width:min(100%,320px)}.twofa-box{grid-template-columns:1fr}.topbar{width:100%}}

/* v1.9 - modern media upload fields and media library */
.media-field>label{margin-top:0}.media-upload-box{border:1px solid #dbe3ef;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:16px;padding:14px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.media-preview{height:178px;border:1px dashed #c7d2e4;border-radius:14px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.media-preview img{width:100%;height:100%;object-fit:cover;display:block}.media-empty{text-align:center;color:#64748b;padding:18px}.media-empty-icon{display:inline-flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:14px;background:#eaf1ff;color:#2563eb;font-size:24px;margin-bottom:10px}.media-empty strong{display:block;color:#0f172a;font-size:14px}.media-empty small{display:block;margin-top:4px}.media-upload-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.media-file-btn{position:relative;overflow:hidden}.media-current{margin:10px 0 0;color:#64748b;font-size:12px}.media-current code{background:#eef2f7;border:1px solid #dbe3ef;border-radius:8px;padding:3px 6px;word-break:break-all}.media-modal{position:fixed;inset:0;z-index:100;display:none}.media-modal.open{display:block}.media-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px)}.media-modal-card{position:relative;width:min(1040px,calc(100vw - 34px));max-height:86vh;margin:6vh auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.32);overflow:hidden;display:flex;flex-direction:column}.media-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--border)}.media-modal-head h2{margin:0;font-size:24px}.media-modal-head p{margin:4px 0 0;color:#64748b}.media-modal-close{width:40px;height:40px;border:0;border-radius:12px;background:#f1f5f9;color:#0f172a;font-size:28px;line-height:1;cursor:pointer}.media-modal-toolbar{display:flex;gap:12px;align-items:center;padding:16px 24px;border-bottom:1px solid var(--border)}.media-modal-toolbar input{max-width:420px}.media-modal-grid{padding:22px 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:14px;overflow:auto}.media-loading,.empty-state{grid-column:1/-1;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:24px;text-align:center;color:#64748b;font-weight:800}.media-choice{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:8px;text-align:left;cursor:pointer;box-shadow:0 10px 25px rgba(15,23,42,.05);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.media-choice:hover{transform:translateY(-2px);border-color:#2563eb;box-shadow:0 18px 36px rgba(37,99,235,.12)}.media-choice img{width:100%;height:98px;object-fit:cover;border-radius:10px;background:#f1f5f9}.media-choice span{display:block;margin-top:8px;font-size:12px;font-weight:800;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-page-head{display:flex;align-items:center;justify-content:space-between;gap:22px}.media-page-head h2{margin:0 0 6px}.media-upload-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.media-drop-inline{margin:0!important;display:flex!important;align-items:center;gap:12px;border:1px dashed #bcd0eb;border-radius:16px;background:#f8fbff;padding:13px 15px;cursor:pointer;min-width:330px}.media-drop-inline input{display:none}.media-drop-inline small{display:block;color:#64748b;font-weight:600;margin-top:2px}.media-drop-icon{width:40px;height:40px;border-radius:12px;background:#eaf1ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.media-card{border:1px solid var(--border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 14px 32px rgba(15,23,42,.06);display:flex;flex-direction:column}.media-card-image{height:150px;background:#f1f5f9}.media-card-image img{width:100%;height:100%;object-fit:cover;display:block}.media-card-body{padding:12px 14px;display:grid;gap:6px}.media-card-body strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-body small{color:#64748b}.media-card-body code{font-size:11px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-actions{display:flex;gap:8px;padding:0 14px 14px}.media-card-actions .btn{padding:8px 10px;font-size:12px;flex:1}.media-card-actions .btn.danger{flex:0 0 auto}@media(max-width:900px){.media-page-head{align-items:stretch;flex-direction:column}.media-upload-inline{align-items:stretch}.media-drop-inline{min-width:0}.media-modal-card{margin:3vh auto;max-height:94vh}.media-modal-toolbar{flex-direction:column;align-items:stretch}.media-modal-toolbar input{max-width:none}.media-modal-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));padding:16px}.media-upload-actions .btn{width:100%}}

/* v2.0 - Modern admin refresh */
:root{--panel:#ffffff;--panel2:#f8fbff;--blue:#2563eb;--blue2:#60a5fa;--navy:#0f172a;--bg:#eef3f9;--border:#dbe5f2;--muted:#64748b;--danger:#dc2626;--green:#16a34a}
body{background:radial-gradient(circle at 10% 0%,rgba(37,99,235,.10),transparent 26%),linear-gradient(135deg,#eef3f9 0%,#f8fbff 100%);color:#101827}
.admin-layout{grid-template-columns:286px minmax(0,1fr)}
.sidebar{background:linear-gradient(180deg,#081326 0%,#0d1d36 58%,#0a1324 100%);box-shadow:22px 0 60px rgba(15,23,42,.12);padding:22px 18px;border-right:1px solid rgba(255,255,255,.06)}
.sidebar .brand{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:14px 14px;border-radius:18px;background:rgba(255,255,255,.08);color:#fff;font-size:17px;font-weight:950;letter-spacing:-.03em}
.sidebar .brand:before{content:"";width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#2563eb,#60a5fa);box-shadow:0 12px 28px rgba(37,99,235,.35)}
.sidebar a:not(.brand){display:flex;align-items:center;min-height:42px;margin:5px 0;padding:10px 13px;border-radius:13px;color:#bed0e8;font-weight:800;font-size:14px;transition:background .18s ease,color .18s ease,transform .18s ease}
.sidebar a:not(.brand):hover{background:rgba(255,255,255,.09);color:#fff;transform:translateX(2px)}
.sidebar a.active{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.28)}
.main{padding:28px;max-width:1460px;width:100%}
.topbar{position:sticky;top:0;z-index:15;margin:-28px -28px 28px;padding:20px 28px;background:rgba(248,251,255,.82);backdrop-filter:blur(16px);border-bottom:1px solid rgba(219,229,242,.82);box-shadow:0 10px 32px rgba(15,23,42,.06)}
.topbar h1{font-size:28px;line-height:1.15;letter-spacing:-.04em;margin:0;color:#0b1629}
.panel{background:rgba(255,255,255,.96);border:1px solid rgba(219,229,242,.95);border-radius:24px;box-shadow:0 22px 70px rgba(15,23,42,.08);padding:26px;margin-bottom:24px;overflow:hidden}
.panel h2{font-size:21px;letter-spacing:-.03em;margin:8px 0 18px;color:#0b1629}.panel h2:not(:first-child){margin-top:30px;padding-top:22px;border-top:1px solid var(--border)}
label{font-size:13px;font-weight:900;color:#23324a;margin-bottom:7px}input,select,textarea{border:1px solid #d7e1ee;background:#fff;border-radius:14px;min-height:46px;padding:12px 14px;font-size:14px;box-shadow:0 6px 16px rgba(15,23,42,.03);transition:border-color .18s ease,box-shadow .18s ease;background-color .18s ease}textarea{min-height:120px}input:focus,select:focus,textarea:focus{outline:0;border-color:#93b4ff;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.btn{border-radius:14px;min-height:44px;padding:11px 17px;font-weight:900;box-shadow:0 12px 26px rgba(37,99,235,.18);display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.light,.btn.secondary{box-shadow:none}.btn.light{background:#f1f5f9;color:#0f172a;border:1px solid #dbe5f2}.btn.secondary{background:#eaf1ff;color:#1d4ed8;border:1px solid #cfe0ff}.btn.danger{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca;box-shadow:none}.actions{display:flex;gap:10px;align-items:center;margin-top:22px;flex-wrap:wrap}
.table{border-radius:20px;overflow:hidden;box-shadow:0 16px 42px rgba(15,23,42,.06);border:1px solid var(--border)}.table th{background:#f8fbff;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.table td,.table th{padding:15px 16px;border-bottom:1px solid #edf2f8}.flash{border-radius:16px;padding:14px 16px;margin:0 0 18px;font-weight:850}.flash.ok{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.flash.err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.profile-trigger{border-radius:18px;padding:8px 11px;background:#fff;border-color:#dbe5f2;box-shadow:0 14px 34px rgba(15,23,42,.08)}.profile-dropdown{border-radius:20px;border-color:#dbe5f2;box-shadow:0 28px 80px rgba(15,23,42,.18)}
.media-upload-box{border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);border-color:#dbe5f2}.media-preview{border-radius:18px}.media-empty-icon{background:linear-gradient(135deg,#eaf1ff,#f8fbff);box-shadow:inset 0 0 0 1px #dbeafe}
/* Lightweight WYSIWYG editor */
.wysiwyg-source{display:none!important}.wysiwyg-shell{border:1px solid #d7e1ee;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.04);overflow:hidden}.wysiwyg-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #e7edf6;background:linear-gradient(180deg,#f8fbff,#f1f5f9)}.wysiwyg-toolbar button{border:1px solid #dbe5f2;background:#fff;color:#172238;border-radius:10px;min-height:34px;padding:7px 10px;font-weight:850;cursor:pointer}.wysiwyg-toolbar button:hover{border-color:#93b4ff;background:#eff6ff;color:#1d4ed8}.wysiwyg-sep{width:1px;height:24px;background:#dbe5f2;margin:0 2px}.wysiwyg-editor{min-height:180px;max-height:260px;overflow:auto;padding:14px 16px;outline:0;color:#1e293b;line-height:1.65}.wysiwyg-editor:focus{box-shadow:inset 0 0 0 4px rgba(37,99,235,.09)}.wysiwyg-editor h2{font-size:26px;line-height:1.25;margin:20px 0 10px}.wysiwyg-editor h3{font-size:21px;line-height:1.3;margin:18px 0 8px}.wysiwyg-editor p{margin:0 0 14px}.wysiwyg-editor ul,.wysiwyg-editor ol{padding-left:24px}.wysiwyg-help{padding:9px 13px;border-top:1px solid #edf2f8;background:#fbfdff;color:#64748b;font-size:12px}
@media(max-width:900px){.admin-layout{grid-template-columns:1fr}.sidebar{position:relative;border-radius:0}.main{padding:18px}.topbar{position:relative;margin:-18px -18px 18px;padding:18px}.panel{padding:18px;border-radius:20px}.grid.two,.grid.three,.stats{grid-template-columns:1fr}.topbar h1{font-size:24px}}

/* v2.2 - service listing and topbar refinements */
.sidebar .brand:before{
    content:"KRB";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:13px;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    color:#fff;
    font-size:13px;
    font-weight:950;
    letter-spacing:-.04em;
    box-shadow:0 12px 28px rgba(37,99,235,.35);
}
.main{max-width:none!important;width:100%;}
.topbar-right{display:flex;align-items:center;gap:12px;margin-left:auto;}
.topbar-right .admin-profile-menu{margin-left:0;}
.support-link{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:9px 14px;border-radius:16px;background:#fff;border:1px solid #dbe5f2;color:#1d4ed8;font-weight:900;box-shadow:0 14px 34px rgba(15,23,42,.06);white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.support-link:hover{transform:translateY(-1px);border-color:#bcd0ff;box-shadow:0 18px 42px rgba(37,99,235,.12);}
.support-icon{width:25px;height:25px;border-radius:999px;background:#eaf1ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-weight:950;}
.panel-head.actions{margin-top:0;margin-bottom:16px;}
.admin-list-table{box-shadow:none;table-layout:fixed;}
.services-list-table th:nth-child(1),.services-list-table td:nth-child(1){width:110px;}
.services-list-table th:nth-child(3),.services-list-table td:nth-child(3){width:92px;}
.services-list-table th:nth-child(4),.services-list-table td:nth-child(4){width:70px;}
.services-list-table th:nth-child(5),.services-list-table td:nth-child(5){width:190px;}
.services-list-table .title-cell{min-width:0;}
.services-list-table .title-cell b{display:block;margin-bottom:4px;}
.services-list-table .title-cell .muted{display:block;max-width:920px;line-height:1.45;}
.table .row-actions{margin-top:0;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;white-space:nowrap;}
.table .row-actions .btn{min-height:40px;padding:9px 13px;border-radius:12px;}
@media(max-width:900px){
    .topbar{align-items:flex-start;}
    .topbar-right{width:100%;margin-left:0;justify-content:space-between;align-items:center;}
    .support-link{min-height:42px;padding:8px 12px;}
    .profile-trigger{min-width:0;}
    .admin-list-table{min-width:720px;table-layout:auto;}
}

/* v2.9 - Modern panel polish and aligned list actions */
:root{
    --admin-bg:#f3f7fc;
    --admin-card:#ffffff;
    --admin-line:#e4ecf7;
    --admin-text:#0b1629;
    --admin-soft:#f8fbff;
    --admin-blue:#2563eb;
    --admin-blue-dark:#1d4ed8;
    --admin-red:#dc2626;
    --admin-red-soft:#fff1f2;
    --admin-green:#047857;
    --admin-green-soft:#dcfce7;
}
body{
    background:
        radial-gradient(circle at 9% 0%,rgba(37,99,235,.12),transparent 25%),
        radial-gradient(circle at 96% 8%,rgba(96,165,250,.13),transparent 22%),
        linear-gradient(135deg,#edf4fb 0%,#f8fbff 54%,#eef5ff 100%)!important;
    color:var(--admin-text)!important;
}
.admin-layout{grid-template-columns:292px minmax(0,1fr)!important;}
.sidebar{
    padding:22px 16px!important;
    background:linear-gradient(180deg,#06152c 0%,#0b1b34 50%,#071326 100%)!important;
    box-shadow:24px 0 70px rgba(8,19,38,.20)!important;
}
.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
.sidebar .brand{
    min-height:66px!important;
    border-radius:20px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.06))!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 38px rgba(0,0,0,.18)!important;
}
.sidebar a:not(.brand){
    min-height:43px!important;
    border-radius:14px!important;
    padding:10px 13px!important;
    color:#c7d7ee!important;
    letter-spacing:-.01em;
}
.sidebar a:not(.brand):hover{background:rgba(255,255,255,.10)!important;color:#fff!important;}
.sidebar a.active{background:linear-gradient(135deg,#2563eb 0%,#3b82f6 100%)!important;color:#fff!important;box-shadow:0 14px 30px rgba(37,99,235,.34)!important;}
.main{padding:30px 34px!important;max-width:none!important;width:100%!important;}
.topbar{
    min-height:88px!important;
    margin:-30px -34px 30px!important;
    padding:18px 34px!important;
    background:rgba(248,251,255,.86)!important;
    backdrop-filter:blur(18px)!important;
    border-bottom:1px solid rgba(219,229,242,.90)!important;
    box-shadow:0 16px 46px rgba(15,23,42,.08)!important;
}
.topbar h1{font-size:30px!important;font-weight:950!important;color:#081326!important;letter-spacing:-.055em!important;}
.topbar-right{gap:12px!important;}
.support-link,.profile-trigger{
    min-height:50px!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid #dbe6f4!important;
    box-shadow:0 14px 34px rgba(15,23,42,.08)!important;
}
.support-link{padding:9px 16px!important;}
.profile-trigger{padding:8px 12px!important;}
.avatar{background:linear-gradient(135deg,#2563eb,#60a5fa)!important;box-shadow:0 12px 22px rgba(37,99,235,.24)!important;}
.panel{
    border-radius:28px!important;
    border:1px solid rgba(219,229,242,.96)!important;
    box-shadow:0 24px 75px rgba(15,23,42,.085)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94))!important;
}
.list-panel{padding:28px 28px 30px!important;overflow:hidden!important;}
.list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 22px!important;}
.list-head .muted{margin:6px 0 0!important;font-size:15px!important;line-height:1.55!important;max-width:780px!important;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#2563eb;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.eyebrow:before{content:"";width:8px;height:8px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 5px rgba(37,99,235,.10);}
.table-wrap{width:100%;overflow:auto;border-radius:22px;border:1px solid var(--admin-line);background:#fff;box-shadow:0 16px 44px rgba(15,23,42,.055);}
.table{
    width:100%!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    border-collapse:separate!important;
    border-spacing:0!important;
}
.table th{
    height:54px!important;
    padding:16px 18px!important;
    background:linear-gradient(180deg,#f9fbff,#f3f7fc)!important;
    color:#1e293b!important;
    font-size:12px!important;
    font-weight:950!important;
    letter-spacing:.055em!important;
    border-bottom:1px solid var(--admin-line)!important;
}
.table td{
    height:78px!important;
    padding:17px 18px!important;
    vertical-align:middle!important;
    border-bottom:1px solid #edf3fa!important;
    color:#0f172a!important;
    background:#fff!important;
}
.table tr:last-child td{border-bottom:0!important;}
.table tr:hover td{background:#fbfdff!important;}
.title-cell b{display:block;font-size:15px;font-weight:950;letter-spacing:-.015em;margin:0 0 5px;color:#06152c;}
.title-cell .muted{display:block;line-height:1.45;color:#5d6f89;font-size:14px;max-width:980px;}
.content-cell{font-size:15px;line-height:1.5;max-width:860px;color:#24344d!important;}
.code-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;color:#334155!important;word-break:break-word;}
.number-cell{font-weight:850;color:#0f172a!important;white-space:nowrap;}
.status-cell{width:104px!important;white-space:nowrap!important;}
.action-cell{width:242px!important;white-space:nowrap!important;padding-right:24px!important;}
.badge{
    min-width:72px!important;
    height:31px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#e0f2fe!important;
    color:#075985!important;
    border:1px solid rgba(14,165,233,.14)!important;
    font-size:12px!important;
    font-weight:950!important;
    line-height:1!important;
}
.badge.off{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important;}
.badge.neutral{background:#f1f5f9!important;color:#334155!important;border-color:#e2e8f0!important;}
.row-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:0!important;white-space:nowrap!important;}
.table td.actions{display:table-cell!important;margin:0!important;vertical-align:middle!important;white-space:nowrap!important;}
.table td.actions .btn,.row-actions .btn{
    width:92px!important;
    min-width:92px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 12px!important;
    border-radius:14px!important;
    font-size:14px!important;
    line-height:1!important;
    box-shadow:none!important;
}
.table td.actions .btn + .btn{margin-left:8px!important;}
.btn{
    min-height:46px!important;
    border-radius:15px!important;
    padding:0 18px!important;
    background:linear-gradient(135deg,#2563eb,#2f6df4)!important;
    color:#fff!important;
    border:1px solid rgba(37,99,235,.16)!important;
    box-shadow:0 16px 32px rgba(37,99,235,.22)!important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(37,99,235,.26)!important;}
.btn.light{background:#f4f8fd!important;color:#0f172a!important;border:1px solid #dbe6f4!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;}
.btn.light:hover{background:#edf5ff!important;border-color:#c6d7ef!important;box-shadow:0 12px 24px rgba(15,23,42,.08)!important;}
.btn.danger{background:#fff1f2!important;color:#be123c!important;border:1px solid #fecdd3!important;box-shadow:none!important;}
.btn.danger:hover{background:#ffe4e6!important;border-color:#fda4af!important;box-shadow:0 12px 24px rgba(225,29,72,.10)!important;}
.btn.secondary{background:#eaf1ff!important;color:#1d4ed8!important;border:1px solid #cfe0ff!important;box-shadow:none!important;}
.thumb{width:86px!important;height:56px!important;border-radius:14px!important;border:1px solid #dbe6f4!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;background:#f8fafc!important;}
input,select,textarea{border-radius:15px!important;border-color:#dbe6f4!important;background:#fff!important;}
input:focus,select:focus,textarea:focus{border-color:#93b4ff!important;box-shadow:0 0 0 4px rgba(37,99,235,.11)!important;}
.grid{gap:20px!important;}.stats{gap:20px!important;}.stat{border-radius:24px!important;border-color:#dbe6f4!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 18px 48px rgba(15,23,42,.07)!important;}.stat span{color:#64748b;font-weight:850}.stat strong{color:#06152c;letter-spacing:-.045em}
.admin-list-table{min-width:860px!important;table-layout:fixed!important;}
.services-list-table th:nth-child(1),.services-list-table td:nth-child(1),.posts-list-table th:nth-child(1),.posts-list-table td:nth-child(1){width:116px!important;}
.services-list-table th:nth-child(3),.services-list-table td:nth-child(3),.posts-list-table th:nth-child(4),.posts-list-table td:nth-child(4){width:108px!important;}
.services-list-table th:nth-child(4),.services-list-table td:nth-child(4),.regions-list-table th:nth-child(4),.regions-list-table td:nth-child(4),.pages-list-table th:nth-child(4),.pages-list-table td:nth-child(4),.faqs-list-table th:nth-child(3),.faqs-list-table td:nth-child(3),.menus-list-table th:nth-child(5),.menus-list-table td:nth-child(5){width:84px!important;}
.services-list-table th:nth-child(5),.services-list-table td:nth-child(5),.testimonials-list-table th:nth-child(5),.testimonials-list-table td:nth-child(5),.regions-list-table th:nth-child(5),.regions-list-table td:nth-child(5),.pages-list-table th:nth-child(5),.pages-list-table td:nth-child(5),.posts-list-table th:nth-child(5),.posts-list-table td:nth-child(5),.faqs-list-table th:nth-child(4),.faqs-list-table td:nth-child(4),.categories-list-table th:nth-child(4),.categories-list-table td:nth-child(4),.menus-list-table th:nth-child(6),.menus-list-table td:nth-child(6),.users-list-table th:nth-child(6),.users-list-table td:nth-child(6){width:242px!important;}
.testimonials-list-table th:nth-child(1),.testimonials-list-table td:nth-child(1){width:135px!important;}.testimonials-list-table th:nth-child(3),.testimonials-list-table td:nth-child(3){width:84px!important;}.testimonials-list-table th:nth-child(4),.testimonials-list-table td:nth-child(4){width:108px!important;}
.regions-list-table th:nth-child(2),.regions-list-table td:nth-child(2),.pages-list-table th:nth-child(2),.pages-list-table td:nth-child(2),.categories-list-table th:nth-child(2),.categories-list-table td:nth-child(2){width:220px!important;}
.menus-list-table th:nth-child(1),.menus-list-table td:nth-child(1),.menus-list-table th:nth-child(4),.menus-list-table td:nth-child(4),.users-list-table th:nth-child(4),.users-list-table td:nth-child(4),.users-list-table th:nth-child(5),.users-list-table td:nth-child(5){width:108px!important;}
@media(max-width:900px){
    .admin-layout{grid-template-columns:1fr!important;}
    .sidebar{position:relative!important;height:auto!important;border-radius:0!important;}
    .main{padding:18px!important;}
    .topbar{position:relative!important;margin:-18px -18px 20px!important;padding:18px!important;min-height:auto!important;}
    .topbar-right{width:100%!important;align-items:center!important;}
    .list-panel{padding:18px!important;border-radius:22px!important;}
    .list-head{align-items:stretch!important;flex-direction:column!important;}
    .list-head .btn{width:100%!important;}
    .table-wrap{border-radius:18px!important;}
    .admin-list-table{min-width:760px!important;}
}

/* v3.0 - Modern dashboard and premium sidebar */
:root{
    --admin-sidebar-1:#071427;
    --admin-sidebar-2:#0b1d38;
    --admin-sidebar-3:#0d2547;
    --admin-glow:rgba(59,130,246,.35);
}
.admin-layout{grid-template-columns:300px minmax(0,1fr)!important;}
.sidebar{
    padding:18px!important;
    background:
        radial-gradient(circle at 25% 0%,rgba(59,130,246,.26),transparent 28%),
        radial-gradient(circle at 85% 22%,rgba(14,165,233,.16),transparent 24%),
        linear-gradient(180deg,var(--admin-sidebar-3) 0%,var(--admin-sidebar-2) 38%,var(--admin-sidebar-1) 100%)!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
}
.sidebar .brand:before{content:none!important;display:none!important;}
.sidebar .brand{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-height:72px!important;
    padding:13px!important;
    margin:0 0 18px!important;
    color:#fff!important;
    border-radius:22px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.06))!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 22px 46px rgba(0,0,0,.22)!important;
}
.brand-mark{
    width:44px;height:44px;flex:0 0 44px;border-radius:16px;
    display:inline-flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#2f6df4,#60a5fa);
    color:#fff;font-size:14px;font-weight:950;letter-spacing:-.05em;
    box-shadow:0 16px 34px rgba(37,99,235,.42);
}
.brand-text{display:flex;flex-direction:column;line-height:1.08;min-width:0;}
.brand-text b{font-size:17px;font-weight:950;letter-spacing:-.04em;white-space:nowrap;}
.brand-text small{font-size:11px;color:#9fb7da;font-weight:850;letter-spacing:.06em;text-transform:uppercase;margin-top:4px;}
.sidebar-nav{display:flex;flex-direction:column;gap:13px;}
.nav-group{padding:9px;border-radius:20px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.045);}
.nav-title{padding:6px 9px 9px;color:#7f99bd;font-size:11px;font-weight:950;letter-spacing:.10em;text-transform:uppercase;}
.sidebar a:not(.brand),.sidebar-mini-link{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    min-height:44px!important;
    padding:10px 11px!important;
    border-radius:15px!important;
    color:#c8d7ee!important;
    font-size:14px!important;
    font-weight:850!important;
    letter-spacing:-.012em!important;
    transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.sidebar a:not(.brand):hover,.sidebar-mini-link:hover{
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
    transform:translateX(2px);
}
.sidebar a.active{
    background:linear-gradient(135deg,#2563eb,#3b82f6)!important;
    color:#fff!important;
    box-shadow:0 16px 32px rgba(37,99,235,.33),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.nav-icon{
    width:28px;height:28px;flex:0 0 28px;border-radius:11px;
    display:inline-flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.085);
    border:1px solid rgba(255,255,255,.06);
    color:#bfdbfe;font-size:13px;font-weight:950;line-height:1;
}
.sidebar a.active .nav-icon{background:rgba(255,255,255,.18);color:#fff;border-color:rgba(255,255,255,.16);}
.sidebar-footer-actions{margin-top:16px;padding:10px;border-radius:20px;background:rgba(0,0,0,.14);border:1px solid rgba(255,255,255,.05);}
.sidebar-mini-link.logout{color:#fecdd3!important;}
.topbar-subtitle{margin:5px 0 0;color:#64748b;font-size:13px;font-weight:750;}
.topbar{position:sticky!important;top:0!important;z-index:10!important;}

.dashboard-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) 270px;
    align-items:center;
    gap:24px;
    padding:30px!important;
    overflow:hidden;
    position:relative;
    background:
        radial-gradient(circle at 5% 12%,rgba(37,99,235,.16),transparent 30%),
        radial-gradient(circle at 80% 0%,rgba(96,165,250,.22),transparent 32%),
        linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#edf5ff 100%)!important;
}
.dashboard-hero:after{
    content:"";position:absolute;right:-78px;bottom:-120px;width:290px;height:290px;border-radius:999px;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(96,165,250,.20));
    pointer-events:none;
}
.dashboard-hero-content{position:relative;z-index:1;}
.dashboard-hero h2{margin:12px 0 8px;font-size:34px;line-height:1.06;letter-spacing:-.06em;color:#071326;}
.dashboard-hero p{margin:0;max-width:690px;color:#5c6f8b;font-size:16px;line-height:1.65;}
.dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;}
.dashboard-health-card{
    position:relative;z-index:1;border-radius:24px;padding:22px;
    background:rgba(255,255,255,.76);border:1px solid #dbe6f4;
    box-shadow:0 22px 54px rgba(15,23,42,.09);
    display:flex;flex-direction:column;gap:7px;min-height:170px;justify-content:center;
}
.health-dot{width:14px;height:14px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 8px rgba(34,197,94,.12),0 0 24px rgba(34,197,94,.38);}
.dashboard-health-card b{font-size:13px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;}
.dashboard-health-card strong{font-size:30px;letter-spacing:-.05em;color:#052e16;}
.dashboard-health-card small{color:#64748b;line-height:1.45;}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px;}
.dashboard-stat{
    min-height:132px;border-radius:26px;padding:20px;
    display:flex;align-items:center;gap:15px;
    background:rgba(255,255,255,.92);border:1px solid #dbe6f4;
    box-shadow:0 18px 48px rgba(15,23,42,.075);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.dashboard-stat:hover{transform:translateY(-3px);box-shadow:0 24px 60px rgba(15,23,42,.105);border-color:#bdd3f4;}
.dashboard-stat-icon{width:54px;height:54px;border-radius:19px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:950;}
.dashboard-stat-meta{display:flex;flex-direction:column;gap:3px;}
.dashboard-stat-meta small{color:#64748b;font-weight:850;}
.dashboard-stat-meta strong{font-size:34px;letter-spacing:-.055em;color:#06152c;}
.stat-blue .dashboard-stat-icon{background:#eaf1ff;color:#2563eb;}.stat-green .dashboard-stat-icon{background:#dcfce7;color:#047857;}.stat-purple .dashboard-stat-icon{background:#f3e8ff;color:#7e22ce;}.stat-orange .dashboard-stat-icon{background:#ffedd5;color:#c2410c;}
.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;align-items:start;}
.dashboard-grid-wide{grid-template-columns:1fr 1fr;}
.dashboard-card{padding:26px!important;}
.dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 18px;}
.dashboard-card h2{margin:7px 0 0;font-size:23px;letter-spacing:-.045em;color:#071326;}
.quick-action-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.quick-action-list a{
    display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;align-items:center;
    min-height:96px;padding:14px;border-radius:20px;background:#f8fbff;border:1px solid #e2eaf5;
    transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.quick-action-list a:hover{transform:translateY(-2px);background:#fff;border-color:#cdddf3;box-shadow:0 18px 40px rgba(15,23,42,.07);}
.quick-action-list a>span{grid-row:1/3;width:44px;height:44px;border-radius:16px;background:#eaf1ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:950;}
.quick-action-list b{font-size:15px;color:#071326;}.quick-action-list small{display:block;margin-top:4px;color:#64748b;line-height:1.35;}
.compact-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.compact-metrics div{padding:16px;border-radius:18px;background:#f8fbff;border:1px solid #e2eaf5;}
.compact-metrics span{display:block;color:#64748b;font-size:13px;font-weight:850;line-height:1.35;}.compact-metrics b{display:block;margin-top:8px;font-size:28px;color:#071326;letter-spacing:-.05em;}
.mini-list{display:flex;flex-direction:column;gap:10px;}
.mini-list a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:18px;background:#f8fbff;border:1px solid #e6eef8;transition:background .18s ease,transform .18s ease,border-color .18s ease;}
.mini-list a:hover{background:#fff;transform:translateX(2px);border-color:#cdddf3;}
.mini-list-icon{width:42px;height:42px;border-radius:15px;background:#eaf1ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:950;}
.mini-list b{display:block;color:#071326;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.mini-list small{display:block;color:#64748b;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.mini-list .badge{min-width:74px!important;}
.empty-state{padding:22px;border:1px dashed #cdddf3;border-radius:18px;background:#f8fbff;color:#64748b;font-weight:850;text-align:center;}.empty-state.success{background:#f0fdf4;color:#166534;border-color:#bbf7d0;}
.dashboard-table-wrap{box-shadow:none!important;}.dashboard-log-table td{height:62px!important;}.dashboard-log-table code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:4px 7px;}.empty-table-cell{text-align:center!important;color:#64748b!important;padding:28px!important;}
@media(max-width:1180px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}.dashboard-hero{grid-template-columns:1fr}.dashboard-health-card{max-width:420px}.dashboard-grid,.dashboard-grid-wide{grid-template-columns:1fr}}
@media(max-width:900px){
    .admin-layout{grid-template-columns:1fr!important;}
    .sidebar{position:relative!important;height:auto!important;border-radius:0!important;}
    .sidebar-nav{gap:10px}.nav-group{padding:8px}.sidebar-footer-actions{margin-bottom:0;}
    .topbar{position:relative!important;top:auto!important;}
    .topbar-subtitle{display:none;}
    .dashboard-stats{grid-template-columns:1fr}.quick-action-list{grid-template-columns:1fr}.compact-metrics{grid-template-columns:1fr}.dashboard-hero h2{font-size:28px}.dashboard-hero{padding:22px!important}.dashboard-card{padding:20px!important}.dashboard-card-head{flex-direction:column}.dashboard-card-head .btn{width:100%;}
}


/* v3.2 - SEO karakter sayaçları */
.seo-counter-wrap{position:relative;}
.seo-char-counter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;padding:8px 10px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:800;line-height:1.35;transition:.18s ease;}
.seo-char-counter strong{color:#0f172a;font-weight:950;}
.seo-char-counter .seo-counter-warning{display:none;color:#b91c1c;font-weight:950;}
.seo-char-counter.is-over{background:#fff1f2;border-color:#fecaca;color:#b91c1c;box-shadow:0 10px 24px rgba(220,38,38,.06);}
.seo-char-counter.is-over strong{color:#b91c1c;}
.seo-char-counter.is-over .seo-counter-warning{display:inline;}
.seo-char-counter.is-good{background:#f0fdf4;border-color:#bbf7d0;color:#166534;}
.seo-char-counter.is-good strong{color:#166534;}
@media(max-width:700px){.seo-char-counter{align-items:flex-start;flex-direction:column;gap:4px;}}

/* v3.3 - Metin editörü kompakt görünüm */
.wysiwyg-shell{max-width:100%;}
.wysiwyg-toolbar{position:sticky!important;top:0!important;z-index:3!important;padding:8px!important;gap:5px!important;}
.wysiwyg-toolbar button{min-height:30px!important;padding:5px 8px!important;border-radius:9px!important;font-size:12px!important;}
.wysiwyg-help{padding:7px 11px!important;font-size:11px!important;}
.wysiwyg-editor{min-height:180px!important;max-height:260px!important;overflow:auto!important;padding:14px 16px!important;line-height:1.65!important;}
@media(max-width:900px){.wysiwyg-editor{min-height:155px!important;max-height:220px!important;}}


/* v3.4 - Metin editörü büyütme/küçültme ve blog yazısını gör butonu */
.wysiwyg-editor{
    min-height:240px!important;
    height:260px!important;
    max-height:none!important;
    resize:vertical!important;
    overflow:auto!important;
    padding:15px 17px!important;
}
.wysiwyg-help::after{
    content:" Sağ alt köşeden tutup editör yüksekliğini değiştirebilirsiniz.";
    color:#475569;
    font-weight:800;
}
.posts-list-table th:nth-child(5),
.posts-list-table td:nth-child(5){
    width:340px!important;
}
.posts-list-table .action-cell{
    width:340px!important;
    padding-right:24px!important;
}
.row-actions .btn.view-post-btn{
    width:118px!important;
    min-width:118px!important;
}
@media(max-width:900px){
    .wysiwyg-editor{min-height:210px!important;height:230px!important;}
    .posts-list-table th:nth-child(5),
    .posts-list-table td:nth-child(5),
    .posts-list-table .action-cell{width:340px!important;}
}


/* v3.6 - Çöp kutusu görünümü */
.trash-panel .trash-list-table .action-cell{width:270px!important;}
.trash-panel .row-actions .btn{width:112px!important;min-width:112px!important;font-size:13px!important;}
.trash-panel .row-actions .btn.danger{width:128px!important;min-width:128px!important;}

/* v3.8 - WordPress tarzı dinamik menü yönetimi */
.menu-builder-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px;align-items:start}.menu-sources-panel,.menu-structure-panel{padding:24px!important}.panel-head.compact{margin-bottom:18px}.panel-head.compact h2{margin:4px 0 2px;font-size:24px;letter-spacing:-.035em}.menu-location-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.menu-location-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border-radius:999px;border:1px solid #dbe5f2;background:#fff;color:#334155;font-size:13px;font-weight:900}.menu-location-tabs a.active{background:#0f172a;color:#fff;border-color:#0f172a}.menu-add-form select{margin-bottom:14px}.menu-source-groups{display:grid;gap:10px;margin:16px 0}.menu-source-groups details{border:1px solid #e2e8f0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(15,23,42,.04)}.menu-source-groups summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:950;color:#0f172a;display:flex;align-items:center;justify-content:space-between}.menu-source-groups summary::-webkit-details-marker{display:none}.menu-source-groups summary:after{content:'+';width:26px;height:26px;border-radius:9px;background:#eaf1ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-weight:950}.menu-source-groups details[open] summary:after{content:'−'}.menu-source-list{max-height:260px;overflow:auto;padding:8px 12px 14px;border-top:1px solid #eef2f7;background:#fbfdff}.menu-source-item{margin:0!important;padding:9px 8px!important;border-radius:10px;display:flex!important;align-items:center;gap:10px;font-size:14px;font-weight:750;color:#334155;cursor:pointer}.menu-source-item:hover{background:#f1f5f9}.menu-source-item input{width:auto!important;margin:0}.menu-empty{padding:12px;color:#64748b;font-size:13px;font-weight:800}.custom-menu-form{margin-top:22px;padding-top:18px;border-top:1px solid #e2e8f0}.custom-menu-form h3{margin:0 0 10px;font-size:18px;letter-spacing:-.02em}.custom-menu-form .btn,.menu-add-form .btn{width:100%;margin-top:14px}.menu-items-list{display:grid;gap:14px}.menu-edit-card{border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);padding:16px;box-shadow:0 12px 32px rgba(15,23,42,.05)}.menu-edit-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.menu-edit-head b{display:block;font-size:16px;color:#071326;letter-spacing:-.02em}.menu-edit-head span{display:inline-flex;margin-top:4px;font-size:12px;font-weight:900;color:#2563eb;background:#eaf1ff;border-radius:999px;padding:4px 9px}.btn.mini{min-height:34px!important;height:34px!important;padding:0 12px!important;font-size:12px!important;border-radius:11px!important;width:auto!important;min-width:58px!important}.menu-edit-grid{grid-template-columns:1.1fr 1.25fr .95fr!important;gap:12px!important}.menu-edit-grid label{font-size:12px;color:#64748b;margin-top:0}.menu-edit-grid input,.menu-edit-grid select{height:42px;border-radius:12px}.menu-preview-url{margin-top:12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;padding:9px 12px;color:#64748b;font-size:12px;font-weight:800}.menu-preview-url code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#0f172a;word-break:break-all}.sticky-save-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.78),#fff 55%);padding:18px 0 0;margin-top:18px;justify-content:flex-end!important}@media(max-width:1180px){.menu-builder-layout{grid-template-columns:1fr}.menu-location-tabs{justify-content:flex-start}.menu-edit-grid{grid-template-columns:1fr 1fr!important}}@media(max-width:720px){.menu-edit-grid{grid-template-columns:1fr!important}.menu-edit-head{align-items:flex-start;flex-direction:column}.menu-edit-head .btn{width:100%!important}.sticky-save-actions .btn{width:100%}.menu-sources-panel,.menu-structure-panel{padding:18px!important}}


/* v3.9 - WordPress tarzı kapalı menü nesneleri ve sürükle-bırak sıralama */
.menu-sortable-list{display:grid!important;gap:12px!important;}
.menu-sortable-item{position:relative!important;display:block!important;padding:0!important;overflow:hidden!important;cursor:default!important;}
.menu-sortable-item[draggable="true"]{user-select:none;}
.menu-sortable-item.is-dragging{opacity:.46!important;transform:scale(.995)!important;border-color:#2563eb!important;box-shadow:0 18px 50px rgba(37,99,235,.18)!important;}
.menu-sortable-item.drag-over{border-color:#2563eb!important;background:#f7fbff!important;}
.menu-edit-summary{display:grid!important;grid-template-columns:42px minmax(180px,1.15fr) minmax(180px,1fr) auto auto auto!important;gap:12px!important;align-items:center!important;padding:15px 16px!important;list-style:none!important;cursor:pointer!important;}
.menu-edit-summary::-webkit-details-marker{display:none!important;}
.menu-drag-handle{width:34px;height:34px;border-radius:12px;background:#eef5ff;color:#2563eb;border:1px solid #d9e7ff;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:950;cursor:grab;line-height:1;}
.menu-drag-handle:active{cursor:grabbing;}
.menu-title-group{min-width:0;display:block;}
.menu-title-group b{display:block;font-size:15px;font-weight:950;color:#071326;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.menu-title-group span{display:inline-flex;margin-top:5px;font-size:12px;font-weight:900;color:#2563eb;background:#eaf1ff;border-radius:999px;padding:4px 9px;}
.menu-current-url{font-size:12px;font-weight:800;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px;}
.menu-order-badge{min-width:44px;height:30px;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:950;}
.menu-detail-toggle{height:34px;border-radius:999px;background:#0f172a;color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:12px;font-weight:950;white-space:nowrap;}
.menu-sortable-item[open] .menu-detail-toggle{background:#eaf1ff;color:#1d4ed8;}
.menu-sortable-item[open] .menu-detail-toggle:after{content:' açık';}
.menu-edit-body{border-top:1px solid #eef2f7;padding:16px;background:#fff;}
.menu-sort-input[readonly]{background:#f8fafc!important;color:#334155!important;cursor:not-allowed;}
.menu-sort-help{display:block;margin-top:6px;color:#64748b;font-size:11px;font-weight:750;}
.menu-sortable-placeholder{height:76px;border:2px dashed #9dbaf3;border-radius:18px;background:#f4f8ff;}
@media(max-width:1180px){.menu-edit-summary{grid-template-columns:40px minmax(0,1fr) auto auto!important;}.menu-current-url{display:none!important;}}
@media(max-width:720px){.menu-edit-summary{grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important;padding:13px!important;}.menu-order-badge,.menu-detail-toggle{display:none!important;}.menu-edit-summary .btn.mini{grid-column:2/4;width:100%!important;margin-top:4px;}.menu-edit-body{padding:13px;}}



/* v4.2 - Admin panel mobil uyumluluk düzeltmeleri */
.admin-mobile-bar,
.sidebar-backdrop,
.sidebar-close{display:none;}

@media (max-width: 980px){
    html,body{max-width:100%;overflow-x:hidden;}
    body.admin-menu-open{overflow:hidden;}
    .admin-mobile-bar{
        position:sticky!important;
        top:0!important;
        z-index:900!important;
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:10px!important;
        min-height:62px!important;
        padding:10px 14px!important;
        background:rgba(248,251,255,.94)!important;
        border-bottom:1px solid #dbe5f2!important;
        backdrop-filter:blur(16px)!important;
        box-shadow:0 10px 30px rgba(15,23,42,.08)!important;
    }
    .admin-mobile-menu-btn{
        width:44px!important;
        height:44px!important;
        border:1px solid #dbe5f2!important;
        border-radius:15px!important;
        background:#fff!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        flex-direction:column!important;
        gap:5px!important;
        padding:0!important;
        box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
        cursor:pointer!important;
    }
    .admin-mobile-menu-btn span{
        width:20px!important;
        height:2px!important;
        border-radius:99px!important;
        background:#0f172a!important;
        display:block!important;
    }
    .admin-mobile-brand{
        min-width:0!important;
        display:flex!important;
        align-items:center!important;
        gap:9px!important;
        color:#0f172a!important;
        font-weight:950!important;
        letter-spacing:-.03em!important;
    }
    .admin-mobile-brand span{
        width:36px!important;
        height:36px!important;
        border-radius:13px!important;
        background:linear-gradient(135deg,#2563eb,#60a5fa)!important;
        color:#fff!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        font-size:12px!important;
        box-shadow:0 10px 24px rgba(37,99,235,.22)!important;
    }
    .admin-mobile-brand b{
        display:block!important;
        max-width:42vw!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .admin-mobile-site{
        height:38px!important;
        min-width:48px!important;
        padding:0 12px!important;
        border-radius:13px!important;
        background:#eaf1ff!important;
        color:#1d4ed8!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        font-size:13px!important;
        font-weight:950!important;
        border:1px solid #cfe0ff!important;
    }
    .admin-layout{display:block!important;grid-template-columns:1fr!important;min-height:auto!important;}
    .sidebar{
        position:fixed!important;
        top:0!important;
        left:0!important;
        bottom:0!important;
        width:min(318px,88vw)!important;
        height:100dvh!important;
        max-height:100dvh!important;
        z-index:1001!important;
        overflow-y:auto!important;
        -webkit-overflow-scrolling:touch!important;
        transform:translateX(-108%)!important;
        transition:transform .24s ease!important;
        border-radius:0 24px 24px 0!important;
        padding:18px 14px 20px!important;
        box-shadow:28px 0 80px rgba(2,6,23,.36)!important;
    }
    body.admin-menu-open .sidebar{transform:translateX(0)!important;}
    .sidebar-backdrop{
        position:fixed!important;
        inset:0!important;
        z-index:1000!important;
        background:rgba(15,23,42,.54)!important;
        backdrop-filter:blur(3px)!important;
        display:block!important;
        opacity:0!important;
        pointer-events:none!important;
        transition:opacity .2s ease!important;
    }
    body.admin-menu-open .sidebar-backdrop{opacity:1!important;pointer-events:auto!important;}
    .sidebar-close{
        position:absolute!important;
        top:16px!important;
        right:14px!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:38px!important;
        height:38px!important;
        border:1px solid rgba(255,255,255,.12)!important;
        border-radius:14px!important;
        background:rgba(255,255,255,.10)!important;
        color:#fff!important;
        font-size:26px!important;
        line-height:1!important;
        cursor:pointer!important;
        z-index:2!important;
    }
    .sidebar .brand{padding-right:48px!important;margin-bottom:14px!important;}
    .sidebar-nav{gap:8px!important;}
    .nav-group{padding:8px!important;border-radius:18px!important;}
    .nav-title{font-size:11px!important;margin-bottom:6px!important;}
    .sidebar a:not(.brand),.sidebar-mini-link{min-height:40px!important;padding:9px 10px!important;font-size:13px!important;border-radius:12px!important;}
    .nav-icon{width:30px!important;height:30px!important;min-width:30px!important;border-radius:10px!important;font-size:14px!important;}
    .sidebar-footer-actions{margin-top:10px!important;padding:8px!important;}

    .main{padding:14px!important;min-width:0!important;width:100%!important;}
    .topbar{
        position:relative!important;
        top:auto!important;
        z-index:5!important;
        margin:0 0 14px!important;
        padding:14px!important;
        border:1px solid #dbe5f2!important;
        border-radius:22px!important;
        background:#fff!important;
        box-shadow:0 14px 35px rgba(15,23,42,.06)!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:12px!important;
    }
    .topbar h1{font-size:23px!important;line-height:1.2!important;word-break:break-word!important;}
    .topbar-subtitle{display:block!important;font-size:12px!important;margin-top:4px!important;}
    .topbar-right{width:100%!important;margin-left:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;align-items:center!important;}
    .support-link{width:100%!important;min-height:42px!important;justify-content:center!important;border-radius:14px!important;font-size:13px!important;}
    .admin-profile-menu{width:auto!important;min-width:0!important;}
    .profile-trigger{height:42px!important;min-height:42px!important;padding:0 9px!important;border-radius:14px!important;}
    .profile-trigger .profile-meta{display:none!important;}
    .profile-dropdown{position:absolute!important;right:0!important;top:calc(100% + 8px)!important;width:min(310px,calc(100vw - 28px))!important;}

    .panel,.dashboard-card,.media-modal-card{border-radius:20px!important;}
    .panel{padding:16px!important;margin-bottom:14px!important;}
    .panel-head,.list-head,.media-page-head,.dashboard-card-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;}
    .panel-head .btn,.list-head .btn,.media-page-head .btn{width:100%!important;}
    .grid,.grid.two,.grid.three,.stats,.dashboard-stats,.dashboard-grid,.dashboard-grid-wide,.compact-metrics,.quick-action-list{grid-template-columns:1fr!important;}
    .actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;}
    .actions .btn,.btn{width:100%;max-width:100%;}

    input,textarea,select{font-size:16px!important;min-height:44px!important;}
    textarea{min-height:140px!important;}
    .wysiwyg-shell{border-radius:16px!important;}
    .wysiwyg-toolbar{gap:6px!important;padding:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;}
    .wysiwyg-toolbar button{white-space:nowrap!important;min-width:auto!important;height:34px!important;font-size:12px!important;padding:0 10px!important;}
    .wysiwyg-editor{min-height:180px!important;max-height:320px!important;}

    .table-wrap{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:18px!important;}
    .table{min-width:760px!important;display:table!important;}
    .table th,.table td{padding:12px!important;font-size:13px!important;}
    .thumb{width:68px!important;height:48px!important;}
    .row-actions{gap:8px!important;}
    .row-actions .btn,.table td.actions .btn{width:82px!important;min-width:82px!important;height:38px!important;font-size:12px!important;padding:0 8px!important;}
    .badge{min-width:64px!important;height:28px!important;font-size:11px!important;}

    .media-upload-actions{display:grid!important;grid-template-columns:1fr!important;}
    .media-upload-actions .btn{width:100%!important;}
    .media-preview{height:150px!important;}
    .media-modal-card{width:calc(100vw - 20px)!important;max-height:92dvh!important;margin:4dvh auto!important;}
    .media-modal-head,.media-modal-toolbar{padding:14px!important;}
    .media-modal-toolbar{display:grid!important;grid-template-columns:1fr!important;}
    .media-modal-grid{padding:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
    .media-library-grid{grid-template-columns:1fr!important;}

    .menu-builder-layout{grid-template-columns:1fr!important;gap:14px!important;}
    .menu-location-tabs{justify-content:flex-start!important;}
    .menu-edit-summary{grid-template-columns:36px minmax(0,1fr) auto!important;gap:8px!important;}
    .menu-current-url,.menu-order-badge{display:none!important;}
    .menu-edit-summary .btn.mini{grid-column:2/4;width:100%!important;margin-top:4px!important;}
    .menu-edit-grid{grid-template-columns:1fr!important;}
    .sticky-save-actions{position:relative!important;padding-top:12px!important;}
    .sticky-save-actions .btn{width:100%!important;}

    .dashboard-hero{grid-template-columns:1fr!important;padding:18px!important;}
    .dashboard-hero h2{font-size:26px!important;}
    .dashboard-hero-actions{display:grid!important;grid-template-columns:1fr!important;}
    .dashboard-health-card{max-width:none!important;}
}

@media (max-width: 430px){
    .admin-mobile-brand b{max-width:34vw!important;}
    .main{padding:10px!important;}
    .topbar{padding:12px!important;border-radius:18px!important;}
    .panel{padding:14px!important;border-radius:18px!important;}
    .support-link span:last-child{display:none!important;}
    .support-link{min-width:44px!important;}
    .media-modal-grid{grid-template-columns:1fr!important;}
}


/* v4.4 - Mobil üst alan: Destek Al ve Profil %50 / %50 */
@media (max-width: 980px){
    .topbar-right{
        width:100%!important;
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        gap:10px!important;
        align-items:stretch!important;
    }
    .topbar-right .support-link,
    .topbar-right .admin-profile-menu,
    .topbar-right .profile-trigger{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
    .topbar-right .support-link{
        height:48px!important;
        min-height:48px!important;
        padding:0 10px!important;
        justify-content:center!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }
    .topbar-right .support-icon{
        width:28px!important;
        height:28px!important;
        min-width:28px!important;
        flex:0 0 28px!important;
    }
    .topbar-right .profile-trigger{
        height:48px!important;
        min-height:48px!important;
        padding:0 10px!important;
        justify-content:flex-start!important;
        gap:9px!important;
        overflow:hidden!important;
    }
    .topbar-right .profile-trigger .avatar{
        width:32px!important;
        height:32px!important;
        min-width:32px!important;
        flex:0 0 32px!important;
    }
    .topbar-right .profile-trigger .profile-meta{
        display:block!important;
        min-width:0!important;
        overflow:hidden!important;
        flex:1 1 auto!important;
        text-align:left!important;
    }
    .topbar-right .profile-trigger .profile-meta b,
    .topbar-right .profile-trigger .profile-meta small{
        display:block!important;
        max-width:100%!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
        line-height:1.12!important;
    }
    .topbar-right .profile-trigger .profile-meta b{font-size:13px!important;}
    .topbar-right .profile-trigger .profile-meta small{font-size:11px!important;}
    .topbar-right .profile-trigger .chev{
        margin-left:auto!important;
        flex:0 0 auto!important;
    }
}

@media (max-width: 430px){
    .topbar-right{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    }
    .support-link span:last-child{
        display:inline!important;
        max-width:calc(100% - 34px)!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .support-link{min-width:0!important;}
    .topbar-right .profile-trigger .profile-meta small{
        display:none!important;
    }
}
