/* =========================
   PD AGENCY CRM — PREMIUM BLACK & GOLD UI
   ========================= */

:root {
    --crm-bg: #f3f4f6;
    --crm-surface: #ffffff;
    --crm-surface-2: #f8fafc;
    --crm-sidebar: linear-gradient(180deg, #050816 0%, #091224 55%, #0b1320 100%);
    --crm-primary: #c9a34a;
    --crm-primary-2: #e0bf72;
    --crm-accent: #f4d58d;
    --crm-text: #111827;
    --crm-text-soft: #6b7280;
    --crm-border: rgba(15, 23, 42, 0.08);
    --crm-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --crm-shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.16);
    --crm-radius-xl: 24px;
    --crm-radius-lg: 18px;
    --crm-radius-md: 14px;
    --crm-transition: all 0.28s ease;
    --crm-sidebar-width: 245px;
    --crm-top-gap: 20px;
}

/* Genel */
html,
body {
    height: 100%;
    overflow: hidden;
    background: var(--crm-bg);
    color: var(--crm-text);
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(201, 163, 74, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(11, 19, 32, 0.05), transparent 28%),
        var(--crm-bg);
}

.layout-container {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 74, 0.07), transparent 28%),
        radial-gradient(circle at top right, rgba(224, 191, 114, 0.05), transparent 22%),
        var(--crm-bg);
}

/* =========================
   Sidebar
   ========================= */
.sidebar-container {
    width: var(--crm-sidebar-width);
    min-width: var(--crm-sidebar-width);
    max-width: var(--crm-sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    background: transparent;
}

.sidebar {
    background:
        radial-gradient(circle at top left, rgba(201, 163, 74, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(224, 191, 114, 0.08), transparent 22%),
        var(--crm-sidebar);
    background: black !important;
    border-right: 1px solid rgba(255,255,255,0.06);
    box-shadow: 10px 0 34px rgba(2, 6, 23, 0.22);
    padding: 18px 14px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar .logo {
    margin-bottom: 18px;
    flex-shrink: 0;
}

.sidebar .logo img {
    display: block;
    margin: 0 auto;
}

/* Sidebar kullanıcı kartı */
.sidebar-user {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 16px;
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
    transition: var(--crm-transition);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.sidebar-user:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 16px 28px rgba(0,0,0,0.16);
}

.sidebar-user-image img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.sidebar-user-name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    margin-top: 10px;
}

.sidebar-user-email {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    margin-top: 4px;
    word-break: break-word;
}

.sidebar-user-links {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.sidebar-user-links .link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    transition: var(--crm-transition);
}

.sidebar-user-links .link:hover {
    background: rgba(201, 163, 74, 0.20);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.sidebar-user-links .icon {
    width: 18px;
    height: 18px;
}

/* Menü alanı */
.menu-list {
    margin-top: 8px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.menu-list .item,
.menu-list .dropdown-item .item {
    margin-bottom: 8px;
}

.menu-list .link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--crm-transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.menu-list .link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201, 163, 74, 0.16), transparent 72%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 0;
}

.menu-list .link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
    z-index: 0;
}

.menu-list .item .link,
.menu-list .dropdown-item .link {
    color: rgba(255,255,255,0.84);
}

.menu-list .link > * {
    position: relative;
    z-index: 1;
}

.menu-list .item .link:hover,
.menu-list .dropdown-item .link:hover {
    background: linear-gradient(135deg, rgba(200,155,43,0.20), rgba(241,208,131,0.12));
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.16);
    border-color: rgba(201, 163, 74, 0.18);
}

.menu-list .item .link:hover::before,
.menu-list .dropdown-item .link:hover::before {
    opacity: 1;
}

.menu-list .item .link:hover::after,
.menu-list .dropdown-item .link:hover::after {
    left: 135%;
}

.menu-list .item .link:hover .icon,
.menu-list .dropdown-item .link:hover .icon {
    color: #fff;
    transform: scale(1.08);
}

.menu-list .icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--crm-transition);
}

.menu-list .item .icon,
.menu-list .dropdown-item .icon {
    color: rgba(255,255,255,0.90);
}

.menu-list .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2px;
    transition: var(--crm-transition);
}

.menu-list .item.active > .link,
.menu-list .dropdown.open > .dropdown-item .item > .link {
    background: linear-gradient(135deg, #b88922 0%, #d8b869 55%, #f0d995 100%);
    color: #111827;
    box-shadow: 0 14px 30px rgba(201, 163, 74, 0.28);
}

.menu-list .item.active > .link::before,
.menu-list .dropdown.open > .dropdown-item .item > .link::before {
    opacity: 0;
}

.menu-list .item.active > .link::after,
.menu-list .dropdown.open > .dropdown-item .item > .link::after {
    display: none;
}

.menu-list .item.active > .link .icon,
.menu-list .dropdown.open > .dropdown-item .item > .link .icon {
    color: #111827;
}

.menu-list .dropdown-container {
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 163, 74, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.menu-list .dropdown-menu-list .item .link {
    min-height: 46px;
    padding: 10px 12px 10px 14px;
    border-radius: 14px;
    color: rgba(255,255,255,0.78);
}

.menu-list .dropdown-menu-list .item.active .link {
    background: rgba(201, 163, 74, 0.16);
    color: #fff;
    box-shadow: none;
}

.menu-list .action-icon {
    margin-left: auto;
    transition: transform 0.28s ease;
    opacity: 0.9;
}

.menu-list .dropdown.open .action-icon {
    transform: rotate(90deg);
}

.menu-list::-webkit-scrollbar {
    width: 6px;
}

.menu-list::-webkit-scrollbar-thumb {
    background: rgba(201, 163, 74, 0.22);
    border-radius: 999px;
}

/* Sidebar alt alan */
.sidebar-footer,
.sidebar_footer,
.sidebar-container .sidebar-footer {
    background: transparent;
    border-top: none;
    flex-shrink: 0;
}

/* =========================
   Page Container / Topbar
   ========================= */
.page-container {
    margin-left: var(--crm-sidebar-width);
    width: calc(100% - var(--crm-sidebar-width));
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    padding: 20px;
}

.page-top-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, #b88922 0%, #d8b869 55%, #f0d995 100%) !important;
    backdrop-filter: blur(12px);
    box-shadow: var(--crm-shadow);
    border-radius: 22px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.page-top-bar .left-side,
.page-top-bar .right-side {
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-top-bar .right-side .sidebar-user {
    align-items: center;
    display: flex;
    padding-bottom: .2rem;
    padding-top: .2rem;
    position: relative;
}

.page-top-bar .icon-container {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--crm-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: var(--crm-transition);
    cursor: pointer;
}

.page-top-bar .icon-container:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    border-color: rgba(201, 163, 74, 0.35);
}

.page-top-bar .icon {
    width: 20px;
    height: 20px;
    color: var(--crm-text);
}

.page-top-bar .import-page:hover .icon {
    color: var(--crm-primary);
}

/* Topbar avatar - compact */
.page-top-bar .sidebar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--crm-border);
    border-radius: 14px;
    box-shadow: none;
    transition: var(--crm-transition);
    max-width: fit-content;
}

.page-top-bar .sidebar-user:hover {
    transform: none;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    border-color: rgba(201, 163, 74, 0.22);
}

.page-top-bar .sidebar-user-image img {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(201, 163, 74, 0.18);
    box-shadow: none;
    border-radius: 10px;
    object-fit: cover;
}

.page-top-bar .sidebar-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.page-top-bar .sidebar-user-name {
    color: var(--crm-text);
    margin-top: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.page-top-bar .sidebar-user-email {
    color: var(--crm-text-soft);
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.1;
}

.page-top-bar .sidebar-user-name,
.page-top-bar .sidebar-user-email {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

/* =========================
   Header / Breadcrumb
   ========================= */
.page-header {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 24px;
    padding: 24px 26px;
    box-shadow: var(--crm-shadow);
    margin-bottom: 18px;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.breadcrumb,
.breadcrumb-item,
.breadcrumb-item a {
    color: #6b7280;
}

.breadcrumb-item.active,
.page-info h2 {
    color: #111827;
}

.page-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.page-info .info {
    color: var(--crm-text-soft);
    margin-top: 8px;
}

/* Sayfa içerik alanı */
.page-section,
.page-content,
.js-ak-page-content {
    background: transparent;
}

/* =========================
   Cards / Tables / Boxes
   ========================= */
.card,
.table-container,
.form-container,
.content-card,
.main-card,
.box,
.ak-card,
.public-content,
.page-header {
    background: var(--crm-surface);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-xl);
    box-shadow: var(--crm-shadow);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.card:hover,
.table-container:hover,
.form-container:hover,
.content-card:hover,
.main-card:hover,
.box:hover,
.ak-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.10);
    border-color: rgba(201, 163, 74, 0.18);
}

/* Table hover */
table tbody tr,
.table tbody tr {
    transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

table tbody tr:hover,
.table tbody tr:hover {
    background: rgba(201, 163, 74, 0.08) !important;
}

table tbody tr td,
.table tbody tr td {
    transition: color 0.22s ease;
}

table tbody tr:hover td,
.table tbody tr:hover td {
    color: #111827;
}

/* =========================
   Forms
   ========================= */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    background: #fff;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
select:hover,
textarea:hover {
    border-color: rgba(201, 163, 74, 0.35) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
select:focus,
textarea:focus {
    border-color: rgba(201, 163, 74, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(201, 163, 74, 0.14) !important;
}

/* =========================
   Buttons
   ========================= */
button,
.btn,
a.btn,
.button,
.primary-button {
    border-radius: 14px !important;
    transition: all 0.28s ease !important;
    position: relative;
    overflow: hidden;
}

button:hover,
.btn:hover,
a.btn:hover,
.button:hover,
.primary-button:hover {
    transform: translateY(-2px) scale(1.01);
}

.primary-button,
.btn-primary,
button.primary-button,
a.primary-button {
    background: linear-gradient(135deg, #b88922 0%, #d8b869 55%, #f0d995 100%) !important;
    color: #111827 !important;
    border: none !important;
    box-shadow: 0 12px 24px rgba(201, 163, 74, 0.22);
    font-weight: 700;
}

.primary-button:hover,
.btn-primary:hover,
button.primary-button:hover,
a.primary-button:hover {
    box-shadow: 0 18px 30px rgba(201, 163, 74, 0.30);
}

.primary-button::after,
.btn-primary::after,
button.primary-button::after,
a.primary-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.primary-button:hover::after,
.btn-primary:hover::after,
button.primary-button:hover::after,
a.primary-button:hover::after {
    left: 135%;
}

/* =========================
   Scrollbar
   ========================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 163, 74, 0.45);
}

/* =========================
   BRAND / LOGO SYSTEM
   ========================= */
.brand-logo-box {
    background:
        radial-gradient(circle at left center, rgba(200, 155, 60, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.98)) !important;
    border-radius: 22px;
    padding: 16px 14px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(200, 155, 60, 0.08);
    border-bottom: none !important;
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
}

.brand-logo-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at left center, rgba(201, 163, 74, 0.08), transparent 26%),
        radial-gradient(circle at right center, rgba(224, 191, 114, 0.08), transparent 28%);
    pointer-events: none;
}

.brand-logo-link {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.brand-logo-image {
    display: block;
    width: 100%;
    max-width: 235px;
    max-height: 92px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.10));
    transition: transform 0.28s ease, filter 0.28s ease;
}

.brand-logo-link:hover .brand-logo-image {
    transform: scale(1.03);
    filter: drop-shadow(0 16px 28px rgba(201, 163, 74, 0.22));
}

/* =========================
   LOGIN PAGE
   ========================= */
.public-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 74, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(11, 19, 32, 0.08), transparent 24%),
        #f3f4f6;
}

.public-content {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.login-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 26px;
}

.login-logo-image {
    width: 100%;
    max-width: 340px;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.12));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.login-logo-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 14px 26px rgba(201, 163, 74, 0.16));
}

.auth-container h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
}

.auth-container .input-container {
    margin-bottom: 18px;
}

.auth-container .form-input {
    min-height: 52px;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    background: #fff;
}

.auth-container .form-input:focus {
    border-color: rgba(201, 163, 74, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(201, 163, 74, 0.14) !important;
}

.auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 22px;
    flex-wrap: wrap;
}

.auth-submit .button,
.auth-submit .primary-button {
    width: 100%;
    min-height: 52px;
    border-radius: 14px !important;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #b88922 0%, #d8b869 55%, #f0d995 100%) !important;
    color: #111827 !important;
    border: none !important;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1200px) {
    .brand-logo-image {
        max-width: 210px;
        max-height: 84px;
    }

    .brand-logo-link {
        min-height: 84px;
    }
}

@media (max-width: 992px) {
    :root {
        --crm-sidebar-width: 90px;
    }

    .page-container {
        padding: 14px;
    }

    .page-header {
        padding: 18px;
        border-radius: 20px;
    }

    .page-top-bar {
        padding: 12px 14px;
        border-radius: 18px;
    }

    .page-top-bar .sidebar-user {
        flex-wrap: wrap;
    }

    .brand-logo-box {
        border-radius: 18px;
        padding: 12px !important;
    }

    .brand-logo-image {
        max-width: 190px;
        max-height: 72px;
    }

    .brand-logo-link {
        min-height: 72px;
    }
}

@media (max-width: 576px) {
    .public-content {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .login-logo-image {
        max-width: 260px;
        max-height: 80px;
    }

    .auth-container h2 {
        font-size: 24px;
    }

    .page-container {
        width: 100%;
        margin-left: 0;
    }

    .sidebar-container {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
    }
}

/* =========================
   DASHBOARD HOME WIDGET
   ========================= */

.dashboard-shell {
    background: transparent;
}

.dashboard-panel {
    background:
        linear-gradient(180deg, rgba(255,250,241,0.94), rgba(247,240,227,0.88)),
        linear-gradient(135deg, rgba(200,155,60,0.06), transparent 60%);
    border: 1px solid rgba(200, 155, 60, 0.12);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.07);
    backdrop-filter: blur(10px);
}

.dashboard-filter-panel:hover,
.dashboard-appointments-panel:hover {
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.10);
}

.dashboard-section-title {
    color: #1a1d24;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.dashboard-gold-btn {
    background: linear-gradient(135deg, #b98622 0%, #d9b15c 55%, #f3ddb0 100%);
    color: #181c22;
    border: none;
    box-shadow: 0 10px 20px rgba(200, 155, 60, 0.22);
    transition: all 0.28s ease;
    font-weight: 700;
}

.dashboard-gold-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 28px rgba(200, 155, 60, 0.30);
}

.dashboard-hero-card {
    background:
        linear-gradient(135deg, rgba(12,16,28,0.96), rgba(20,28,47,0.94) 50%, rgba(26,34,54,0.96) 100%);
    border: 1px solid rgba(200, 155, 60, 0.14);
    box-shadow: 0 20px 44px rgba(10, 10, 15, 0.22);
}

.dashboard-hero-overlay {
    background:
        radial-gradient(circle at top left, rgba(243, 221, 176, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.10), rgba(200,155,60,0.08), transparent 72%);
    backdrop-filter: blur(18px);
}

.dashboard-hero-title {
    color: rgba(255,255,255,0.92);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dashboard-stat-box {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06)),
        linear-gradient(135deg, rgba(243,221,176,0.08), transparent 75%);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    transition: all 0.28s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.dashboard-stat-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(243,221,176,0.24);
    box-shadow:
        0 18px 34px rgba(10,10,15,0.16),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.dashboard-stat-label {
    color: rgba(255,255,255,0.66);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-stat-value {
    color: #fff;
}

.dashboard-skeleton {
    background: rgba(255,255,255,0.18);
}

.dashboard-branch-card {
    background:
        linear-gradient(180deg, rgba(255,250,242,0.94), rgba(246,238,224,0.90)),
        linear-gradient(135deg, rgba(200,155,60,0.06), transparent 70%);
    border: 1px solid rgba(200, 155, 60, 0.10);
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.07);
    transition: all 0.28s ease;
}

.dashboard-branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 38px rgba(17, 24, 39, 0.12);
    border-color: rgba(200, 155, 60, 0.18);
}

.dashboard-branch-header {
    background:
        linear-gradient(135deg, #141821 0%, #1c2638 45%, #23314d 100%),
        linear-gradient(90deg, rgba(200,155,60,0.15), transparent 70%);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dashboard-branch-header h3 {
    color: #fff;
    font-weight: 700;
}

.dashboard-branch-refresh {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.28s ease;
    backdrop-filter: blur(10px);
}

.dashboard-branch-refresh:hover {
    background: rgba(243,221,176,0.16);
    border-color: rgba(243,221,176,0.22);
    transform: translateY(-1px);
}

.dashboard-mini-stat {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.38)),
        linear-gradient(135deg, rgba(200,155,60,0.04), transparent 70%);
    border: 1px solid rgba(200, 155, 60, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    transition: all 0.24s ease;
}

.dashboard-mini-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 155, 60, 0.16);
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06);
}

.dashboard-mini-label {
    color: #8a7a59;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.dashboard-mini-value {
    color: #1b2028;
    font-weight: 700;
}

.dashboard-table-head {
    background: linear-gradient(180deg, rgba(245,236,220,0.92), rgba(236,223,194,0.76));
}

.dashboard-table-head th {
    color: #7d7054 !important;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.dashboard-table-body {
    background: rgba(255,250,241,0.90);
}

.dashboard-table-body tr {
    transition: all 0.22s ease;
}

.dashboard-table-body tr:hover {
    background: linear-gradient(90deg, rgba(200,155,60,0.08), rgba(255,255,255,0.42)) !important;
}

.dashboard-pagination-btn {
    background: rgba(255,255,255,0.76);
    color: #4a4f58;
    border: 1px solid rgba(200, 155, 60, 0.10);
    transition: all 0.24s ease;
}

.dashboard-pagination-btn:hover {
    background: rgba(243,221,176,0.28);
    color: #1a1d24;
}

.dashboard-appointment-row td {
    color: #1b2028;
}

.dashboard-empty-state {
    color: #8a7a59;
    font-weight: 500;
}

.dashboard-error-state {
    color: #b42318;
    font-weight: 600;
}

/* Select ve input placeholder çizgi düzeltme */
select,
input,
.select2-selection {
    border: 1px solid #d8d1c4 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Focus durumunda çizgi kalınlaşmasın */
select:focus,
input:focus,
.select2-selection:focus {
    border: 1px solid #c9bfae !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Placeholder çizgisini temiz görünüm */
input::placeholder {
    color: #a8a29a;
}

/* Select2 iç arama alanındaki kötü çizgiyi kaldır */
.select2-container--default .select2-search--inline .select2-search__field,
.select2-container--default .select2-search--inline textarea.select2-search__field {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    resize: none !important;
    min-height: 24px !important;
    line-height: 24px !important;
    margin: 4px 0 0 6px !important;
    padding: 0 !important;
}

/* Select2 çoklu seçim kutusunu temizle */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #d8d1c4 !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    box-shadow: none !important;
    min-height: 42px !important;
    padding: 4px 8px !important;
}

/* Focus olunca iç çizgi değil sadece dış kutu hafif vurgulansın */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #c9a34a !important;
    box-shadow: 0 0 0 3px rgba(201, 163, 74, 0.10) !important;
}

/* Placeholder yazısı daha temiz görünsün */
.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #a39a8c !important;
}

/* =========================
   TOPBAR HAMBURGER HIDE
   ========================= */
.page-top-bar .left-side .icon-container,
.page-top-bar .left-side .menu-button,
.page-top-bar .left-side .sidebar-toggle,
.page-top-bar .left-side [class*="menu"],
.page-top-bar .left-side [class*="toggle"] {
    display: none !important;
}

.page-top-bar .left-side {
    gap: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}