/**
 * Partner panel referansı — tarayıcıda :root’tan kopyalanan özel özellikler.
 * Bu dosya yalnızca layout-panel.php üzerinden yüklendiği için ana site :root’unu kirletmez.
 * Not: Konsolda gördüğün icomoon + font-size:24px gibi kurallar ikon sınıfına özeldir; buraya eklenmedi.
 */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bl-text-x-direction: 1;
    --bl-color-primary: #f27a1a;
    --bl-color-primary-highlight: #ef6114;
    --bl-color-primary-contrast: #fef2e8;
    --bl-color-success: #0bc15c;
    --bl-color-success-highlight: #09a44e;
    --bl-color-success-contrast: #e7f9ef;
    --bl-color-danger: #ff5043;
    --bl-color-danger-highlight: #ff3028;
    --bl-color-danger-contrast: #ffeeec;
    --bl-color-warning: #ffb600;
    --bl-color-warning-highlight: #ff9800;
    --bl-color-warning-contrast: #fff8e6;
    --bl-color-info: #5794ff;
    --bl-color-info-highlight: #457eff;
    --bl-color-info-contrast: #eef4ff;
    --bl-color-neutral-none: #000;
    --bl-color-neutral-darkest: #0f131a;
    --bl-color-neutral-darker: #273142;
    --bl-color-neutral-dark: #6e7787;
    --bl-color-neutral-light: #95a1b5;
    --bl-color-neutral-lighter: #afbbca;
    --bl-color-neutral-lightest: #f1f2f7;
    --bl-color-neutral-full: #fff;
    --bl-size-4xs: 0.125rem;
    --bl-size-3xs: 0.25rem;
    --bl-size-2xs: 0.5rem;
    --bl-size-xs: 0.75rem;
    --bl-size-s: 0.875rem;
    --bl-size-m: 1rem;
    --bl-size-l: 1.25rem;
    --bl-size-xl: 1.5rem;
    --bl-size-2xl: 2rem;
    --bl-size-3xl: 2.5rem;
    --bl-size-4xl: 3rem;
    --bl-size-5xl: 4rem;
    --bl-size-6xl: 5rem;
    --bl-index-deep: -1;
    --bl-index-base: 1;
    --bl-index-popover: 100;
    --bl-index-tooltip: 200;
    --bl-index-sticky: 300;
    --bl-index-overlay: 400;
    --bl-index-dialog: 500;
    --bl-index-notification: 600;
    --bl-font-family: "Rubik", "Rubik Variable", system-ui, sans-serif;
    --bl-font-weight-light: 300;
    --bl-font-weight-regular: 400;
    --bl-font-weight-medium: 500;
    --bl-font-weight-semibold: 600;
    --bl-font-weight-bold: 700;
    --bl-font-size-2xs: 0.5rem;
    --bl-font-size-xs: 0.625rem;
    --bl-font-size-s: 0.75rem;
    --bl-font-size-m: 0.875rem;
    --bl-font-size-l: 1rem;
    --bl-font-size-xl: 1.25rem;
    --bl-font-size-2xl: 1.5rem;
    --bl-font-size-3xl: 1.75rem;
    --bl-font-size-4xl: 2rem;
    --bl-font-size-5xl: 3rem;
    --bl-font-size-6xl: 4rem;
    --bl-border-radius-xs: 0.125rem;
    --bl-border-radius-s: 0.25rem;
    --bl-border-radius-m: 0.375rem;
    --bl-border-radius-l: 0.5rem;
    --bl-border-radius-pill: 62.438rem;
    --bl-border-radius-circle: 50%;
    --bl-color-featured: #8c4eff;
    --bl-color-featured-highlight: #753eff;
    --white: #fff;
    --black: #000;
    --main-grey-100: #020203;
    --main-grey-200: #0f131a;
    --main-grey-400: #1f2734;
    --main-grey-300: #171d27;
    --main-grey-500: #273142;
    --main-grey-600: #525a68;
    --main-grey-700: #7d838e;
    --main-grey-800: #a9adb3;
    --main-grey-900: #d4d6d9;
    --main-grey-alert: #e9eaec;
    --orange-100: #e71805;
    --orange-200: #ea300a;
    --orange-300: #ec490f;
    --orange-400: #ef6114;
    --orange-500: #f27a1a;
    --orange-600: #f59548;
    --orange-700: #f7af76;
    --orange-800: #facaa3;
    --orange-900: #fce4d1;
    --orange-alert: #fef2e8;
    --dark-grey-100: #161727;
    --dark-grey-200: #2c2f3f;
    --dark-grey-300: #424757;
    --dark-grey-400: #585f6f;
    --dark-grey-500: #6e7787;
    --dark-grey-600: #8b929f;
    --dark-grey-700: #a8adb7;
    --dark-grey-800: #c5c9cf;
    --dark-grey-900: #e2e4e7;
    --dark-grey-alert: #f1f1f3;
    --mid-grey-100: #405579;
    --mid-grey-200: #556888;
    --mid-grey-300: #6a7b97;
    --mid-grey-400: #7f8ea6;
    --mid-grey-500: #95a1b5;
    --mid-grey-600: #aab4c4;
    --mid-grey-700: #bfc7d3;
    --mid-grey-800: #d5d9e1;
    --mid-grey-900: #eaecf0;
    --mid-grey-alert: #f4f6f8;
    --light-grey-100: #6f849f;
    --light-grey-200: #7f92aa;
    --light-grey-300: #8f9fb4;
    --light-grey-400: #9fadbf;
    --light-grey-500: #afbbca;
    --light-grey-600: #bfc9d5;
    --light-grey-700: #cfd6df;
    --light-grey-800: #dfe4ea;
    --light-grey-900: #eff1f4;
    --light-grey-alert: #f7f8fa;
    --bg-grey-100: #d5d8e2;
    --bg-grey-200: #dddfe9;
    --bg-grey-300: #e4e5ed;
    --bg-grey-400: #eeeff5;
    --bg-grey-500: #f1f2f7;
    --bg-grey-600: #f4f5f9;
    --bg-grey-700: #f7f7fa;
    --bg-grey-800: #f9fafc;
    --bg-grey-900: #fcfcfd;
    --bg-grey-alert: #fefefe;
    --green-100: #028f12;
    --green-200: #049b24;
    --green-300: #06a837;
    --green-400: #08b449;
    --green-500: #0bc15c;
    --green-600: #3ccd7d;
    --green-700: #6dda9d;
    --green-800: #9de6be;
    --green-900: #cef3de;
    --green-alert: #e7f9ef;
    --red-100: #f60000;
    --red-200: #ff100a;
    --red-300: #ff3028;
    --red-400: #ff4035;
    --red-500: #ff5043;
    --red-600: #ff7369;
    --red-700: #ff968e;
    --red-800: #ffb9b4;
    --red-900: #ffdcd9;
    --red-alert: #ffeeec;
    --purple-100: #300fff;
    --purple-200: #471fff;
    --purple-300: #5e2eff;
    --purple-400: #753eff;
    --purple-500: #8c4eff;
    --purple-600: #a371ff;
    --purple-700: #ba95ff;
    --purple-800: #d1b8ff;
    --purple-900: #e8dcff;
    --purple-alert: #f4edff;
    --blue-100: #113eff;
    --blue-200: #2253ff;
    --blue-300: #3469ff;
    --blue-400: #457eff;
    --blue-500: #5794ff;
    --blue-600: #79a9ff;
    --blue-700: #9abfff;
    --blue-800: #bcd4ff;
    --blue-900: #ddeaff;
    --blue-alert: #eef4ff;
    --yellow-100: #ff7b00;
    --yellow-200: #ff8a00;
    --yellow-300: #ff9800;
    --yellow-400: #ffa700;
    --yellow-500: #ffb600;
    --yellow-600: #ffc533;
    --yellow-700: #ffd366;
    --yellow-800: #ffe299;
    --yellow-900: #fff0cc;
    --yellow-alert: #fff8e6;
    --turquoise-100: #0c4d5a;
    --turquoise-200: #0a7385;
    --turquoise-300: #0899b0;
    --turquoise-400: #06c0db;
    --turquoise-500: #05d3f0;
    --turquoise-600: #37dcf3;
    --turquoise-700: #69e5f6;
    --turquoise-800: #9bedf9;
    --turquoise-900: #cdf6fc;
    --turquoise-alert: #e6fbfe;
    --font-family-base: "Rubik", sans-serif;
    --font-family-glyphs: Helvetica, Arial, sans-serif;
    --font-size-10: 10px;
    --font-size-11: 11px;
    --font-size-12: 12px;
    --font-size-13: 13px;
    --font-size-14: 14px;
    --font-size-15: 15px;
    --font-size-16: 16px;
    --font-size-18: 18px;
    --font-size-20: 20px;
    --font-size-22: 22px;
    --font-size-24: 24px;
    --font-size-30: 30px;
    --font-size-48: 48px;
    --font-size-64: 64px;
    --lineheight-xxs: 0.9;
    --lineheight-xs: 1;
    --lineheight-s: 1.14;
    --lineheight-m: 1.25;
    --lineheight-l: 1.34;
    --lineheight-xl: 1.43;
    --lineheight-xxl: 1.5;
    --radius-none: 0;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-full: 50%;
    --spacing-0: 0px;
    --spacing-4: 4px;
    --spacing-8: 8px;
    --spacing-10: 10px;
    --spacing-12: 12px;
    --spacing-15: 15px;
    --spacing-16: 16px;
    --spacing-20: 20px;
    --spacing-22: 22px;
    --spacing-24: 24px;
    --spacing-28: 28px;
    --spacing-30: 30px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --zindex-deepdive: -99999;
    --zindex-default: 1;
    --zindex-dialog: 1000;
    --zindex-tooltip: 2000;
    --zindex-overlay: 3000;
    --zindex-modal: 4000;
    --size-full: 100%;
    --size-xs: 320px;
    --size-sm: 384px;
    --size-md: 448px;
    --size-lg: 512px;
    --size-xl: 576px;
    --size-2xl: 672px;
    --size-3xl: 768px;
    --size-4xl: 896px;
    --size-5xl: 1024px;
    --size-6xl: 1152px;
}

.page--firma-panel-app {
    font-family: var(--bl-font-family);
    color: var(--main-grey-500);
    -webkit-font-smoothing: antialiased;
}

/* Giriş / başvuru — aynı layout, aynı tipografi */
body.page.page--firma-panel-login,
body.page.page--partner-basvuru {
    font-family: var(--bl-font-family);
    color: var(--main-grey-500);
    -webkit-font-smoothing: antialiased;
}

/* React panelleri — ortalanmış modal (AdminModalShell) */
.adm-mm-modal-shell {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.adm-mm-modal-shell[hidden] {
    display: none !important;
}

.adm-mm-modal-shell__inner {
    display: flex;
    width: 100%;
    max-width: min(480px, calc(100vw - 2rem));
    justify-content: center;
}

/* PHP / vanilla — silme onay modalı (React AdminConfirmDeleteModal ile aynı dil) */
.adm-confirm-del {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.adm-confirm-del__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.25rem;
}

.adm-confirm-del__head-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.adm-confirm-del__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #fef2f2;
    color: #dc2626;
}

.adm-confirm-del__title {
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #020617;
}

.adm-confirm-del__item {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: #64748b;
}

.adm-confirm-del__item[hidden] {
    display: none;
}

.adm-confirm-del__close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.adm-confirm-del__close:hover {
    background: #f8fafc;
}

.adm-confirm-del__body {
    padding: 0.875rem 1.25rem 1rem;
}

.adm-confirm-del__msg {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}

.adm-confirm-del__foot {
    margin: 0;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
}

.adm-confirm-del__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.adm-confirm-del__cancel,
.adm-confirm-del__confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    padding: 0 1.25rem;
    border-radius: 1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.adm-confirm-del__cancel {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}

.adm-confirm-del__cancel:hover {
    background: #f8fafc;
}

.adm-confirm-del__confirm {
    border: none;
    background: #dc2626;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.2);
}

.adm-confirm-del__confirm:hover {
    background: #b91c1c;
}

/* Yönetim — form modalları (kategori düzenle, ürün düzenle vb.) */
.adm-form-modal {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.adm-form-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.25rem;
}

.adm-form-modal__head-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.adm-form-modal__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: #fff7ed;
    color: #ea580c;
}

.adm-form-modal__title {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #020617;
}

.adm-form-modal__close {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.adm-form-modal__close:hover {
    background: #f8fafc;
    color: #334155;
}

.adm-form-modal__close:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.adm-form-modal__body {
    padding: 1rem 1.25rem 1.125rem;
}

.adm-form-modal__hint {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #64748b;
}

.adm-form-modal__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.adm-form-modal__field {
    display: block;
    width: 100%;
    height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.65);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
}

.adm-form-modal__field:focus {
    border-color: #fdba74;
    background: #fff;
}

.adm-form-modal__field + .adm-form-modal__label,
.adm-form-modal__label + .adm-form-modal__field {
    margin-top: 0;
}

.adm-form-modal__field-block + .adm-form-modal__field-block {
    margin-top: 1rem;
}

.adm-form-modal__foot {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
}

.adm-form-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.adm-form-modal__cancel,
.adm-form-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    padding: 0 1.25rem;
    border-radius: 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.adm-form-modal__cancel {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}

.adm-form-modal__cancel:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.adm-form-modal__submit {
    border: none;
    background: #ea580c;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.25);
}

.adm-form-modal__submit:hover:not(:disabled) {
    background: #c2410c;
}

.adm-form-modal__cancel:disabled,
.adm-form-modal__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
