@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,800&display=swap');

:root {
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    --primary-glow: rgba(56, 189, 248, 0.25);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* ==========================================================================
   GLOBAL & ELEMENT MODERN SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
    border: 1px solid transparent;
    background-clip: padding-box;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ==========================================================================
   SOL ALAN (%65) - MODERN HERO & HIGHLIGHTS
   ========================================================================== */
.auth-main {
    flex: 0 0 65%;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 64px;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 50% 20%, rgba(56, 189, 248, 0.08) 0px, transparent 60%),
        radial-gradient(at 50% 80%, rgba(2, 132, 199, 0.06) 0px, transparent 60%);
    position: relative;
    overflow: hidden;
}

.brand-logo {
    position: absolute;
    top: 40px;
    left: 64px;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
    z-index: 10;
}

.brand-name {
    background: linear-gradient(
        110deg,
        #0284c7 0%,
        #38bdf8 35%,
        #ffffff 50%,
        #38bdf8 65%,
        #0284c7 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShine 3.5s linear infinite;
}

@keyframes brandShine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.brand-badge {
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: -0.3px;
}

.back-home {
    position: absolute;
    top: 40px;
    right: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.back-home:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-home iconify-icon,
.back-home .iconify {
    font-size: 19px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.back-home:hover iconify-icon,
.back-home:hover .iconify {
    transform: scale(1.1);
}

.auth-hero {
    width: 100%;
    max-width: 680px;
    margin: auto;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin: 0 auto 20px auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hero-pill iconify-icon {
    font-size: 18px;
    color: var(--primary);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.hero-title > span {
    display: block;
}

.text-shine {
    background: linear-gradient(
        110deg,
        #0284c7 0%,
        #38bdf8 35%,
        #ffffff 50%,
        #38bdf8 65%,
        #0284c7 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShine 3.5s linear infinite;
    display: inline-block;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin: 18px auto 0 auto;
    max-width: 560px;
    font-weight: 400;
    text-align: center;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    width: 100%;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.card-icon {
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 2px auto;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-content h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    text-align: center;
}

.card-content p {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
}

.auth-main-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    z-index: 10;
}

/* ==========================================================================
   SAĞ ALAN (%35) - AUTH FORM
   ========================================================================== */
.auth-side {
    flex: 0 0 35%;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    background-color: #ffffff;
    border-left: 1px solid var(--border-color);
    position: relative;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.02);
}

.auth-box {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#auth-forms-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.auth-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: var(--radius-md);
    gap: 4px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.tab-btn iconify-icon {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.tab-btn:hover {
    color: #0f172a;
}

.tab-btn:hover iconify-icon {
    color: var(--primary);
}

.tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.tab-btn.active iconify-icon {
    color: var(--primary);
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.auth-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.auth-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.input-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: var(--primary);
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-field {
    width: 100%;
    padding: 12px 42px 12px 42px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

/* Tarayıcının varsayılan şifre göster/gizle butonunu kapat */
.input-field::-ms-reveal,
.input-field::-ms-clear,
input::-ms-reveal,
input::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    outline: none !important;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
    opacity: 0.85;
}

.toggle-password:hover {
    opacity: 1;
    color: var(--primary-dark);
}

.toggle-password:active {
    transform: scale(0.92);
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:focus {
    background: #ffffff;
    border-color: #cbd5e1;
    outline: none !important;
    box-shadow: none !important;
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary) !important;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.custom-checkbox:hover {
    color: var(--text-main);
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    flex-shrink: 0;
}

.checkbox-mark svg {
    width: 10px;
    height: 8px;
    stroke-dasharray: 16;
    stroke-dashoffset: 16;
    transition: stroke-dashoffset 0.22s ease;
}

.custom-checkbox:hover .checkbox-mark {
    border-color: #94a3b8;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark {
    background: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark svg {
    stroke-dashoffset: 0;
}

.custom-checkbox input[type="checkbox"]:focus-visible + .checkbox-mark {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    background: #0f172a;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background: #1e293b;
}

.btn-primary:active {
    background: #020617;
}

.auth-footer {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
    padding-top: 8px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   AUTH LOADING OVERLAY & MANAGER CHOOSER
   ========================================================================== */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    animation: fadeIn 0.25s ease-out;
}

.auth-alert.error {
    display: flex;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.auth-alert.success {
    display: flex;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.auth-alert iconify-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* Loading & Success Animation State Container */
.auth-status-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 20px;
    gap: 20px;
    width: 100%;
}

.auth-loader-box {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Çift katmanlı modern pulse ring & spinner */
.auth-loader-box::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.08);
    animation: ringPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
}

.auth-spinner {
    width: 58px;
    height: 58px;
    border: 3.5px solid rgba(2, 132, 199, 0.12);
    border-top: 3.5px solid var(--primary);
    border-right: 3.5px solid var(--primary);
    border-radius: 50%;
    animation: authSpin 0.75s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes authSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-success-icon {
    display: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #059669;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    animation: authCheckPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authCheckPop {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.auth-status-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.auth-status-text {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.015em;
}

.auth-status-subtext {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

/* İnce modern progres çubuğu */
.auth-status-progress {
    width: 140px;
    height: 4px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}

.auth-status-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 1.4s ease-in-out, background-color 0.3s ease;
}

.auth-status-bar.complete {
    background: #10b981;
    width: 100% !important;
}

/* MANAGER PANEL SELECTION CARDS - ZERO BOUNCE, PREMIUM FEEL */
.manager-chooser {
    display: none;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    animation: fadeIn 0.3s ease-out;
}

.manager-header {
    text-align: center;
    margin-bottom: 6px;
}

.manager-header-icon {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
}

.manager-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}

.manager-header p {
    font-size: 13px;
    color: #64748b;
}

.manager-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

/* Hover: Sade, zarif açık mavi zemin ve yumuşak mavi border */
.manager-card:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
}

.manager-card.admin:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
}

.manager-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--primary);
}

.manager-card-info {
    flex: 1;
}

.manager-card-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    transition: color 0.15s ease;
}

.manager-card:hover .manager-card-info h4 {
    color: #0f172a;
}

.manager-card.admin:hover .manager-card-info h4 {
    color: var(--primary);
}

.manager-card-info p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.manager-card-arrow {
    font-size: 18px;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.manager-card:hover .manager-card-arrow {
    color: #0f172a;
}

.manager-card.admin:hover .manager-card-arrow {
    color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .auth-main {
        padding: 40px;
    }
    .brand-logo {
        left: 40px;
    }
    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
    }
    .auth-main,
    .auth-side {
        flex: 1 1 100%;
        width: 100%;
        padding: 40px 24px;
    }
    .auth-side {
        border-left: none;
        border-top: 1px solid var(--border-color);
        box-shadow: none;
    }
    .hero-title {
        font-size: 34px;
        margin-top: 50px;
    }
    .hero-cards {
        grid-template-columns: 1fr;
    }
    .brand-logo {
        left: 24px;
        top: 24px;
    }
    .back-home {
        right: 24px;
        top: 24px;
    }
}

/* ==========================================================================
   PANEL LAYOUT & DETACHED FLOATING SIDEBAR
   ========================================================================== */
.panel-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
    padding: 20px;
    gap: 20px;
    position: relative;
}

/* Detached Floating Sidebar */
.detached-sidebar {
    width: 270px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    z-index: 50;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

/* Sağ Çizgide Yüzen Açma / Kapatma Butonu (Floating Edge Toggle) */
.sidebar-toggle-btn {
    position: absolute;
    top: 22px;
    right: -13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
    z-index: 60;
    padding: 0;
}

.sidebar-toggle-btn:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: #bae6fd;
    transform: scale(1.08);
}

.sidebar-toggle-btn iconify-icon {
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Brand Header - Ortalı */
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px 18px 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-brand .brand-logo {
    position: static;
    font-size: 21px;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

/* ==========================================================================
   SIDEBAR COLLAPSED / KÜÇÜLTÜLMÜŞ DURUMU
   ========================================================================== */
.detached-sidebar.collapsed {
    width: 78px;
    padding: 20px 10px;
}

.detached-sidebar.collapsed .sidebar-toggle-btn iconify-icon {
    transform: rotate(180deg);
}

.detached-sidebar.collapsed .brand-badge {
    display: none;
}

.detached-sidebar.collapsed .brand-name {
    display: inline-block;
    font-size: 18px;
}

.detached-sidebar.collapsed .sidebar-brand {
    padding: 8px 0 18px 0;
}

.detached-sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 7px 0;
}

.detached-sidebar.collapsed .nav-item > span,
.detached-sidebar.collapsed .nav-item-divider,
.detached-sidebar.collapsed .nav-badge-sparkle {
    display: none;
}

.detached-sidebar.collapsed .user-badge-card {
    justify-content: center;
    padding: 6px 0;
}

.detached-sidebar.collapsed .user-info,
.detached-sidebar.collapsed .user-dots-btn {
    display: none;
}

.detached-sidebar.collapsed .user-dropup-menu {
    left: calc(100% + 12px);
    right: auto;
    bottom: 0;
}

/* KÜÇÜLTÜLMÜŞ HALDEYKEN MOUSE ÜZERİNE GELDİĞİNDE (HOVER) OTOMATİK AÇILMA */
.detached-sidebar.collapsed:hover {
    width: 270px;
    padding: 20px 16px;
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.detached-sidebar.collapsed:hover .brand-badge {
    display: inline-block;
}

.detached-sidebar.collapsed:hover .brand-name {
    font-size: 21px;
}

.detached-sidebar.collapsed:hover .nav-item {
    justify-content: flex-start;
    padding: 8px 12px;
}

.detached-sidebar.collapsed:hover .nav-item > span,
.detached-sidebar.collapsed:hover .nav-item-divider,
.detached-sidebar.collapsed:hover .nav-badge-sparkle {
    display: inline-flex;
}

.detached-sidebar.collapsed:hover .nav-item-divider {
    display: block;
}

.detached-sidebar.collapsed:hover .user-badge-card {
    justify-content: flex-start;
    padding: 8px 10px;
}

.detached-sidebar.collapsed:hover .user-info,
.detached-sidebar.collapsed:hover .user-dots-btn {
    display: flex;
}

.detached-sidebar.collapsed:hover .user-dropup-menu {
    left: auto;
    right: 0;
    bottom: calc(100% + 6px);
}

/* Sidebar Navigation List */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    overflow-y: auto;
    padding-right: 2px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    color: #334155;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

/* Solar Duotone İkon Rozeti (Circle / İdeal 33px Boyut & Soft Pastel Zemin) */
.nav-item-icon {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-item-icon iconify-icon {
    font-size: 19px;
    color: var(--primary);
}

/* İkon ile İsim Arasındaki Dikey Çizgi */
.nav-item-divider {
    width: 1px;
    height: 16px;
    background-color: #e2e8f0;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.nav-item:hover {
    color: #0f172a;
    background: #f8fafc;
}

.nav-item:hover .nav-item-icon {
    background: #e0f2fe;
    border-color: #bae6fd;
}

.nav-item:hover .nav-item-divider {
    background-color: #cbd5e1;
}

.nav-item.active {
    color: var(--primary);
    background: #f0f9ff;
    font-weight: 700;
}

.nav-item.active .nav-item-icon {
    background: #e0f2fe;
    border-color: #bae6fd;
}

.nav-item.active .nav-item-icon iconify-icon {
    color: var(--primary);
}

.nav-item.active .nav-item-divider {
    background-color: #bae6fd;
}

.nav-badge-sparkle {
    margin-left: 6px;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e0f2fe;
    color: var(--primary);
    border: 1px solid #bae6fd;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    vertical-align: middle;
}

/* ==========================================================================
   SIDEBAR ACCORDION / SUBMENU DROPDOWN
   ========================================================================== */
.nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.nav-item-dropdown-btn {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.nav-item-chevron {
    margin-left: auto;
    font-size: 15px;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.nav-group.open .nav-item-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.nav-group.open .nav-item-dropdown-btn {
    color: #0f172a;
}

.sidebar-submenu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding-left: 45px;
    padding-top: 3px;
    padding-bottom: 4px;
    animation: dropFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-group.open .sidebar-submenu {
    display: flex;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
    position: relative;
}

.submenu-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.submenu-item:hover {
    color: #0f172a;
    background: #f8fafc;
}

.submenu-item:hover .submenu-dot {
    background: var(--primary);
    transform: scale(1.3);
}

.submenu-item.active {
    color: var(--primary);
    background: #f0f9ff;
    font-weight: 700;
}

.submenu-item.active .submenu-dot {
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
}

.detached-sidebar.collapsed .nav-item-chevron,
.detached-sidebar.collapsed .sidebar-submenu {
    display: none !important;
}

/* User Profile Badge & Dropup Menu */
.sidebar-user {
    position: relative;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.user-badge-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease;
    user-select: none;
}

.user-avatar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e0f2fe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: capitalize;
}

/* 3 Nokta Butonu - Yalnızca butona gelince hover */
.user-dots-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-dots-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Dropup Menu (Kompakt ve Şık Sağ Üst Açılan Menü) */
.user-dropup-menu {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    min-width: 165px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.1), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    display: none;
    flex-direction: column;
    gap: 1px;
    z-index: 100;
    animation: dropupFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropup-menu.show {
    display: flex;
}

@keyframes dropupFade {
    0% { opacity: 0; transform: translateY(6px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.dropup-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.dropup-item iconify-icon {
    font-size: 16px;
    color: #64748b;
}

.dropup-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.dropup-item:hover iconify-icon {
    color: var(--primary);
}

.dropup-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 3px 0;
}

.dropup-item.logout {
    color: #ef4444;
}

.dropup-item.logout iconify-icon {
    color: #ef4444;
}

.dropup-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropup-item.logout iconify-icon {
    color: #ef4444;
}

.dropup-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ==========================================================================
   PANEL TOPBAR (DETACHED NAVBAR) & EXPANDABLE USER DRAWER
   ========================================================================== */
.panel-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Detached Top Navbar */
.panel-navbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

/* Search Bar (Sol Alan) */
.navbar-search {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.navbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.navbar-search-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.navbar-search-input:focus {
    background: #ffffff;
    border-color: #cbd5e1;
}

.navbar-search:focus-within .navbar-search-icon {
    color: var(--primary);
}

/* Navbar Sağ Araçlar (Currency, Lang, User Widget) */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dropdown Menüler (Para Birimi & Dil Seçici) */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-sizing: border-box;
}

.nav-pill-btn:hover,
.nav-dropdown-wrapper.open .nav-pill-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.nav-pill-btn iconify-icon {
    font-size: 16px;
    color: var(--primary);
}

.nav-pill-chevron {
    font-size: 13px !important;
    color: #94a3b8 !important;
    transition: transform 0.2s ease;
}

.nav-dropdown-wrapper.open .nav-pill-chevron {
    transform: rotate(180deg);
}

/* Navbar Altı Açılan Dropdown */
.nav-action-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 5px;
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 100;
    animation: dropFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrapper.open .nav-action-dropdown {
    display: flex;
}

@keyframes dropFadeDown {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.dropdown-choice-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-choice-btn iconify-icon {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.dropdown-choice-btn .lang-flag-icon,
.nav-pill-btn .lang-flag-icon {
    font-size: 17px;
    border-radius: 50%;
    overflow: hidden;
}

.dropdown-choice-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

.dropdown-choice-btn.active {
    background: #f0f9ff;
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   USER BADGE INLINE EXPAND (Sola İterek Genişleyen Akıcı Panel)
   ========================================================================== */
.navbar-user-card {
    display: inline-flex;
    align-items: center;
    height: 38px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 12px 0 5px;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.navbar-user-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.navbar-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.navbar-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.navbar-user-chevron {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    margin-left: 2px;
}

/* Genişleyen Ekstra Bilgiler Alanı (Çizgi + Tip Rozeti + Çizgi + Bakiye Rozeti) */
.user-expand-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* AÇILMIŞ DURUM */
.navbar-user-card.open {
    background: #f8fafc;
    border-color: var(--border-color);
    box-shadow: none;
    padding-right: 12px;
}

.navbar-user-card.open .navbar-user-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.navbar-user-card.open .user-expand-details {
    max-width: 400px;
    opacity: 1;
    visibility: visible;
}

.drawer-v-divider {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* Modern Tek Satır Rozet Yapısı (Oval / Pill Şeklinde) */
.drawer-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.1px;
}

.drawer-stat-pill iconify-icon {
    font-size: 13.5px;
}

.drawer-stat-pill.type {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.drawer-stat-pill.balance {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ==========================================================================
   PANEL CONTENT CONTAINER
   ========================================================================== */
.panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   PANEL FOOTER (DETACHED BOTTOM BAR)
   ========================================================================== */
.panel-footer {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    margin-top: auto;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.footer-copy strong {
    color: #0f172a;
    font-weight: 700;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: var(--primary);
}

.footer-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.footer-support-btn iconify-icon {
    font-size: 16px;
    color: var(--primary);
}

.footer-support-btn:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: var(--primary);
}

/* ==========================================================================
   ORDER PAGE 2-COLUMN GRID & PANELS
   ========================================================================== */
.order-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 20px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .order-page-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kart Panelleri Ortak Stili */
.order-card-panel,
.order-info-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.card-panel-header,
.info-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 22px;
}

.card-panel-icon,
.info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.card-panel-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-panel-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
    margin: 0;
}

.card-panel-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Sipariş Formu Alanları */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.form-label iconify-icon {
    font-size: 16px;
    color: var(--primary);
}

.quantity-limits {
    font-size: 11.5px;
    font-weight: 700;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: 9999px;
}

/* Custom Select Wrapper */
.select-wrapper {
    position: relative;
    width: 100%;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-input-wrapper .form-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input-wrapper .form-input {
    width: 100%;
    padding: 11px 14px 11px 40px !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input-wrapper:focus-within .form-input-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-input:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.form-input:focus {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   MODERN CUSTOM SELECT DROPDOWN
   ========================================================================== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.custom-select-trigger:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.custom-select-wrapper.open .custom-select-trigger {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.trigger-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.trigger-icon {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.trigger-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 0;
}

.trigger-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.trigger-chevron {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select-wrapper.open .trigger-chevron {
    transform: rotate(180deg);
    color: #0f172a;
}

.srv-id-pill {
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.srv-price-pill {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: 9999px;
}

/* Dropdown Açılır Menü */
.custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 4px;
    animation: dropFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-wrapper.open .custom-select-menu {
    display: flex;
}

/* Arama Çubuğu */
.custom-select-search-box {
    position: relative;
    padding: 4px 6px 8px 6px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.custom-select-search-box iconify-icon {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: #94a3b8;
}

.custom-select-search-input {
    width: 100%;
    padding: 8px 10px 8px 30px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.custom-select-search-input:focus {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* Liste & Elemanlar */
.custom-select-list {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 2px;
}

.custom-select-list::-webkit-scrollbar {
    width: 5px;
}

.custom-select-list::-webkit-scrollbar-track {
    background: transparent;
}

.custom-select-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.custom-select-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-select-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-select-item:hover {
    background: #f8fafc;
}

.custom-select-item.active {
    background: #f0f9ff;
}

.custom-select-item .item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.custom-select-item .item-icon,
.custom-select-item .srv-item-icon {
    font-size: 17px;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.custom-select-item:hover .srv-item-icon,
.custom-select-item.active .item-icon,
.custom-select-item.active .srv-item-icon {
    color: var(--primary);
}

.custom-select-item .srv-id-badge {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.custom-select-item .item-title {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-item:hover .item-title {
    color: #0f172a;
}

.custom-select-item.active .item-title {
    color: var(--primary);
    font-weight: 700;
}

.custom-select-item .item-check {
    font-size: 16px;
    color: var(--primary);
    display: none;
    flex-shrink: 0;
}

.custom-select-item.active .item-check {
    display: block;
}

.custom-select-item .item-right {
    flex-shrink: 0;
}

.custom-select-item .srv-item-price {
    font-size: 11.5px;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 7px;
    border-radius: 6px;
}

.select-no-results {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
}

/* Tutar Hesaplama Özeti */
.order-charge-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-top: 4px;
}

.charge-label-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}

.charge-label-box iconify-icon {
    font-size: 18px;
    color: var(--primary);
}

.charge-amount-box {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.charge-amount-box .currency-symbol {
    font-size: 16px;
    color: #64748b;
    font-weight: 700;
}

/* Sipariş Gönder Butonu */
.btn-submit-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    background: #0f172a;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    transition: background-color 0.2s ease;
    margin-top: 4px;
}

.btn-submit-order:hover {
    background: #1e293b;
}

.btn-submit-order:active {
    background: #020617;
}

.btn-submit-order iconify-icon {
    font-size: 18px;
}

/* ==========================================================================
   SAĞ BİLGİLENDİRME PANELİ STİLLERİ
   ========================================================================== */
.service-spec-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.spec-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    min-width: 0;
    box-sizing: border-box;
}

.spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.spec-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.spec-value {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-value.text-primary {
    color: var(--primary);
}

/* Servis Açıklama Kutusu */
.service-description-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.desc-box-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.desc-box-title iconify-icon {
    font-size: 16px;
    color: var(--primary);
}

.desc-box-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Dikkat Edilmesi Gerekenler Kutusu */
.order-notice-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 8px;
}

.notice-title iconify-icon {
    font-size: 16px;
}

.notice-list {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.6;
}

.notice-list li {
    margin-bottom: 4px;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   AI ASSISTANT (AI.PHP) INSIDE CARD PANEL
   ========================================================================== */
.ai-panel-card {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 165px);
    max-height: calc(100vh - 165px);
    min-height: 540px;
    overflow: hidden;
}

.ai-panel-card .card-panel-header {
    flex-shrink: 0;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.ai-inner-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

@media (max-width: 900px) {
    .ai-inner-grid {
        grid-template-columns: 1fr;
    }
}

/* Sol Geçmiş Sohbetler Kutusu */
.ai-history-pane {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.history-header {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.btn-new-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.btn-new-chat:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-new-chat iconify-icon {
    font-size: 16px;
}

.history-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.history-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    text-decoration: none;
    gap: 8px;
}

.history-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.history-item iconify-icon {
    font-size: 16px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.history-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.history-item:hover iconify-icon {
    color: var(--primary);
}

.history-item.active {
    background: #f0f9ff;
    color: var(--primary);
    border-color: #bae6fd;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08);
}

.history-item.active iconify-icon {
    color: var(--primary);
}

/* Delete button clean flat styling */
.history-item-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.15s ease;
    flex-shrink: 0;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.history-item:hover .history-item-del {
    opacity: 1;
}

.history-item-del:hover {
    color: #ef4444 !important;
    background: #fee2e2 !important;
}

.history-item-del:active {
    transform: scale(0.92);
}

.history-footer {
    padding: 8px 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.btn-history-clear {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s ease;
}

.btn-history-clear:hover {
    color: #ef4444;
}

/* Sağ Chat Kutusu */
.ai-chat-pane {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.ai-chat-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.ai-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.ai-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
}

.ai-btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-btn-clear:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Chat Mesajları */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8fafc;
}

.ai-msg-row {
    display: flex;
    gap: 10px;
    max-width: 84%;
    animation: fadeIn 0.2s ease-out;
}

.ai-msg-row.bot {
    align-self: flex-start;
}

.ai-msg-row.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ai-msg-row.bot .ai-msg-avatar {
    background: #e0f2fe;
    color: var(--primary);
}

.ai-msg-row.user .ai-msg-avatar {
    background: #0f172a;
    color: #ffffff;
}

.ai-msg-bubble {
    padding: 11px 15px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.55;
}

.ai-msg-row.bot .ai-msg-bubble {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #1e293b;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ai-msg-row.user .ai-msg-bubble {
    background: #0f172a;
    color: #ffffff;
    border-top-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.ai-msg-bubble p {
    margin: 0 0 7px 0;
}

.ai-msg-bubble p:last-child {
    margin-bottom: 0;
}

.ai-msg-time {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 5px;
    font-weight: 500;
}

.ai-msg-row.user .ai-msg-time {
    color: #cbd5e1;
    text-align: right;
}

/* Chat İçi Servis Öneri Kartı */
.ai-service-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ai-srv-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ai-srv-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-srv-id {
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 4px;
}

.ai-srv-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-srv-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
}

.ai-srv-guarantee {
    color: #16a34a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ai-srv-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ai-srv-price {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--primary);
}

.ai-srv-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ai-srv-btn:hover {
    background: #1e293b;
}

/* Prompt Öneri Butonları */
.ai-prompt-chips {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.prompt-chip-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.prompt-chip-btn:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: var(--primary);
}

.prompt-chip-btn iconify-icon {
    font-size: 15px;
    color: #94a3b8;
}

.prompt-chip-btn:hover iconify-icon {
    color: var(--primary);
    transform: translateX(2px);
}

/* Yazıyor İndikatörü */
.ai-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
}

.typing-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94a3b8;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); background: var(--primary); }
}

/* Chat Footer & Input */
.ai-chat-footer {
    padding: 12px 14px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.ai-input-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px 8px 6px 14px;
    transition: all 0.2s ease;
    gap: 10px;
}

.ai-input-wrapper:focus-within {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.ai-input-field {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    font-weight: 500;
}

.ai-input-field::placeholder {
    color: #94a3b8;
}

.ai-btn-send {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: #0f172a;
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.ai-btn-send:hover {
    background: #1e293b;
}

/* ==========================================================================
   SERVICES (SERVICES.PHP) STYLES
   ========================================================================== */
.services-card-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Filtreleme ve Arama Çubuğu */
.services-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}

.platform-tab-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.platform-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.platform-tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.platform-tab-btn iconify-icon {
    font-size: 15px;
    color: #64748b;
    transition: color 0.15s ease;
}

.platform-tab-btn:hover iconify-icon {
    color: var(--primary);
}

.platform-tab-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    font-weight: 700;
}

.platform-tab-btn.active iconify-icon {
    color: #38bdf8;
}

/* Arama Kutusu */
.services-search-wrapper {
    position: relative;
    min-width: 240px;
    flex: 1;
    max-width: 320px;
}

.services-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.services-search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.services-search-input:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* Kategori Başlık Bloğu */
.service-category-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.category-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.cat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-header-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cat-header-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cat-count-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 9999px;
}

/* Servis Tablosu */
.services-table-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.services-table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.services-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.services-table tr:hover td {
    background: #fcfdfe;
}

/* Tablo Hücreleri Özel Stilleri */
.srv-id-tag {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-block;
}

.srv-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
}

.srv-star-icon {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.srv-title-text {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.srv-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.srv-badge.guarantee {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.srv-badge.speed {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.srv-price-cell {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.srv-price-cell span {
    color: #16a34a;
}

.srv-limits-cell {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.srv-speed-cell {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
}

/* Eylem Butonları */
.srv-action-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    white-space: nowrap;
}

.btn-srv-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-srv-detail:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-srv-order {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-srv-order:hover {
    background: #1e293b;
}

.btn-srv-order iconify-icon {
    font-size: 14px;
}

/* Servis Detay Modalı */
.srv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

.srv-modal-overlay.show {
    display: flex;
}

.srv-modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: dropFadeDown 0.2s ease-out;
}

.srv-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.btn-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 16px;
}

.btn-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

.srv-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-spec-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-spec-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.modal-spec-val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.modal-spec-val.price {
    color: var(--primary);
}

.modal-desc-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.modal-desc-title {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-desc-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.srv-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #fcfdfe;
}

@media (max-width: 768px) {
    .services-table th:nth-child(4),
    .services-table td:nth-child(4),
    .services-table th:nth-child(5),
    .services-table td:nth-child(5) {
        display: none;
    }
}

/* ==========================================================================
   ORDERS (ORDERS.PHP) STYLES
   ========================================================================== */
.orders-page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sipariş İstatistikleri Grid */
.orders-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .orders-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .orders-stats-grid {
        grid-template-columns: 1fr;
    }
}

.order-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.order-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.order-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.order-stat-icon.total {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    color: var(--primary);
}

.order-stat-icon.completed {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #16a34a;
}

.order-stat-icon.processing {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
}

.order-stat-icon.canceled {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
}

.order-stat-icon.pending,
.order-stat-icon.warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
}

.order-stat-icon.purple {
    background: #fbf5ff;
    border: 1px solid #f3e8ff;
    color: #9333ea;
}

.order-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.order-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.order-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

/* Ana Sipariş Kartı Paneli */
.orders-card-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Durum Sekmeleri & Arama Çubuğu */
.orders-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}

.status-tab-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.status-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.status-tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.status-tab-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    font-weight: 700;
}

.tab-count-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.15s ease;
}

.status-tab-btn.active .tab-count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Arama Kutusu */
.orders-search-wrapper {
    position: relative;
    min-width: 240px;
    flex: 1;
    max-width: 320px;
}

.orders-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.orders-search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.orders-search-input:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* Siparişler Tablosu */
.orders-table-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow-x: auto;
    background: #ffffff;
    width: 100%;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.orders-table th {
    background: #f8fafc;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.orders-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.orders-table td[colspan],
.orders-table-empty {
    text-align: center !important;
}

.orders-table-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.orders-table td iconify-icon[style*="margin-bottom"],
.orders-table td iconify-icon[style*="display:block"],
.orders-table-empty-box iconify-icon {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover td {
    background: #fcfdfe;
}

/* Hücre Elemanları */
.order-id-badge {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-block;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.order-service-cell {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 180px;
    max-width: 320px;
}

.order-srv-icon {
    font-size: 15px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.order-srv-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    display: block;
}

.order-date-sub {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.order-link-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 160px;
}

.order-link-text {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-link-text:hover {
    text-decoration: underline;
}

.btn-copy-mini {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-copy-mini:hover {
    color: var(--primary);
    background: #f0f9ff;
}

.order-charge-text {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.order-qty-box {
    display: flex;
    flex-direction: column;
    gap: 1px;
    white-space: nowrap;
}

.order-qty-main {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.order-qty-sub {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
}

/* Durum Rozetleri */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.status-badge.completed {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.status-badge.processing {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.status-badge.pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-badge.partial {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}

.status-badge.canceled {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-badge iconify-icon {
    font-size: 13px;
}

/* İşlem Butonları */
.order-action-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.btn-refill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-refill:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.btn-refill:disabled {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-refill iconify-icon {
    font-size: 13px;
}

.btn-cancel-order {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #ef4444;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cancel-order:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.btn-cancel-order:disabled {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-cancel-order iconify-icon {
    font-size: 13px;
}

.btn-order-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-order-detail:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Sipariş Detay Modalı */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

.order-modal-overlay.show {
    display: flex;
}

.order-modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: dropFadeDown 0.2s ease-out;
}

.order-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 75vh;
    overflow-y: auto;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.order-detail-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-detail-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.order-detail-val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.order-detail-val.price {
    color: var(--primary);
}

.order-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #fcfdfe;
}

/* ==========================================================================
   BAKİYE YÜKLE (ADD FUNDS) SAYFASI STİLLERİ
   ========================================================================== */
.funds-page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.funds-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 1024px) {
    .funds-grid {
        grid-template-columns: 1fr;
    }
}

/* Ödeme Yöntemi Kartları Izgarası */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

.payment-method-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    user-select: none;
}

.payment-method-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.payment-method-card.active {
    border-color: var(--primary);
    background: #f0f9ff;
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-method-icon {
    font-size: 24px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.payment-method-card:hover .payment-method-icon {
    color: var(--primary);
}

.payment-method-card.active .payment-method-icon {
    color: var(--primary);
}

.payment-method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.payment-method-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.payment-method-badge {
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: fit-content;
}

.payment-method-badge.bonus {
    color: #16a34a;
}

.payment-method-badge.instant {
    color: #2563eb;
}

.payment-method-badge.fee {
    color: #d97706;
}

.payment-radio-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.payment-method-card.active .payment-radio-check {
    border-color: var(--primary);
    background: var(--primary);
}

.payment-radio-check::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.payment-method-card.active .payment-radio-check::after {
    opacity: 1;
}

/* Hızlı Tutar Seçim Butonları */
.quick-amounts-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .quick-amounts-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

.btn-quick-amount {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.btn-quick-amount:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-quick-amount.active {
    background: #e0f2fe;
    color: var(--primary);
    border-color: #bae6fd;
}

/* Tutar Hesaplama ve Bonus Kartı */
.funds-calc-summary {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.funds-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.funds-calc-row strong {
    color: #0f172a;
    font-weight: 700;
}

.funds-calc-row.bonus {
    color: #16a34a;
    font-weight: 600;
}

.funds-calc-row.bonus strong {
    color: #16a34a;
}

.funds-calc-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 2px 0;
}

.funds-calc-row.total {
    font-size: 14.5px;
    color: #0f172a;
    font-weight: 800;
}

.funds-calc-row.total .total-amount {
    color: var(--primary);
    font-size: 17px;
    font-weight: 900;
}

/* Güvenlik Rozetleri */
.funds-security-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: 14px;
}

.security-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.security-badge-item iconify-icon {
    font-size: 15px;
    color: #16a34a;
}

/* Banka Hesapları Kartları */
.bank-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bank-account-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
}

.bank-account-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.bank-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bank-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.bank-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.bank-branch {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bank-account-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #f1f5f9;
}

.bank-detail-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.bank-detail-line .lbl {
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.bank-detail-line .val {
    color: #0f172a;
    font-weight: 700;
    font-family: monospace;
    font-size: 12.5px;
    word-break: break-all;
}

.bank-detail-line .val-text {
    color: #0f172a;
    font-weight: 700;
}

.btn-copy-bank {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-copy-bank:hover {
    background: #f0f9ff;
    color: var(--primary);
    border-color: #bae6fd;
}

.btn-copy-bank iconify-icon {
    font-size: 13px;
}

/* Havale Bildirimi Butonu */
.btn-havale-notice {
    width: 100%;
    padding: 11px 16px;
    background: #f0fdf4;
    border: 1.5px dashed #86efac;
    border-radius: var(--radius-md);
    color: #16a34a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-havale-notice:hover {
    background: #dcfce7;
    border-color: #4ade80;
    color: #15803d;
}

.btn-havale-notice iconify-icon {
    font-size: 18px;
}

/* ==========================================================================
   API DÖKÜMANI (API DOCS) SAYFASI STİLLERİ
   ========================================================================== */
.api-page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Entegre API Başlık & Endpoint Barı */
.api-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.api-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.api-header-endpoint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.api-header-badge {
    padding: 3px 7px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.api-header-url {
    font-family: monospace;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.btn-api-copy-mini {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3px 6px;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s ease;
}

.btn-api-copy-mini:hover {
    color: var(--primary);
    background: #f0f9ff;
    border-color: #bae6fd;
}

/* API Anahtar Kutusu (Account.php & Diğer yerler) */
.api-key-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
}

.api-key-val {
    font-family: monospace;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-key-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-api-action {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.15s ease;
    font-family: inherit;
    font-weight: 600;
}

.btn-api-action:hover {
    background: #f0f9ff;
    color: var(--primary);
    border-color: #bae6fd;
}

.btn-api-action iconify-icon {
    font-size: 14px;
}

@media (max-width: 768px) {
    .api-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .api-header-endpoint {
        width: 100%;
        justify-content: space-between;
    }
}

/* API Endpoint Sekmeleri */
.api-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.api-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.api-tab-btn:hover {
    color: #0f172a;
    background: #f8fafc;
}

.api-tab-btn.active {
    color: var(--primary);
    background: #f0f9ff;
    border-color: #bae6fd;
}

.api-tab-btn iconify-icon {
    font-size: 15px;
}

.api-tab-method {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    background: #e0f2fe;
    color: var(--primary);
    text-transform: uppercase;
}

/* API Bölüm İçeriği */
.api-section-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.18s ease-out;
}

.api-section-panel.active {
    display: flex;
}

.api-endpoint-layout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 1024px) {
    .api-endpoint-layout-grid {
        grid-template-columns: 1fr;
    }
}

.api-endpoint-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.api-endpoint-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.api-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.api-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-section-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

/* Parametre Tabloları */
.api-params-table-wrapper {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.api-params-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.api-params-table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--border-color);
}

.api-params-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.api-params-table tr:last-child td {
    border-bottom: none;
}

.param-name {
    font-family: monospace;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.param-type {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.param-badge-req {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: inline-block;
}

.param-badge-opt {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    display: inline-block;
}

/* Kod Blokları & Örnek Yanıt Kutusu */
.code-block-card {
    background: #0f172a;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.code-block-header {
    background: #1e293b;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.code-block-title {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-code-copy {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-code-copy:hover {
    background: #334155;
    color: #ffffff;
    border-color: #64748b;
}

.code-content {
    padding: 14px 16px;
    margin: 0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.5;
    color: #e2e8f0;
    overflow-x: auto;
    white-space: pre;
}

.code-content .kwd { color: #38bdf8; }
.code-content .str { color: #4ade80; }
.code-content .num { color: #f59e0b; }
.code-content .key { color: #a5b4fc; }
.code-content .cmt { color: #64748b; font-style: italic; }

/* ==========================================================================
   KAZANÇ ORTAKLIĞI (AFFILIATE) SAYFASI STİLLERİ
   ========================================================================== */
.affiliate-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-top: 6px;
}

.affiliate-link-text {
    font-family: monospace;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.affiliate-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 14px 0;
}

.affiliate-meta-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.affiliate-meta-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.affiliate-meta-val {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   DESTEK MERKEZİ (SUPPORT / TICKET) SAYFASI STİLLERİ
   ========================================================================== */
.ticket-thread-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 420px;
    overflow-y: auto;
    padding: 12px 6px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.ticket-msg-row {
    display: flex;
    width: 100%;
}

.ticket-msg-row.user {
    justify-content: flex-end;
}

.ticket-msg-row.agent {
    justify-content: flex-start;
}

.ticket-msg-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    max-width: 82%;
    min-width: 200px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Kullanıcı Mesajı: Sağa yaslı */
.ticket-msg-row.user .ticket-msg-card {
    background: #0f172a;
    color: #f8fafc;
    border-bottom-right-radius: 4px;
}

.ticket-msg-row.user .ticket-msg-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.ticket-msg-row.user .ticket-msg-author {
    color: #e2e8f0;
}

.ticket-msg-row.user .ticket-msg-date {
    color: #94a3b8;
}

.ticket-msg-row.user .ticket-msg-body {
    color: #f8fafc;
}

/* Destek Yetkilisi: Sola yaslı */
.ticket-msg-row.agent .ticket-msg-card {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-bottom-left-radius: 4px;
}

.ticket-msg-row.agent .ticket-msg-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 4px;
}

.ticket-msg-row.agent .ticket-msg-author {
    color: #0369a1;
}

.ticket-msg-row.agent .ticket-msg-body {
    color: #1e293b;
}

.ticket-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticket-msg-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.ticket-author-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: #0284c7;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ticket-msg-date {
    font-size: 10.5px;
    font-weight: 500;
}

.ticket-msg-body {
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ==========================================================================
   HESAP AYARLARI (ACCOUNT / SETTINGS) SAYFASI STİLLERİ
   ========================================================================== */
.form-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px 0;
}

.form-section-divider span {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.form-section-divider::before,
.form-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.account-2fa-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.account-2fa-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-2fa-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.account-2fa-desc {
    font-size: 11.5px;
    color: #64748b;
}

/* Basit Modern Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #16a34a;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(18px);
}

/* ==========================================
   ULTRA MODERN SLEEK TOAST NOTIFICATION
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999999;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 40px);
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
}

.toast-item.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-item.hide {
    transform: translateY(20px) scale(0.92);
    opacity: 0;
}

.toast-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #ffffff;
    line-height: 1.25;
}

.toast-message {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.4;
    word-break: break-word;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Toast Renk Varyantları (Koyu lüks kart üzerinde parlak modern aksanlar) */
.toast-item.success {
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.toast-item.success .toast-icon-wrap {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.toast-item.error {
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(244, 63, 94, 0.25);
}
.toast-item.error .toast-icon-wrap {
    background: rgba(244, 63, 94, 0.18);
    color: #fb7185;
}

.toast-item.warning {
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(245, 158, 11, 0.25);
}
.toast-item.warning .toast-icon-wrap {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

.toast-item.info {
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.25);
}
.toast-item.info .toast-icon-wrap {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
}

