/* Siteadi sayfa & menü yönetimi, yalnızca yönetim arayüzüne uygulanır. */
.admin-panel.site-pages-panel,.admin-panel.site-menu-panel{height:auto;min-height:0}
.site-editor-row .admin-panel,.site-menu-row .admin-panel{height:auto}
.site-page-edit-form{padding:4px 5px 12px;max-width:none}
.site-editor-toolbar{display:flex;flex-wrap:wrap;gap:7px;background:#f6f7fc;border:1px solid #e5e8f3;border-bottom:0;padding:9px;border-radius:10px 10px 0 0}
.site-editor-toolbar button{border:1px solid #e0e4f2;background:white;color:#5149ac;border-radius:7px;font-size:12px;font-weight:800;padding:7px 12px;min-height:34px}
.site-editor-toolbar button:hover{background:#e9e6ff}
.admin-settings-form .site-editor-textarea{border-radius:0 0 10px 10px;min-height:310px;line-height:1.75;resize:vertical}
.site-seo-settings{border:1px solid #e5e8f2;padding:14px 16px;border-radius:10px;background:#fafbff}
.site-seo-settings summary{font-weight:850;color:#263655;cursor:pointer}
.site-editor-publish h2{font-weight:850;font-size:18px;margin-bottom:15px}
.site-menu-check{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:12px;font-weight:650;color:#485574;cursor:pointer}
.site-menu-check input{width:17px;height:17px;accent-color:#6256d9}
.site-menu-form{padding:3px 0}
.site-menu-list{display:flex;flex-direction:column;gap:15px}
.site-menu-item{border:1px solid #e5e9f2;background:#fdfdff;border-radius:13px;padding:15px;min-width:0}
.site-menu-item-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px}
.site-menu-item-top strong{color:#273452;font-size:15px;display:block}
.site-menu-item-top small{color:#8d99b0;font-size:11px;display:block;margin-top:5px;overflow-wrap:anywhere}
.site-menu-move{display:flex;gap:5px;flex-shrink:0}
.site-menu-move button{border:1px solid #e4e6f4;background:#f1efff;color:#6256d9;font-size:18px;font-weight:700;border-radius:7px;width:31px;height:32px;cursor:pointer}
.site-menu-move button:disabled{opacity:.3;cursor:not-allowed}
.site-menu-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.site-menu-form-grid label{font-size:11px;font-weight:800;color:#526079;min-width:0}
.site-menu-form-grid input,.site-menu-form-grid select{margin-top:5px;font-size:12px}
.site-menu-controls{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:13px}
.site-menu-controls .site-menu-check{margin:0}
.site-menu-delete{margin-top:10px}
.site-page-content{font-size:15px;line-height:1.85;color:#233457}
.site-page-content h2{font-size:23px;margin:23px 0 12px;font-weight:850;color:#11194b}
.site-page-content h3{font-size:19px;margin:19px 0 10px;font-weight:800;color:#172253}
.site-page-content p{margin:0 0 14px;overflow-wrap:anywhere}
.site-page-content ul{padding-left:26px;margin:12px 0 18px}
.site-page-content li{padding:2px 0;overflow-wrap:anywhere}
.site-page-content a{color:#4638cd;text-decoration:underline;text-underline-offset:2px}
.site-custom-page{min-height:280px}
@media(max-width:750px){.site-menu-form-grid{grid-template-columns:1fr}.site-menu-item{padding:13px}.site-editor-row .admin-panel{padding:16px}}

/* Yeni menülerle dar alanlarda yatay taşma yerine kaydırma; mobil menü dikey kalır. */
@media(min-width:941px){.reference-home .fn-menu-links{flex:1 1 auto;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}}


/* Sayfalar: Yönetim panelinin lacivert / mor paletine uygun yenilenmiş arayüz. */
.site-pages-admin{--page-purple:#6659df;--page-deep:#1b2948;--page-border:#e5e8f3;--page-muted:#8290a9;min-width:0}
.site-pages-admin .site-pages-heading{align-items:center;margin-bottom:24px}
.site-pages-admin .site-pages-heading h1{font-size:clamp(27px,3vw,36px);color:var(--page-deep);letter-spacing:-1.1px}
.site-pages-admin .site-pages-heading p{max-width:730px;line-height:1.7}
.site-pages-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.site-pages-admin .site-pages-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #dedcf8;border-radius:10px;background:#f5f3ff;color:#5c4cc9;font-size:12px;font-weight:800;text-decoration:none;transition:background .15s,border-color .15s}
.site-pages-admin .site-pages-outline-btn:hover{background:#e9e5ff;border-color:#c9c2fb;color:#4738bb}
.site-pages-admin .admin-primary-link{display:inline-flex;gap:5px;align-items:center;justify-content:center;min-height:42px;border-radius:10px;background:linear-gradient(110deg,#6f63ed,#5e51da);box-shadow:0 7px 17px #6256d923}
.site-pages-admin .admin-primary-link:hover{background:linear-gradient(110deg,#5d52da,#4e40bf)}
.site-pages-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}
.site-pages-metric{background:white;border:1px solid var(--page-border);border-radius:17px;padding:20px;display:flex;gap:15px;align-items:center;box-shadow:0 8px 26px #26345707;min-width:0;text-decoration:none;transition:border-color .15s,transform .15s}
.site-pages-metric:hover{border-color:#c9c5fa;transform:translateY(-2px)}
.site-pages-metric.is-current{border-color:#968af8;box-shadow:0 0 0 2px #796aea14,0 8px 26px #26345709}
.site-pages-metric-icon{height:46px;width:46px;flex:0 0 46px;border-radius:13px;background:#ece9ff;color:#6659df;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:800}
.site-pages-metric-icon.is-green{background:#e7f7ee;color:#27a376}
.site-pages-metric-icon.is-yellow{background:#fff4df;color:#d2952d}
.site-pages-metric-content{display:flex;flex-direction:column;gap:2px;min-width:0}
.site-pages-metric-content small{font-size:12px;font-weight:750;color:#7d8aa1}
.site-pages-metric-content strong{font-size:28px;line-height:1.3;font-weight:850;color:#1e2b49}
.site-pages-admin .admin-panel.site-pages-panel{height:auto;min-height:0;border-radius:18px;border:1px solid var(--page-border);box-shadow:0 9px 35px #162b4f06}
.site-pages-admin .site-pages-list-panel{padding:0;overflow:hidden}
.site-pages-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 25px;border-bottom:1px solid #eef0f7}
.site-pages-list-heading h2,.site-page-card-title h2{font-size:18px;color:#1d2b49;font-weight:850;letter-spacing:-.4px;margin:4px 0 5px}
.site-pages-list-heading p{font-size:12px;color:#8b95a8;line-height:1.7;margin:0}
.site-pages-small-label{font-size:10px;color:#6a5de2;letter-spacing:1.7px;font-weight:900}
.site-pages-count{display:inline-flex;background:#eeebff;color:#5f52cf;font-size:12px;min-width:25px;height:25px;padding:0 7px;vertical-align:middle;align-items:center;justify-content:center;border-radius:20px}
.site-pages-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.site-pages-filter label{font-size:12px;font-weight:750;color:#77849d}
.site-pages-filter .form-select{font-size:12px;border-color:#e5e7f2;border-radius:9px;padding:10px 30px 10px 12px;min-width:150px;background-color:#fbfcff}
.site-pages-admin .admin-btn-primary{border-radius:10px;font-size:12px;padding:10px 15px}
.site-pages-table-wrap{padding:4px 19px 10px}
.site-pages-admin .site-pages-table{min-width:760px;font-size:12px}
.site-pages-admin .site-pages-table thead th{background:#f7f8fd;color:#77849d;padding:15px 12px;border-radius:0}
.site-pages-admin .site-pages-table tbody td{padding:17px 12px}
.site-pages-title-cell{display:flex;gap:11px;align-items:center;min-width:185px}
.site-pages-title-icon{display:flex;align-items:center;justify-content:center;flex:0 0 35px;height:35px;border-radius:10px;background:#f1efff;color:#695add;font-size:18px}
.site-pages-title-cell>span:last-child{min-width:0}
.site-pages-title-link{font-size:13px;font-weight:800;color:#273452;display:block;line-height:1.4;overflow-wrap:anywhere}
.site-pages-title-link:hover{color:#6659df}
.site-pages-title-cell small{display:block;font-size:11px;color:#98a0b3;margin-top:4px;overflow-wrap:anywhere}
.site-pages-status{display:inline-flex;gap:6px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.site-pages-status.published{background:#e4f8ef;color:#238e62}
.site-pages-status.draft{background:#fff3e4;color:#b67d25}
.site-pages-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.site-pages-row-actions form{display:inline-flex;margin:0}
.site-pages-row-actions .admin-action{font-size:11px;padding:7px 10px;cursor:pointer}
.site-pages-empty{text-align:center;display:flex;align-items:center;flex-direction:column;padding:48px 22px 54px}
.site-pages-empty-icon{display:flex;justify-content:center;align-items:center;width:64px;height:64px;border-radius:19px;background:#f0edff;color:#6c61df;font-size:35px;margin-bottom:17px}
.site-pages-empty h3{font-size:18px;font-weight:850;color:#1b2847;margin:0 0 8px}
.site-pages-empty p{font-size:12px;line-height:1.8;color:#8792a8;max-width:460px;margin:0 0 23px}
.site-pages-list-panel .admin-pagination{margin:0 0 24px}
/* İçerik düzenleme alanı */
.site-page-edit-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,.9fr);align-items:start;gap:20px}
.site-page-editor-admin .site-page-content-card{padding:25px}
.site-page-editor-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}
.site-page-editor-admin .site-editor-publish,.site-page-editor-admin .site-page-help-card{padding:24px}
.site-page-card-title{display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf0f8;padding-bottom:20px;margin-bottom:23px}
.site-page-card-title h2{margin:4px 0 0}
.site-page-editor-admin .admin-settings-form .form-label{font-size:12px;font-weight:850;color:#2c3b5a;margin-bottom:8px}
.site-page-editor-admin .admin-settings-form .form-control,.site-page-editor-admin .admin-settings-form .form-select{border:1px solid #e3e8f2;background:#fbfcff;border-radius:10px;min-height:44px;color:#21314f;font-size:13px}
.site-page-editor-admin .site-page-edit-form{max-width:none;padding:0}
.site-page-editor-admin .site-pages-slug-input .input-group-text{font-size:12px;border:1px solid #e3e8f2;background:#f3f3ff;border-radius:10px 0 0 10px;color:#6457cf}
.site-page-editor-admin .site-pages-slug-input .form-control{border-radius:0 10px 10px 0}
.site-page-editor-admin .site-editor-toolbar{border-color:#dfdff1;background:#f5f4ff;padding:10px;gap:8px}
.site-page-editor-admin .site-editor-toolbar button{color:#5d51c7;border-color:#dcd8fa;border-radius:8px;font-size:12px;min-width:38px}
.site-page-editor-admin .site-editor-textarea{min-height:315px;line-height:1.8;border-radius:0 0 10px 10px!important;resize:vertical}
.site-page-editor-admin .site-seo-settings{background:#fafaff;border-color:#e5e4f7;padding:17px 19px}
.site-page-editor-admin .site-seo-settings summary{color:#5145b3;font-weight:850}
.site-page-editor-bottom{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f8;display:flex;justify-content:flex-start}
.site-page-editor-admin .site-page-submit{min-height:43px;padding:11px 19px;font-size:12px}
.site-page-editor-admin .site-page-publish-submit{display:block;width:100%;margin:16px 0 10px}
.site-page-editor-admin .site-page-publish-note{font-size:12px;color:#8290a4;line-height:1.75;margin:9px 0 0}
.site-page-editor-admin .site-page-preview-link{display:flex;width:100%;margin-top:9px}
.site-page-help-card h2{font-size:17px;font-weight:850;margin:7px 0 10px;color:#243353}
.site-page-help-card p{font-size:12px;line-height:1.8;color:#8592a9;margin-bottom:17px}
.site-required{color:#d15d81}
@media(max-width:1120px){.site-page-edit-grid{grid-template-columns:1fr}.site-page-editor-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.site-pages-list-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.site-pages-admin .site-pages-heading{align-items:stretch;gap:14px}.site-pages-heading-actions{width:100%}.site-pages-admin .site-pages-heading-actions>a{flex:1}.site-pages-overview{grid-template-columns:1fr;gap:9px;margin-bottom:14px}.site-pages-metric{padding:13px 16px}.site-pages-metric-icon{width:41px;height:41px;flex-basis:41px}.site-pages-list-heading{padding:17px}.site-pages-filter{width:100%}.site-pages-filter label{display:none}.site-pages-filter .form-select{flex:1;min-width:0}.site-pages-table-wrap{padding:7px 14px}.site-pages-admin .site-pages-table{min-width:0}.site-pages-table thead{display:none}.site-pages-table tbody,.site-pages-table tr,.site-pages-table td{display:block;width:100%}.site-pages-table tr{border:1px solid #edf0f7;border-radius:13px;margin-bottom:12px;padding:9px 11px}.site-pages-admin .site-pages-table tbody td{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 1px;border:0;font-size:12px}.site-pages-admin .site-pages-table tbody td:not(:first-child)::before{content:attr(data-label);font-size:11px;font-weight:800;color:#9aa4b8}.site-pages-admin .site-pages-table tbody td:first-child{padding-bottom:12px;border-bottom:1px solid #edf0f7;margin-bottom:6px}.site-pages-admin .site-pages-table tbody td:last-child{display:block}.site-pages-admin .site-pages-table tbody td:last-child:before{display:block;margin-bottom:9px}.site-page-editor-sidebar{display:flex}.site-page-editor-admin .site-page-content-card,.site-page-editor-admin .site-editor-publish,.site-page-editor-admin .site-page-help-card{padding:17px}.site-page-card-title{margin-bottom:15px;padding-bottom:14px}.site-pages-empty{padding:36px 16px 40px}}


/* Sayfalar: Tut-sürükle sıralama kolonu, lacivert / mor yönetim teması. */
.site-pages-sort-notice {padding:13px 23px;background:#f4f2ff;color:#5447a7;font-weight:750;font-size:12px;border-bottom:1px solid #e4dfff;line-height:1.65}
.site-pages-sort-notice a {text-decoration:underline;color:#4933cf}
.site-pages-sort-notice.is-success {background:#eefaf5;color:#21825f}
.site-pages-sort-notice.is-error {background:#fff1f1;color:#b63b51}
.site-pages-admin .site-pages-table {min-width:820px}
.site-pages-admin .site-pages-table .site-pages-order-col {width:104px}
.site-pages-admin .site-pages-table tbody td.site-pages-order-cell {white-space:nowrap;width:104px}
.site-pages-order-cell {align-items:center;gap:5px}
.site-pages-order-index {display:inline-block;font-size:12px;color:#6b61ad;font-weight:800;min-width:18px;text-align:center}
.site-page-drag-handle {border:1px solid #ded8fa;background:#f0edff;color:#6354d7;border-radius:8px;min-width:29px;height:31px;font-size:22px;line-height:1;cursor:grab;touch-action:none;user-select:none;vertical-align:middle;padding:0 3px}
.site-page-drag-handle:active {cursor:grabbing;background:#e1dbff}
.site-page-drag-handle:focus-visible,.site-page-move-buttons button:focus-visible {outline:2px solid #6354d7;outline-offset:2px}
.site-pages-drag-placeholder {color:#bcb6d1;font-size:19px}
.site-page-move-buttons {display:inline-flex;gap:2px;vertical-align:middle}
.site-page-move-buttons button {background:#f7f6ff;color:#6256d9;border:1px solid #ebe8fa;border-radius:6px;width:20px;height:26px;font-size:12px;line-height:1;padding:0}
.site-page-move-buttons button:disabled {opacity:.25;cursor:not-allowed}
.site-pages-table tr.is-dragging {background:#eeeaff!important;box-shadow:inset 4px 0 #695bdd;opacity:.77}
.site-pages-table-wrap {overflow-x:auto}
@media(max-width:700px) {
  .site-pages-admin .site-pages-table tbody td.site-pages-order-cell {display:flex;gap:8px;width:100%;justify-content:flex-start;border-bottom:1px solid #edf0f7;padding-bottom:9px}
  .site-pages-admin .site-pages-table tbody td.site-pages-order-cell:before {display:none}
  .site-pages-admin .site-pages-table tbody td:nth-child(2) {border-bottom:1px solid #edf0f7;padding-bottom:12px}
  .site-pages-admin .site-pages-table tbody td:nth-child(2):before {display:none}
  .site-pages-admin .site-pages-table tbody td:first-child {margin-bottom:0}
  .site-pages-admin .site-pages-table {min-width:0}
}
