/* Serhat Hosting - site-wide client area design */
:root {
    --sh-client-ink: #17233f;
    --sh-client-muted: #73829a;
    --sh-client-line: #dce4f0;
    --sh-client-blue: #0877e9;
    --sh-client-navy: #0b174e;
}
html { scroll-behavior: smooth; }
body.primary-bg-color {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #273750;
}
.sh-global-clientbar-wrap {
    width: min(1600px, calc(100% - 48px));
    max-width: 1600px;
    margin: 18px auto 22px;
    padding: 0;
}
.sh-global-clientbar,
.sh-global-clientbar * { box-sizing: border-box; }
.sh-global-clientbar { width: 100%; min-width: 0; }
.sh-global-clientbar .sh-dashboard-header { margin: 0; }
.sh-global-clientbar .sh-dashboard-header a { text-decoration: none; }
.sh-global-clientbar .sh-stat-item { display: block; color: inherit; }
.sh-global-clientbar .sh-stat-item:hover .sh-stat-label,
.sh-global-clientbar .sh-stat-item:focus .sh-stat-label { color: #fff; }
.sh-dashboard-header {
    position: relative;
    z-index: 30;
    margin: 9px 0 26px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(13, 28, 77, .08);
}
.sh-dashboard-top {
    min-height: 124px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 25px 17px;
    color: #fff;
    background: linear-gradient(112deg, #101846 0%, #092c69 59%, #06457a 100%);
    border-radius: 14px 14px 0 0;
}
.sh-account-area {
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sh-avatar {
    position: relative;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: #f0f4ff;
    background: rgba(255,255,255,.12);
    font-size: 18px;
}
.sh-avatar-check {
    position: absolute;
    top: -3px;
    right: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #00ad83;
    color: #fff;
    font-size: 8px;
}
.sh-account-details {
    min-width: 0;
    line-height: 1.35;
}
.sh-welcome {
    max-width: 280px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sh-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    color: #e8edff;
    font-size: 10px;
    line-height: 1.1;
}
.sh-balance-pill i { color: #ffc34d; }
.sh-account-options-wrap {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}
.sh-account-options {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #dfe7ff;
    font-size: 10px;
    cursor: pointer;
}
.sh-account-options:hover,
.sh-account-options:focus { color: #fff; }
.sh-account-dropdown {
    position: absolute;
    top: calc(100% + 9px);
    left: -2px;
    z-index: 60;
    display: none;
    width: 158px;
    padding: 5px 0;
    border: 1px solid #e0e6f0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(10, 26, 67, .18);
}
.sh-account-dropdown.is-open { display: block; }
.sh-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    color: #35445e;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
}
.sh-account-dropdown a i {
    width: 13px;
    color: #8294b1;
    text-align: center;
}
.sh-account-dropdown a:hover { background: #f1f5fc; color: #0b2a68; }
.sh-dashboard-stats {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-width: 0;
    margin-left: auto;
}
.sh-stat-item {
    min-width: 100px;
    padding: 3px 17px 2px;
    border-left: 1px solid rgba(255,255,255,.16);
}
.sh-stat-item:first-child { border-left: 0; }
.sh-stat-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    color: #c5d2ee;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}
.sh-stat-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
}
.sh-dot-red { background: #ff6f83; }
.sh-dot-yellow { background: #ffc64b; }
.sh-dot-blue { background: #43a8ff; }
.sh-dot-green { background: #00d4a6; }
.sh-stat-number {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.sh-dashboard-nav {
    display: flex;
    align-items: stretch;
    min-height: 70px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    border-radius: 0 0 14px 14px;
    background: #1a2340;
    scrollbar-width: thin;
    scrollbar-color: #53617f #1a2340;
}
.sh-dashboard-nav a {
    position: relative;
    display: flex;
    flex: 1 0 96px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px 10px;
    border-right: 1px solid rgba(255,255,255,.035);
    color: #aeb8d0;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}
.sh-dashboard-nav a i { font-size: 15px; }
.sh-dashboard-nav a:hover,
.sh-dashboard-nav a.is-active {
    background: rgba(255,255,255,.105);
    color: #fff;
}
.sh-dashboard-nav a.is-active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #1686ff;
    content: '';
}

/* Universal client-area page canvas */
.master-breadcrumb {
    padding: 0 0 3px !important;
    border-bottom: 0 !important;
    background: transparent !important;
}
.master-breadcrumb > .container,
#main-body > .container {
    width: min(1600px, calc(100% - 48px));
    max-width: 1600px;
}
.master-breadcrumb .breadcrumb {
    min-height: 27px;
    align-items: center;
    color: #74839a;
}
.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item a { color: #74839a; }
.master-breadcrumb .breadcrumb-item.active { color: #1a2741; }
#main-body {
    padding-top: 12px !important;
    padding-bottom: 46px !important;
}
#main-body .primary-content { min-width: 0; }
#main-body .primary-content .card,
#main-body .primary-content .panel,
#main-body .primary-content .well,
#main-body .sidebar .card,
#main-body .sidebar .panel,
#main-body .sidebar .well {
    border: 1px solid #dce4f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(19, 40, 82, .035);
}
#main-body .primary-content .card-header,
#main-body .primary-content .panel-heading,
#main-body .sidebar .card-header,
#main-body .sidebar .panel-heading {
    border-color: #e9eef6;
    border-radius: 11px 11px 0 0;
    background: #f9fbff;
    color: #101f56;
}
#main-body .primary-content .card-footer,
#main-body .primary-content .panel-footer {
    border-color: #e9eef6;
    background: #fbfcff;
}
#main-body .primary-content .form-control,
#main-body .primary-content select.form-control,
#main-body .primary-content textarea.form-control,
#main-body .primary-content input.form-control {
    border-color: #d7e0ef;
    border-radius: 8px;
    color: #273750;
    box-shadow: none;
}
#main-body .primary-content .form-control:focus,
#main-body .primary-content select.form-control:focus,
#main-body .primary-content textarea.form-control:focus,
#main-body .primary-content input.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .10);
}
#main-body .primary-content .btn,
#main-body .sidebar .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
#main-body .primary-content .btn-primary,
#main-body .sidebar .btn-primary {
    border-color: #0b174e;
    background: #0b174e;
    color: #fff;
}
#main-body .primary-content .btn-primary:hover,
#main-body .sidebar .btn-primary:hover {
    border-color: #123c84;
    background: #123c84;
}
#main-body .primary-content .btn-success,
#main-body .sidebar .btn-success {
    border-color: #00a879;
    background: #00a879;
    color: #fff;
}
#main-body .primary-content .btn-default,
#main-body .primary-content .btn-secondary,
#main-body .sidebar .btn-default,
#main-body .sidebar .btn-secondary {
    border-color: #d7e0ef;
    background: #fff;
    color: #243550;
}
#main-body .primary-content .table,
#main-body .primary-content table.table-list {
    color: #354761;
    border-color: #e4eaf3;
}
#main-body .primary-content .table thead th,
#main-body .primary-content table.table-list thead th {
    border-color: #e4eaf3;
    background: #f8faff;
    color: #53647e;
    font-size: 12px;
    font-weight: 700;
}
#main-body .primary-content .table td,
#main-body .primary-content .table th,
#main-body .primary-content table.table-list td,
#main-body .primary-content table.table-list th { vertical-align: middle; }
#main-body .primary-content .table-striped tbody tr:nth-of-type(odd) { background: #fafcff; }
#main-body .primary-content .alert,
#main-body .sidebar .alert { border-radius: 9px; }
#main-body .primary-content .list-group-item {
    border-color: #e9eef6;
    color: #40516e;
}
#main-body .primary-content .nav-tabs { border-bottom-color: #dce4f0; }
#main-body .primary-content .nav-tabs .nav-link {
    border-radius: 8px 8px 0 0;
    color: #586981;
}
#main-body .primary-content .nav-tabs .nav-link.active {
    border-color: #dce4f0 #dce4f0 #fff;
    color: #0b174e;
    font-weight: 700;
}
#main-body .primary-content a:not(.btn) { text-underline-offset: 2px; }
@media (max-width: 900px) {
    .sh-global-clientbar-wrap { width: calc(100% - 32px); margin-top: 14px; margin-bottom: 18px; }
}
@media (max-width: 680px) {
    .sh-global-clientbar-wrap { width: calc(100% - 20px); margin-top: 10px; margin-bottom: 14px; }
    .sh-dashboard-top { min-height: auto; flex-wrap: wrap; gap: 12px; padding: 15px 13px 12px; border-radius: 11px 11px 0 0; }
    .sh-account-area { min-width: 0; flex: 1 1 100%; }
    .sh-welcome { max-width: 230px; font-size: 13px; }
    .sh-dashboard-stats { width: 100%; justify-content: space-between; margin: 2px 0 0; }
    .sh-stat-item { flex: 1 1 25%; min-width: 0; padding: 6px 7px 2px; }
    .sh-stat-item:first-child { padding-left: 0; }
    .sh-stat-label { white-space: normal; font-size: 8px; }
    .sh-stat-number { font-size: 16px; }
    .sh-dashboard-nav { min-height: 55px; border-radius: 0 0 11px 11px; }
    .sh-dashboard-nav a { flex-basis: 91px; padding: 8px 7px; font-size: 9px; }
    .sh-dashboard-nav a i { font-size: 13px; }
    .master-breadcrumb > .container,
    #main-body > .container { width: calc(100% - 20px); padding-right: 10px; padding-left: 10px; }
    #main-body { padding-top: 8px !important; }
    #main-body .primary-content .card-header,
    #main-body .primary-content .panel-heading { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sh-dashboard-nav a,
    #main-body .primary-content .btn,
    #main-body .sidebar .btn { transition: none; }
}


/* Serhat Hosting: pure white client-area canvas */
html,
body.primary-bg-color,
body.primary-bg-color #main-body {
    background-color: #ffffff !important;
    background-image: none !important;
}
