@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #000000;
    --bg-card: #0a0a0a;
    --bg-elevated: #111111;

    --accent: #ededed;
    --accent-hover: #ffffff;
    --accent-bg: rgba(255, 255, 255, 0.1);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #000000;

    --color-success: #687B5B;
    --color-success-bg: rgba(104, 123, 91, 0.15);
    --color-warning: #f5a623;
    --color-warning-bg: rgba(245, 166, 35, 0.15);
    --color-danger: #f31260;
    --color-danger-bg: rgba(243, 18, 96, 0.15);
    --color-info: #0070f3;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);

    --transition: all 0.15s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background: var(--bg-primary);
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: transparent;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* â”€â”€â”€ Typography & Utilities â”€â”€â”€ */
.lucide { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.icon-sm { width: 14px; height: 14px; stroke-width: 2; }

.page-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-primary);
}

.hidden { display: none !important; }

/* â”€â”€â”€ Buttons â”€â”€â”€ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    height: 32px;
    padding: 0 12px;
    text-decoration: none;
    line-height: 1;
}

.btn:active { transform: scale(0.98); }

.btn-large { height: 40px; font-size: 14px; padding: 0 16px; width: 100%; border-radius: var(--radius-lg); }
.btn-small { height: 28px; font-size: 12px; padding: 0 10px; }

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
}

.btn-link-bot {
    background: linear-gradient(135deg, #687B5B, #4A5A40);
    color: #F8FAFC;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
}
.btn-link-bot:hover { background: linear-gradient(135deg, #748A65, #55684A); border-color: rgba(255,255,255,0.2); }

.btn-disconnect {
    background: transparent;
    color: var(--color-danger);
    border: 1px solid var(--color-danger-bg);
}
.btn-disconnect:hover {
    background: var(--color-danger-bg);
}

.btn-logout {
    background: transparent;
    color: var(--text-muted);
}
.btn-logout:hover { color: var(--text-primary); }

/* â”€â”€â”€ Inputs & Forms â”€â”€â”€ */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], textarea, select {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    line-height: 1.4;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: 0 0 0 1px var(--text-secondary);
}
textarea { resize: vertical; min-height: 80px; }

/* â”€â”€â”€ Screens â”€â”€â”€ */
.screen { display: none; width: 100%; min-height: 100vh; animation: fadeIn 0.2s ease; }
.screen.active { display: block; }
#loginScreen.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* â”€â”€â”€ Login Screen â”€â”€â”€ */
#loginScreen {
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% -20%, rgba(255,255,255,0.05), var(--bg-primary) 50%);
}
.login-container {
    width: 100%;
    max-width: 360px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.login-header { text-align: center; margin-bottom: 32px; }
.logo-mark {
    width: 40px; height: 40px;
    background: var(--text-primary);
    color: var(--text-inverse);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: 18px; font-weight: 700;
    margin-bottom: 20px;
}
.login-header h1 { font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.04em; }
.login-header p { font-size: 13px; color: var(--text-muted); }

.error-message {
    margin-top: 16px; padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--color-danger-bg);
    color: var(--color-danger);
    font-size: 13px; text-align: center;
    border: 1px solid rgba(243, 18, 96, 0.2);
}
.error-message.success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-color: rgba(23, 201, 100, 0.2);
}

.loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 32px; gap: 12px; color: var(--text-muted); font-size: 13px;
}
.spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border); border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* â”€â”€â”€ Dashboard Navbar â”€â”€â”€ */
.navbar {
    min-height: 64px; height: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px;
    background: rgba(10, 11, 14, 0.75);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-wrap: wrap; gap: 16px;
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.header-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-sm); }
.brand-container { display: flex; flex-direction: column; justify-content: center; }
.brand { font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; line-height: 1.1; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.brand span { font-weight: 500; font-size: 13px; color: var(--text-muted); letter-spacing: 0; }
.esnaf-name { font-size: 13px; color: var(--text-secondary); font-weight: 500; margin-top: 4px; line-height: 1.1; }

.nav-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.bot-status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}
.bot-status.online { background: rgba(104, 123, 91, 0.15); color: #687B5B; border-color: rgba(104, 123, 91, 0.3); }
.bot-status.configured { background: var(--color-warning-bg); color: var(--color-warning); border-color: rgba(245, 166, 35, 0.3); }
.bot-status.unlinked { background: rgba(255,255,255,0.02); color: var(--text-muted); border-color: rgba(255,255,255,0.05); }

/* â”€â”€â”€ Dashboard Container â”€â”€â”€ */
.dashboard-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 32px 24px;
}
.dashboard-nav {
    display: flex; gap: 24px; margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.dash-tab {
    background: none; border: none;
    color: var(--text-muted); font-size: 14px; font-weight: 500;
    padding: 0 0 12px 0; cursor: pointer;
    border-bottom: 2px solid transparent; transition: var(--transition);
    display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif;
    margin-bottom: -1px;
}
.dash-tab:hover { color: var(--text-primary); }
.dash-tab.active { color: var(--text-primary); border-bottom-color: var(--text-primary); }

.dashboard-view { display: none; animation: fadeIn 0.2s ease; }
.dashboard-view.active { display: block; }

.dashboard-hero { margin-bottom: 24px; }

/* â”€â”€â”€ Stats Grid â”€â”€â”€ */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex; flex-direction: column; gap: 4px;
    transition: border-color 0.2s ease;
}
.stat-card:hover { border-color: var(--border-hover); }
.stat-value { font-size: 32px; font-weight: 500; letter-spacing: -0.04em; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* â”€â”€â”€ Segmented Controls (Filter Buttons) â”€â”€â”€ */
.filter-buttons { 
    display: inline-flex; 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    padding: 4px; 
    border-radius: var(--radius-md); 
    gap: 4px; 
}
.filter-btn {
    background: transparent; border: none;
    color: var(--text-secondary); padding: 6px 12px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif;
}
.filter-btn:hover { color: var(--text-primary); }
.filter-btn.active { 
    background: var(--bg-elevated); 
    color: var(--text-primary); 
    box-shadow: var(--shadow-sm); 
    border: 1px solid rgba(255,255,255,0.05);
}

.date-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    width: fit-content;
    flex-wrap: wrap;
}
.date-filter-tabs { display: flex; gap: 4px; background: transparent; padding: 0; border: none; }
.date-filter-custom-group { display: flex; align-items: center; gap: 8px; }
.date-filter-tab {
    background: transparent; border: none; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--text-secondary);
    border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; font-family: inherit;
}
.date-filter-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.date-filter-tab.active { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); box-shadow: 0 2px 5px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); }

/* â”€â”€â”€ Overriding inline styles in HTML cleanly â”€â”€â”€ */
.action-buttons > div[style*="rgba(255, 184, 0"] {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
}
.action-buttons label[style*="font-size: 0.85rem"] {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
}

.section-header { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }

/* â”€â”€â”€ Table Section â”€â”€â”€ */
.table-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.table-responsive { overflow-x: auto; margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.randevu-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.randevu-table th {
    text-align: left; padding: 12px 16px; color: var(--text-muted); font-weight: 500;
    border-bottom: 1px solid var(--border); background: var(--bg-elevated);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
}
.randevu-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-secondary); }
.randevu-table td strong { color: var(--text-primary); font-weight: 500; }
.randevu-table tr:last-child td { border-bottom: none; }
.randevu-table tr:hover td { background: var(--bg-elevated); }

.empty-state {
    text-align: center;
    padding: 80px 0;
    color: #52525b; /* Zinc 600 - dark gray matching the image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.empty-state p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.empty-state svg, .empty-state .lucide {
    width: 80px !important;
    height: 80px !important;
    stroke-width: 2.5 !important;
    opacity: 1 !important;
    color: #52525b !important;
}

/* â”€â”€â”€ Settings â”€â”€â”€ */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.settings-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.settings-card h4 { font-size: 14px; margin-bottom: 16px; font-weight: 600; color: var(--text-primary); }
.settings-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.settings-card-header h4 { margin: 0; }
.settings-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.day-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.day-checkboxes label {
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-secondary);
    padding: 8px 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden; user-select: none;
}
.day-checkboxes label:hover { 
    background: rgba(255, 255, 255, 0.08); 
    border-color: rgba(255, 255, 255, 0.15); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--text-primary);
}
.day-checkboxes input[type="checkbox"] { 
    position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}
.day-checkboxes label:has(input[type="checkbox"]:checked) {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15), inset 0 0 10px rgba(239, 68, 68, 0.05);
    transform: translateY(-1px);
}

.hizmetler-list { display: flex; flex-direction: column; gap: 8px; }
.hizmet-row { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr auto; gap: 8px; align-items: center; }
.hizmet-sil { background: var(--bg-elevated); color: var(--color-danger); border: 1px solid var(--border); padding: 8px; border-radius: var(--radius-md); cursor: pointer; display: flex; align-items: center; justify-content: center;}
.hizmet-sil:hover { background: var(--color-danger-bg); border-color: rgba(243, 18, 96, 0.3); }

.settings-actions { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; }
.save-status { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 13px; 
    font-weight: 500; 
    padding: 8px 16px; 
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: hidden;
}
.save-status.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}
.save-status.success { 
    background: rgba(74, 90, 64, 0.1); 
    color: #4A5A40; 
    border: 1px solid rgba(74, 90, 64, 0.2); 
}
.save-status.error { 
    background: rgba(239, 68, 68, 0.1); 
    color: #ef4444; 
    border: 1px solid rgba(239, 68, 68, 0.2); 
}
.save-status.saving {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.spin { animation: spin 1s linear infinite; }

/* â”€â”€â”€ Modals â”€â”€â”€ */
.modal {
    display: none; position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 24px;
    animation: fadeIn 0.15s ease;
}
.modal.active { display: flex; }
.modal-content {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    width: 100%; max-width: 440px; overflow: hidden;
    transform: translateY(10px); animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUp { to { transform: translateY(0); } }

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--text-primary); letter-spacing: -0.02em; }
.modal-close {
    background: transparent; border: none; color: var(--text-muted); font-size: 20px;
    cursor: pointer; padding: 4px; line-height: 1; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-elevated); }

.modal-body { padding: 24px; }
.modal-info { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }

.bot-link-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 0; }
.qr-container { display: flex; justify-content: center; background: #fff; padding: 24px; border-radius: var(--radius-md); margin: 24px auto; width: max-content; }
.qr-status { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }



.connected-badge { display: flex; justify-content: center; color: var(--color-success); margin-bottom: 16px; }
.connected-title { text-align: center; font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; color: var(--text-primary); }
.modal-warning-text { background: var(--color-warning-bg); border: 1px solid rgba(245, 166, 35, 0.2); padding: 12px 16px; border-radius: var(--radius-md); color: var(--color-warning); font-size: 13px; line-height: 1.4; }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; }

@media (max-width: 768px) {
    .navbar { height: auto; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .nav-right { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
    .nav-right > * { width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; margin: 0 !important; box-sizing: border-box; }
    #helpInfoBtn { grid-column: span 2; width: auto; justify-self: center; padding: 8px 48px !important; }
    .btn { padding: 10px; font-size: 13px; }
    .dashboard-container { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .filter-buttons { width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .filter-btn { flex: 0 0 auto; }
    .section-header { flex-direction: column; align-items: stretch; gap: 12px; }
    .action-buttons { width: 100%; flex-direction: column; align-items: stretch; gap: 8px !important; }

    .settings-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hizmet-row { grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
    .hizmet-row:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
}
/* Premium User Status */
.user-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-elevated);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    letter-spacing: -0.01em;
}
.user-status::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: none;
}

/* â”€â”€â”€ Animated Ambient Background â”€â”€â”€ */
.ambient-bg {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 183, 143, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 30% 70%, rgba(23, 201, 100, 0.09) 0%, transparent 35%),
                radial-gradient(circle at 70% 30%, rgba(0, 112, 243, 0.10) 0%, transparent 35%);
    z-index: -1;
    pointer-events: none;
    transform-origin: center center;
    animation: slowAmbient 20s linear infinite;
}
@keyframes slowAmbient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* â”€â”€â”€ Super Admin Premium Theme â”€â”€â”€ */
.admin-theme {
    animation: fadeIn 0.4s ease-out;
}
.admin-hero .page-label {
    background: linear-gradient(90deg, #4A2F75, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.admin-hero .hero-header h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #e2e8f0, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.admin-hero .hero-header h2 i {
    color: #7A669C;
}
.admin-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.admin-stats .stat-card {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(74, 47, 117, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    flex-direction: row;
}
.admin-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 47, 117, 0.3), transparent);
}
.admin-stats .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 47, 117, 0.4);
    box-shadow: 0 10px 30px rgba(74, 47, 117, 0.1);
}
.admin-stats .stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.admin-stats .stat-info h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}
.admin-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}
.admin-table {
    width: 100%;
}
.admin-table th {
    background: rgba(74, 47, 117, 0.05) !important;
    color: #7A669C !important;
    font-weight: 600;
}
.admin-table td {
    vertical-align: middle;
}
.admin-tab-btn i {
    color: #7A669C;
}
.admin-tab-btn.active {
    background: rgba(74, 47, 117, 0.1) !important;
    border-color: rgba(74, 47, 117, 0.3) !important;
}
.admin-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}
.admin-btn-approve {
    background: rgba(74, 90, 64, 0.1);
    color: #4A5A40;
    border: 1px solid rgba(74, 90, 64, 0.2);
}
.admin-btn-approve:hover {
    background: rgba(74, 90, 64, 0.2);
}
.admin-btn-revoke {
    background: rgba(74, 90, 64, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(74, 90, 64, 0.2);
}
.admin-btn-revoke:hover {
    background: rgba(74, 90, 64, 0.2);
}
.admin-btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-left: 6px;
}
.admin-btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Premium Date Picker Animation & Styling */
.date-filter-custom-group { position: relative; }
.date-picker-box {
    display: flex !important; align-items: center; gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    animation: slideDownCustom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform-origin: top center; margin-top: 10px;
    position: absolute; top: 100%; right: 0; z-index: 50;
}
.date-picker-box[style*="display: none"] { display: none !important; }

@keyframes slideDownCustom {
    from { opacity: 0; transform: translateY(-10px) scaleY(0.9); }
    to { opacity: 1; transform: translateY(0) scaleY(1); }
}

.date-picker-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 12px; border-radius: 8px;
    font-family: inherit; font-size: 0.9rem;
    outline: none; transition: all 0.3s ease; color-scheme: dark;
}
.date-picker-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.date-picker-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white; border: none; padding: 8px 16px; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.date-picker-btn:hover {
    transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}
.date-picker-btn:active { transform: translateY(0); }


/* Gecikme Kontrol Paneli Premium Tasarm */
.delay-panel-premium {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 12px;
    background: rgba(74, 90, 64, 0.08);
    border: 1px solid rgba(74, 90, 64, 0.2);
    box-shadow: 0 4px 15px rgba(74, 90, 64, 0.05);
    transition: all 0.3s ease;
}
.delay-panel-premium:hover {
    background: rgba(74, 90, 64, 0.15);
    border-color: rgba(74, 90, 64, 0.3);
    box-shadow: 0 6px 20px rgba(74, 90, 64, 0.1);
}
.delay-label {
    font-size: 0.85rem; font-weight: 600; color: #4A5A40;
    display: flex; align-items: center; gap: 6px; white-space: nowrap; margin: 0;
}
.delay-select-premium {
    padding: 6px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 500;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary); cursor: pointer;
    transition: all 0.3s ease; outline: none;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2310B981%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    background-size: 10px; padding-right: 30px; min-width: 120px;
}
.delay-select-premium:focus, .delay-select-premium:hover {
    border-color: #4A5A40;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(74, 90, 64, 0.2);
}
.delay-select-premium option {
    background: #022c22; color: #a7f3d0;
}
.btn-delay-premium {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #4A5A40, #354230);
    color: white; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 7px 16px; 
    border-radius: 8px;
    font-weight: 700; 
    font-size: 0.85rem; 
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(74, 90, 64, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.btn-delay-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: -1;
}
.btn-delay-premium:hover {
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(74, 90, 64, 0.6), 0 0 10px rgba(74, 90, 64, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #687B5B, #4A5A40);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-delay-premium:hover::before { left: 150%; }
.btn-delay-premium:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(74, 90, 64, 0.4); }


/* Premium Checkbox & Terms Styling */
.custom-terms-wrapper {
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}
.custom-terms-wrapper:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.custom-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}
.custom-terms-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custom-checkbox {
    min-width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2px;
}
.custom-checkbox .check-icon {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom-terms-label input:checked ~ .custom-checkbox {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}
.custom-terms-label input:checked ~ .custom-checkbox .check-icon {
    opacity: 1;
    transform: scale(1);
}
.terms-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.terms-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}
.terms-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-primary);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.terms-link:hover { color: #818cf8; }
.terms-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: #818cf8;
}

/* Premium Modal Typography */
.premium-modal {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}
.terms-scrollable-body {
    padding-bottom: 24px !important;
}
.terms-scrollable-body h4 {
    color: #f1f5f9;
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}
.terms-scrollable-body h4:first-child { margin-top: 0; }
.terms-scrollable-body p, .terms-scrollable-body li {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 12px;
}
.terms-scrollable-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.terms-scrollable-body li {
    margin-bottom: 6px;
}



/* Premium Delete Button */
.btn-delete {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.btn-delete i {
    width: 14px; height: 14px;
}

/* Premium Payment Methods */
.day-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.day-chip {
    position: relative; user-select: none; width: 100%;
}
.day-chip input[type="checkbox"] { 
    position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}
.day-chip span {
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-secondary);
    padding: 8px 0; width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.day-chip:hover span { 
    background: rgba(255, 255, 255, 0.08); 
    border-color: rgba(255, 255, 255, 0.15); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--text-primary);
}
.day-chip input[type="checkbox"]:checked + span {
    background: rgba(74, 90, 64, 0.15);
    border-color: rgba(74, 90, 64, 0.4);
    color: #687B5B;
    box-shadow: 0 4px 15px rgba(74, 90, 64, 0.15), inset 0 0 10px rgba(74, 90, 64, 0.05);
    transform: translateY(-1px);
}
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.payment-methods label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    padding: 10px 0; width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden; user-select: none;
}
.payment-methods label:hover { 
    background: rgba(255, 255, 255, 0.08); 
    border-color: rgba(255, 255, 255, 0.15); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--text-primary);
}
.payment-methods input[type="radio"] { 
    position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}
.payment-methods label:has(input[type="radio"]:checked) {
    background: rgba(74, 90, 64, 0.15);
    border-color: rgba(74, 90, 64, 0.4);
    color: #687B5B;
    box-shadow: 0 4px 15px rgba(74, 90, 64, 0.15), inset 0 0 10px rgba(74, 90, 64, 0.05);
    transform: translateY(-1px);
}
.payment-methods label i { width: 16px; height: 16px; }

/* â”€â”€â”€ Gecikme Onay Bekleme SÃ¼resi Selector â”€â”€â”€ */
.gecikme-onay-card { border-color: rgba(245, 166, 35, 0.15) !important; }
.gecikme-onay-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 16px;
}
.gecikme-onay-option {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    width: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.gecikme-onay-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gecikme-option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.gecikme-onay-option:hover .gecikme-option-label {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.3);
    color: #f5a623;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
}
.gecikme-onay-option:has(input[type="radio"]:checked) .gecikme-option-label {
    background: rgba(245, 166, 35, 0.18);
    border-color: rgba(245, 166, 35, 0.55);
    color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12), 0 4px 16px rgba(245, 166, 35, 0.2);
    transform: translateY(-1px);
    font-weight: 700;
}
.gecikme-onay-aciklama {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}
.gecikme-onay-aciklama .icon-sm {
    flex-shrink: 0;
    color: rgba(245, 166, 35, 0.5);
}

/* â”€â”€â”€ AyarlarÄ± Kaydet Butonu â”€â”€â”€ */
.btn-premium-save {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    height: 48px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #000;
    background: linear-gradient(135deg, #687B5B 0%, #4A5A40 50%, #354230 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(104, 123, 91, 0.4),
        0 4px 16px rgba(74, 90, 64, 0.35),
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -1px 0 rgba(0,0,0,0.25) inset;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}
/* Shimmer sweep */
.btn-premium-save::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    z-index: 1;
    pointer-events: none;
}
/* Animated glow ring */
.btn-premium-save::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    background: linear-gradient(135deg, #687B5B, #4A5A40, #687B5B);
    background-size: 200% 200%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: saveGlowRotate 3s linear infinite;
    filter: blur(6px);
}
@keyframes saveGlowRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-premium-save:hover {
    transform: translateY(-3px) scale(1.02);
    color: #000;
    background: linear-gradient(135deg, #6ee7b7 0%, #687B5B 50%, #4A5A40 100%);
    box-shadow:
        0 0 0 1px rgba(104, 123, 91, 0.6),
        0 8px 32px rgba(74, 90, 64, 0.5),
        0 1px 0 rgba(255,255,255,0.35) inset;
}
.btn-premium-save:hover::before { transform: translateX(100%); }
.btn-premium-save:hover::after { opacity: 1; }
.btn-premium-save:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 0 0 1px rgba(104, 123, 91, 0.5),
        0 2px 8px rgba(74, 90, 64, 0.3);
}
.btn-premium-save i {
    width: 17px; height: 17px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}
.btn-premium-save:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* Premium Time Settings Layout */
.time-settings-glass {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: rgba(0, 0, 0, 0.15);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 16px;
    margin-bottom: 16px;
}
@media (max-width: 600px) {
    .time-settings-glass {
        grid-template-columns: 1fr;
    }
}
.time-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.time-box label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}
.time-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.time-icon {
    position: absolute;
    left: 12px;
    color: #4A5A40;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 2;
}
.time-suffix {
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
}
input.premium-time-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 12px 12px 40px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.premium-time-input:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 90, 64, 0.4);
}
.premium-time-input:focus {
    outline: none;
    background: rgba(74, 90, 64, 0.05);
    border-color: #4A5A40;
    box-shadow: 0 0 0 4px rgba(74, 90, 64, 0.1);
}
.premium-time-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    transition: 0.2s;
}
.premium-time-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.premium-time-input::-webkit-outer-spin-button,
.premium-time-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.premium-time-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Enhancing Day Chips */
.day-chips {
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}





/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GECÄ°KME DURUMU BADGE STÄ°LLERÄ°
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.status-badge.status-approved {
    background: rgba(74, 90, 64, 0.12);
    color: #687B5B;
    border: 1px solid rgba(74, 90, 64, 0.25);
}
.status-badge.status-pending {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.status-badge.status-cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.status-badge.status-done {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
}
/* Gecikme Durumu Badgeleri */
.status-badge.gecikme-kabul {
    background: rgba(74, 90, 64, 0.15);
    color: #687B5B;
    border: 1px solid rgba(74, 90, 64, 0.35);
    animation: pulseGreen 2s ease-in-out infinite;
}
.status-badge.gecikme-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.status-badge.gecikme-bekle {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.30);
    animation: pulseBekle 1.8s ease-in-out infinite;
}
@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 90, 64, 0.0); }
    50% { box-shadow: 0 0 6px 2px rgba(74, 90, 64, 0.2); }
}
@keyframes pulseBekle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOLA SÄ°STEMÄ° STÄ°LLERÄ°
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ Mola Ver Butonu â”€â”€â”€ */
/* ─── Mola Ver Butonu (Saydam Zemin Glowlu) ─── */
.btn-mola-ver {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    background: rgba(74, 90, 64, 0.1);
    color: #687B5B;
    border: 1px solid rgba(74, 90, 64, 0.4);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(74, 90, 64, 0.2);
}
.btn-mola-ver:hover {
    background: rgba(74, 90, 64, 0.2);
    border-color: rgba(74, 90, 64, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(74, 90, 64, 0.4);
    color: #ffffff;
}
.btn-mola-ver:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(74, 90, 64, 0.3);
}
.btn-mola-ver.aktif-mola {
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.4);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.2);
    animation: molaPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes molaPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(244, 63, 94, 0.2); }
    50% { box-shadow: 0 0 24px rgba(244, 63, 94, 0.5); }
}

/* Aktif Mola Banner */
.mola-aktif-banner {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(244,63,94,0.15), rgba(74, 90, 64,0.1));
    border: 1px solid rgba(244,63,94,0.4);
    font-size: 0.875rem;
    font-weight: 600;
    color: #f43f5e;
    animation: bannerGlow 2s ease-in-out infinite;
}
.mola-aktif-banner.goster { display: flex; }
.mola-aktif-banner .mola-geri-sayac {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: #687B5B;
    letter-spacing: 1px;
}
@keyframes bannerGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0.0); }
    50% { box-shadow: 0 0 18px 3px rgba(244,63,94,0.15); }
}

/* Modal Genel */
.mola-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.mola-modal[style*="flex"], .mola-modal.aktif {
    display: flex !important;
}
.mola-modal-content {
    background: var(--bg-card, #0d0f1e);
    border: 1px solid rgba(74, 90, 64,0.25);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 560px;
    max-height: 85vh; /* Mobilde ekrana tam sÄ±ÄŸmasÄ± iÃ§in */
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(74, 90, 64,0.1);
    animation: molaIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
    overflow: hidden;
}
.mola-modal-content .modal-body {
    overflow-y: auto;
    flex: 1;
}
.mola-modal-genis {
    max-width: 700px;
}
@keyframes molaIn {
    from { opacity: 0; transform: translateY(28px) scale(0.95); }
    to   { opacity: 1; transform: none; }
}

/* Modal Header */
.mola-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(74, 90, 64,0.06);
}
.mola-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mola-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #f0f0ff);
}
.mola-geri-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-secondary, #a9b0d0);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mola-geri-btn:hover {
    background: rgba(74, 90, 64,0.12);
    border-color: rgba(74, 90, 64,0.4);
    color: #4A5A40;
}

/* SÃ¼re SeÃ§im Grid */
.mola-sure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.mola-sure-chip {
    padding: 11px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary, #a9b0d0);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.mola-sure-chip:hover {
    border-color: rgba(74, 90, 64,0.5);
    background: rgba(74, 90, 64,0.1);
    color: #4A5A40;
    transform: translateY(-1px);
}
.mola-sure-chip.secili {
    border-color: #4A5A40;
    background: rgba(74, 90, 64, 0.18);
    color: #687B5B;
    box-shadow: 0 0 14px rgba(74, 90, 64, 0.22);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .mola-sure-grid { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 6px; 
    }
    .mola-sure-chip {
        padding: 8px 4px !important;
        font-size: 0.75rem !important;
    }
}

/* Onay Butonu (Temiz ve Minimal) */
.btn-mola-onayla {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: rgba(74, 90, 64, 0.1);
    color: #687B5B;
    border: 1px solid rgba(74, 90, 64, 0.4);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(74, 90, 64, 0.2);
}
.btn-mola-onayla:not(:disabled):hover {
    background: rgba(74, 90, 64, 0.2);
    border-color: rgba(74, 90, 64, 0.6);
    box-shadow: 0 0 20px rgba(74, 90, 64, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-mola-onayla:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(74, 90, 64, 0.3);
}
.btn-mola-onayla:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}
.mola-onay-row {
    padding-top: 4px;
}

/* Etkilenen Randevular Listesi */
.mola-etkilenen-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}
.mola-randevu-satir {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(74, 90, 64,0.08);
    border: 1px solid rgba(74, 90, 64,0.2);
    font-size: 0.875rem;
}
.mola-randevu-saat {
    font-weight: 800;
    color: #687B5B;
    font-family: 'JetBrains Mono', monospace;
    min-width: 55px;
}
.mola-randevu-ad {
    flex: 1;
    color: var(--text-primary, #f0f0ff);
    font-weight: 600;
}
.mola-randevu-gec {
    font-size: 0.78rem;
    color: #4A5A40;
    font-weight: 600;
    white-space: nowrap;
}

/* SeÃ§enek KartlarÄ± */
.mola-secenek-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 480px) {
    .mola-secenek-row { grid-template-columns: 1fr; }
}
.mola-secenek-kart {
    padding: 22px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    text-align: center;
    transition: all 0.22s ease;
}
.mola-secenek-kart:hover {
    border-color: rgba(74, 90, 64,0.5);
    background: rgba(74, 90, 64,0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.mola-secenek-icon { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 8px 16px rgba(0,0,0,0.2);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.mola-secenek-kart:hover .mola-secenek-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,0.08);
}
.mola-secenek-baslik {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #f0f0ff);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.mola-secenek-aciklama {
    font-size: 0.78rem;
    color: var(--text-secondary, #a9b0d0);
    line-height: 1.5;
}

/* AktarÄ±m Listesi */
.mola-aktarim-liste {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.mola-aktarim-satir {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mola-aktarim-satir:hover {
    border-color: rgba(6,182,212,0.4);
    background: rgba(6,182,212,0.06);
}
.mola-aktarim-satir.secili {
    border-color: #06b6d4;
    background: rgba(6,182,212,0.12);
}
.mola-aktarim-check {
    width: 20px; height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.2);
    background: transparent;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: all 0.18s ease;
}
.mola-aktarim-satir.secili .mola-aktarim-check {
    background: #06b6d4;
    border-color: #06b6d4;
}

/* Takvim Slot Grid */
.mola-slot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}
@media (max-width: 480px) {
    .mola-slot-grid { grid-template-columns: repeat(3, 1fr); }
}
.mola-slot-chip {
    padding: 10px 6px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    color: var(--text-secondary, #a9b0d0);
}
.mola-slot-chip:hover:not(.dolu) {
    border-color: rgba(16,217,160,0.5);
    background: rgba(16,217,160,0.1);
    color: #10d9a0;
}
.mola-slot-chip.secili {
    border-color: #10d9a0;
    background: rgba(16,217,160,0.18);
    color: #10d9a0;
    box-shadow: 0 0 12px rgba(16,217,160,0.2);
}
.mola-slot-chip.dolu {
    border-color: rgba(244,63,94,0.3);
    background: rgba(244,63,94,0.08);
    color: rgba(244,63,94,0.6);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}
.mola-takvim-wrapper {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 20px;
    margin-top: 8px;
}
.mola-takvim-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mola-tarih-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input, rgba(8,9,24,0.85));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary, #f0f0ff);
    font-family: inherit;
    font-size: 0.9rem;
}



.btn-mola-cancel {
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.4);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.15);
}
.btn-mola-cancel:hover {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}
.btn-mola-cancel:active {
    transform: translateY(1px);
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   🔍 CANLI ARAMA KUTUSU (LIVE SEARCH)
   ═══════════════════════════════════════════════════════════════════════════════ */
.search-filter-wrapper {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
}

.search-box .search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box .search-input:focus {
    outline: none;
    border-color: #4A5A40;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(74, 90, 64, 0.1);
}

.search-box .search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar for Premium Look (Global Green Glow) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(74, 90, 64, 0.7); box-shadow: 0 0 10px rgba(74, 90, 64,0.6), inset 0 0 4px rgba(74, 90, 64,0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 90, 64, 0.9); box-shadow: 0 0 15px rgba(74, 90, 64,0.9), inset 0 0 6px rgba(74, 90, 64,0.6);
}

/* Sadece Bilgilendirme Popup'ı (helpInfoModal) İçin Mor Scrollbar */
#helpInfoModal ::-webkit-scrollbar-thumb {
    background: rgba(122, 102, 156, 0.5);
    box-shadow: none;
}
#helpInfoModal ::-webkit-scrollbar-thumb:hover {
    background: rgba(122, 102, 156, 0.8);
    box-shadow: 0 0 10px rgba(122, 102, 156, 0.5);
}


/* Lüks Tema Özelleştirmeleri - Buton Glow İptali */
.btn-primary, .btn-mola-ver, .btn-mola-onayla, .btn-delay-premium, .btn-mola-cancel {
    box-shadow: none !important;
}
.btn-primary:hover, .btn-mola-ver:hover, .btn-mola-onayla:hover, .btn-delay-premium:hover, .btn-mola-cancel:hover {
    box-shadow: none !important;
}
@keyframes pulseGreen {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: none; }
}
@keyframes bannerGlow {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: none; }
}
