:root {
    font-family: Inter, Arial, sans-serif;
    color: #111b31;
    background: #f5f7fc;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #111b31;
    --muted: #77839b;
    --line: #e8ecf4;
    --blue: #3268ff;
    --violet: #7047ef;
    --panel: #fff;
    --shadow: 0 8px 30px rgba(18, 35, 68, .045)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-width: 320px;
    background: #f5f7fc;
    font-size: 14px;
    -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

.app-shell {
    min-height: 100vh
}

.sidebar {
    width: 252px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 27px 17px 16px;
    display: flex;
    flex-direction: column;
    z-index: 5
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111b31;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.6px;
    padding: 0 11px 42px
}

.brand-blue {
    color: var(--blue)
}

.brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: linear-gradient(140deg, #3e76ff, #7047ef);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    font-style: italic;
    font-weight: 800
}

.workspace-label,
.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.05px;
    color: #98a2b5
}

.workspace-label {
    padding: 0 12px 12px
}

.side-nav {
    display: grid;
    gap: 5px
}

.nav-item {
    height: 43px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #64718a;
    text-align: left;
    font-weight: 600;
    font-size: 13px
}

.nav-item:hover {
    background: #f5f7fc;
    color: var(--ink)
}

.nav-item.active {
    background: #edf2ff;
    color: #315fe3
}

.nav-icon {
    font-size: 17px;
    width: 19px;
    text-align: center
}

.nav-count {
    margin-left: auto;
    font-size: 10px;
    background: #f0f2f7;
    border-radius: 6px;
    padding: 4px 7px;
    color: #72809a
}

.blue-count {
    background: #e9efff;
    color: #4269df
}

.sidebar-bottom {
    margin-top: auto
}

.connection-mini {
    margin: 0 5px 14px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f8fb;
    border: 1px solid #eff1f6;
    border-radius: 10px
}

.status-dot,
.neutral-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f2aa45;
    flex: none
}

.connection-mini strong,
.connection-mini small,
.profile strong,
.profile small {
    display: block
}

.connection-mini strong,
.profile strong {
    font-size: 11px;
    font-weight: 700
}

.connection-mini small,
.profile small {
    font-size: 10px;
    color: #8b96a9;
    margin-top: 4px
}

.site-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    color: #6d7890;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600
}

.site-link:hover {
    color: var(--blue)
}

.profile {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding: 16px 4px 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(140deg, #e8edff, #d8e2ff);
    color: #4569dd;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800
}

.profile-more {
    margin-left: auto;
    color: #919cb0;
    font-size: 20px
}

.main-area {
    margin-left: 252px;
    min-height: 100vh
}

.topbar {
    height: 70px;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 3;
    backdrop-filter: blur(14px)
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #94a0b3;
    font-size: 12px
}

.breadcrumbs b {
    color: #c6ccda;
    font-weight: 400
}

.breadcrumbs strong {
    color: #27344c;
    font-weight: 600
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.preview-badge {
    font-size: 11px;
    color: #7e8aa0;
    background: #f6f7fa;
    padding: 8px 11px;
    border: 1px solid #edf0f5;
    border-radius: 20px
}

.preview-badge i,
.connection-pill i {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #eda93b;
    border-radius: 50%;
    margin-right: 6px
}

.icon-button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--line);
    color: #66738c;
    font-size: 15px
}

.mobile-menu {
    display: none
}

.page-content {
    max-width: 1320px;
    margin: auto;
    padding: 32px clamp(22px, 4vw, 56px) 60px
}

.demo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #dfe8ff;
    background: #f2f6ff;
    border-radius: 11px;
    margin-bottom: 29px;
    color: #4e6083
}

.banner-icon {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e2ebff;
    color: #3968ed;
    font-weight: 700;
    font-family: serif;
    flex: none
}

.demo-banner strong {
    font-size: 12px;
    color: #2c477c
}

.demo-banner p {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.5
}

.demo-banner>button {
    border: 0;
    background: transparent;
    color: #8795b0;
    font-size: 19px;
    margin-left: auto
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 25px
}

.page-heading .eyebrow {
    color: #5778d5;
    margin-bottom: 9px
}

.page-heading h1 {
    font-size: 27px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
    color: #121d34
}

.page-heading h1 span {
    color: #8c9fff;
    font-size: 20px
}

.page-heading p {
    margin: 8px 0 0;
    color: #7b879b;
    font-size: 12px
}

.button {
    height: 39px;
    border-radius: 9px;
    border: 1px solid transparent;
    padding: 0 15px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap
}

.button-dark {
    color: #fff;
    background: #111b31;
    box-shadow: 0 4px 12px rgba(17, 27, 49, .12)
}

.button-dark:hover {
    background: #263552
}

.button-light {
    background: #fff;
    border-color: var(--line);
    color: #57647c
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 19px
}

.stat-card,
.panel {
    background: var(--panel);
    border: 1px solid #eaedf4;
    border-radius: 13px;
    box-shadow: var(--shadow)
}

.stat-card {
    padding: 17px 18px 15px;
    min-height: 128px
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8b96a9;
    font-weight: 800;
    letter-spacing: .6px;
    font-size: 9px
}

.stat-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 13px
}

.purple {
    color: #7955e8;
    background: #f1edff
}

.blue {
    color: #426ff4;
    background: #ecf1ff
}

.green {
    color: #25a783;
    background: #e8f8f3
}

.amber {
    color: #d89b31;
    background: #fff5df
}

.stat-value {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-top: 11px;
    color: #17223a
}

.stat-small {
    font-size: 15px;
    color: #98a2b5;
    font-weight: 500
}

.stat-date {
    font-size: 23px
}

.stat-foot {
    font-size: 10px;
    color: #8994a7;
    margin-top: 6px
}

.trend {
    color: #2caa84;
    font-weight: 700;
    margin-right: 3px
}

.neutral-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #3bb592;
    margin: 0 4px 1px 0
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 16px;
    margin-bottom: 17px
}

.panel {
    padding: 19px 20px
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px
}

.panel-heading h2 {
    margin: 0;
    color: #19243a;
    font-size: 14px;
    letter-spacing: -.2px
}

.panel-heading p {
    margin: 5px 0 0;
    color: #929caf;
    font-size: 10px
}

.text-button {
    border: 0;
    background: transparent;
    color: #5775df;
    font-size: 10px;
    font-weight: 700;
    padding: 4px
}

.text-button span {
    font-size: 15px;
    margin-left: 5px
}

.table-wrap {
    width: 100%;
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap
}

thead th {
    text-align: left;
    font-size: 8px;
    letter-spacing: .65px;
    color: #9aa4b6;
    font-weight: 800;
    padding: 11px 9px;
    border-top: 1px solid #f0f2f6;
    border-bottom: 1px solid #f0f2f6
}

tbody td {
    padding: 12px 9px;
    border-bottom: 1px solid #f1f3f7;
    font-size: 10px;
    color: #748097
}

tbody tr:last-child td {
    border-bottom: 0
}

.person-cell {
    display: flex;
    align-items: center;
    gap: 9px
}

.person-avatar {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #4569dd;
    background: #edf2ff;
    font-size: 9px;
    font-weight: 700
}

.person-name {
    color: #28354c;
    font-size: 10px;
    font-weight: 700
}

.person-email {
    color: #9aa4b5;
    font-size: 9px;
    margin-top: 3px
}

.status-chip {
    border-radius: 20px;
    padding: 5px 8px;
    font-size: 9px;
    font-weight: 700;
    display: inline-block
}

.status-new {
    color: #bd7f1e;
    background: #fff5e2
}

.status-review {
    color: #536fcb;
    background: #edf2ff
}

.status-done {
    color: #299475;
    background: #e8f7f1
}

.content-status {
    color: #299475;
    background: #e8f7f1
}

.content-draft {
    color: #8992a3;
    background: #f0f2f6
}

.quick-panel {
    padding-bottom: 10px
}

.quick-action {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid #f0f2f6;
    background: #fff;
    text-align: left
}

.quick-icon {
    height: 31px;
    width: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 15px;
    flex: none
}

.violet-bg {
    color: #7955e8;
    background: #f2eeff
}

.blue-bg {
    color: #3c70f0;
    background: #edf2ff
}

.green-bg {
    color: #279d7a;
    background: #e9f8f3
}

.quick-action>span:nth-child(2) {
    flex: 1
}

.quick-action strong,
.quick-action small {
    display: block
}

.quick-action strong {
    font-size: 10px;
    color: #344158
}

.quick-action small {
    font-size: 9px;
    color: #9aa4b5;
    margin-top: 4px
}

.quick-action>b {
    font-weight: 400;
    color: #99a5bb;
    font-size: 15px
}

.quick-action:hover strong {
    color: #4268dc
}

.content-preview {
    margin-bottom: 18px
}

.content-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px
}

.mini-content {
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 9px;
    min-width: 0
}

.mini-content .mini-type {
    font-size: 8px;
    color: #8a95a8;
    font-weight: 700
}

.mini-content strong {
    display: block;
    font-size: 10px;
    color: #344158;
    margin: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis
}

.mini-content .mini-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 9px;
    color: #97a1b2
}

.content-toolbar {
    display: flex;
    gap: 9px;
    margin-bottom: 13px
}

.search-box {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e9edf4;
    background: #fff;
    border-radius: 8px;
    padding: 0 10px;
    flex: 1;
    max-width: 380px
}

.search-box span {
    font-size: 19px;
    color: #99a4b7
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 11px;
    color: var(--ink)
}

.search-box input::placeholder {
    color: #a1aabc
}

.content-toolbar select,
.settings-panel select {
    height: 36px;
    border: 1px solid #e9edf4;
    background: #fff;
    border-radius: 8px;
    padding: 0 27px 0 10px;
    color: #65718a;
    font-size: 10px;
    outline: none
}

.table-action {
    border: 0;
    border-radius: 7px;
    background: #f6f7fa;
    color: #69768d;
    padding: 6px 9px;
    font-size: 9px
}

.table-action:hover {
    background: #edf2ff;
    color: #4168df
}

.empty-state {
    padding: 35px;
    text-align: center;
    color: #919caf;
    font-size: 12px
}

.hidden {
    display: none !important
}

.integration-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    background: #f5f7fc;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    color: #738098
}

.integration-note>span {
    color: #5b79df;
    font-size: 17px
}

.integration-note p {
    margin: 0;
    font-size: 10px;
    line-height: 1.7
}

.integration-note strong {
    font-size: 11px;
    color: #394763
}

.integration-note code,
.endpoint-list code {
    font-family: Consolas, monospace;
    background: #e9edf5;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 9px
}

.inquiry-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #8b96a9;
    font-size: 10px
}

.inquiry-total strong {
    font-size: 23px;
    color: #19243a
}

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
    gap: 15px
}

.settings-panel,
.security-panel {
    padding: 22px
}

.connection-pill {
    font-size: 9px;
    color: #a17632;
    background: #fff6e5;
    padding: 7px 9px;
    border-radius: 20px;
    white-space: nowrap
}

.settings-panel form>label:not(.check-row),
.modal form>label {
    display: block;
    color: #36435b;
    font-size: 10px;
    font-weight: 700;
    margin: 18px 0 7px
}

.settings-panel input[type=url],
.modal input:not([type=hidden]),
.modal select,
.modal textarea {
    width: 100%;
    border: 1px solid #e6eaf2;
    border-radius: 8px;
    background: #fff;
    color: #344158;
    padding: 10px 11px;
    font-size: 11px;
    outline: none
}

.settings-panel input:focus,
.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    border-color: #9fb3ff;
    box-shadow: 0 0 0 3px #eef2ff
}

.settings-panel form>small {
    display: block;
    color: #969fb0;
    font-size: 9px;
    line-height: 1.6;
    margin-top: 6px
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64718a;
    font-size: 10px;
    margin: 17px 0
}

.check-row input {
    accent-color: #426cff
}

.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px
}

.settings-feedback {
    font-size: 10px;
    color: #438b75;
    min-height: 14px
}

.security-panel {
    background: #111b31;
    color: #fff;
    border-color: #111b31
}

.security-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #9facff;
    background: rgba(124, 145, 255, .15);
    border-radius: 10px;
    font-size: 17px
}

.security-panel h2 {
    font-size: 13px;
    margin: 15px 0 8px
}

.security-panel p,
.security-panel li {
    font-size: 10px;
    color: #b1bbce;
    line-height: 1.7
}

.security-panel ul {
    padding-left: 16px;
    margin-bottom: 0
}

.schema-panel {
    margin-top: 15px
}

.endpoint-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.endpoint-list>div {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid #eff1f5;
    border-radius: 8px
}

.endpoint-list code {
    width: max-content;
    color: #4065d9;
    background: #eef2ff
}

.endpoint-list span {
    font-family: Consolas, monospace;
    font-size: 10px;
    color: #56647e
}

.endpoint-list small {
    grid-column: 2;
    color: #9ba4b3;
    font-size: 9px
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(10, 18, 36, .46);
    display: grid;
    place-items: center;
    padding: 18px
}

.modal {
    width: min(100%, 470px);
    background: white;
    border-radius: 15px;
    padding: 23px;
    box-shadow: 0 25px 80px rgba(10, 18, 36, .25)
}

.modal-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px
}

.modal-heading h2 {
    font-size: 18px;
    margin: 7px 0 0;
    letter-spacing: -.4px
}

.modal form>label:first-of-type {
    margin-top: 0
}

.modal textarea {
    resize: vertical
}

.modal .form-actions {
    justify-content: flex-end
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #14213b;
    color: #fff;
    border-radius: 9px;
    padding: 12px 16px;
    font-size: 11px;
    box-shadow: 0 10px 30px #101d3840;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: .2s;
    z-index: 20
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1080px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .content-cards {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .22s;
        box-shadow: 12px 0 35px #10214418
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .main-area {
        margin-left: 0
    }

    .topbar {
        height: 60px;
        padding: 0 18px
    }

    .mobile-menu {
        display: block
    }

    .breadcrumbs {
        margin-right: auto;
        margin-left: 11px
    }

    .preview-badge {
        font-size: 0;
        padding: 8px
    }

    .preview-badge i {
        margin: 0
    }

    .page-content {
        padding: 23px 17px 45px
    }

    .page-heading {
        align-items: flex-start
    }

    .page-heading h1 {
        font-size: 23px
    }

    .page-heading .button {
        margin-top: 4px
    }

    .page-heading .button span {
        display: none
    }

    .demo-banner {
        align-items: flex-start
    }

    .stats-grid {
        gap: 9px
    }

    .stat-card {
        padding: 13px;
        min-height: 118px
    }

    .stat-top {
        font-size: 8px
    }

    .stat-value {
        font-size: 24px
    }

    .panel {
        padding: 15px
    }

    .content-cards {
        grid-template-columns: 1fr 1fr
    }

    .settings-grid {
        grid-template-columns: 1fr
    }

    .endpoint-list {
        grid-template-columns: 1fr
    }

    .content-toolbar {
        flex-wrap: wrap
    }

    .search-box {
        max-width: none;
        flex-basis: 100%
    }

    .content-toolbar select {
        flex: 1
    }

    .table-wrap {
        margin: 0 -4px
    }

    .page-heading p {
        line-height: 1.5
    }

    .security-panel {
        padding: 18px
    }
}

@media(max-width:420px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .stat-card {
        min-height: 112px
    }

    .stat-foot {
        font-size: 9px
    }

    .page-heading {
        gap: 8px
    }

    .page-heading h1 {
        font-size: 20px
    }

    .page-heading p {
        font-size: 11px
    }

    .content-cards {
        grid-template-columns: 1fr
    }

    .top-actions {
        gap: 7px
    }
}

.view {
    display: none
}

.view.active {
    display: block
}

.inquiry-status-select {
    border: 0;
    cursor: pointer;
    outline: 0
}

.inquiry-status-select.status-new {
    color: #bd7f1e;
    background: #fff5e2
}

.inquiry-status-select.status-review {
    color: #536fcb;
    background: #edf2ff
}

.inquiry-status-select.status-done {
    color: #299475;
    background: #e8f7f1
}

/* Koyu arayuz ve daha rahat okunabilir metin olculeri */
:root {
    color-scheme: dark;
    --ink: #edf2ff;
    --muted: #a4b0c7;
    --line: #253149;
    --blue: #7794ff;
    --violet: #9c82ff;
    --panel: #121c2e;
    --shadow: 0 10px 32px rgba(0, 0, 0, .18);
    color: #edf2ff;
    background: #0b1220
}

body {
    background: #0b1220;
    color: #edf2ff;
    font-size: 15px
}

.sidebar {
    background: #0e1728;
    border-color: #202c41
}

.brand {
    color: #f3f6ff
}

.workspace-label,
.eyebrow {
    color: #9ba9c2;
    font-size: 11px
}

.nav-item {
    color: #b0bdd2;
    font-size: 14px
}

.nav-item:hover {
    background: #18243a;
    color: #fff
}

.nav-item.active {
    background: #1b2b4b;
    color: #a9bcff
}

.nav-count {
    background: #202b3f;
    color: #c1cce0;
    font-size: 11px
}

.blue-count {
    background: #23365f;
    color: #b5c7ff
}

.connection-mini {
    background: #131e31;
    border-color: #26344c
}

.connection-mini strong,
.profile strong {
    font-size: 13px;
    color: #e5ebf8
}

.connection-mini small,
.profile small {
    font-size: 12px;
    color: #a3afc3
}

.site-link {
    color: #b1bed2;
    font-size: 13px
}

.profile {
    border-color: #253149
}

.topbar {
    background: rgba(14, 23, 40, .94);
    border-color: #253149
}

.breadcrumbs {
    color: #a1aec4;
    font-size: 13px
}

.breadcrumbs strong {
    color: #e0e8f7
}

.preview-badge {
    color: #c0cbe0;
    background: #172237;
    border-color: #29364e;
    font-size: 12px
}

.icon-button {
    background: #172237;
    border-color: #2b3850;
    color: #d3dced
}

.page-heading h1 {
    color: #f1f4fb;
    font-size: 31px
}

.page-heading p {
    color: #b0bdd1;
    font-size: 14px
}

.demo-banner {
    background: #14213a;
    border-color: #2b416d;
    color: #c2cfea
}

.demo-banner strong {
    color: #dce6ff;
    font-size: 14px
}

.demo-banner p {
    color: #b2c0db;
    font-size: 13px
}

.demo-banner>button {
    color: #b3bfd3
}

.stat-card,
.panel {
    background: #121c2e;
    border-color: #26334a;
    box-shadow: var(--shadow)
}

.stat-top {
    color: #b0bdd2;
    font-size: 11px
}

.stat-value {
    color: #f1f5ff;
    font-size: 30px
}

.stat-small {
    color: #aebbd0
}

.stat-foot {
    color: #b0bdd1;
    font-size: 12px
}

.panel-heading h2 {
    color: #f0f4fc;
    font-size: 17px
}

.panel-heading p {
    color: #aebbd1;
    font-size: 13px
}

.text-button {
    color: #a9bcff;
    font-size: 13px
}

thead th {
    color: #adbad0;
    font-size: 10px;
    border-color: #29364d
}

tbody td {
    color: #c0cadd;
    font-size: 13px;
    border-color: #253149
}

.person-avatar {
    color: #b8c8ff;
    background: #223254;
    font-size: 11px
}

.person-name {
    color: #edf2fc;
    font-size: 13px
}

.person-email {
    color: #aebbd0;
    font-size: 11px
}

.status-chip {
    font-size: 11px
}

.status-new,
.inquiry-status-select.status-new {
    color: #ffd18a;
    background: #493719
}

.status-review,
.inquiry-status-select.status-review {
    color: #c0ceff;
    background: #25365c
}

.status-done,
.inquiry-status-select.status-done,
.content-status {
    color: #9ce3c8;
    background: #193d36
}

.content-draft {
    color: #c1cada;
    background: #2b3547
}

.quick-action {
    background: transparent;
    border-color: #29364c
}

.quick-action strong {
    color: #e6ecf7;
    font-size: 13px
}

.quick-action small {
    color: #aab7cb;
    font-size: 12px
}

.quick-action>b {
    color: #afbdd3
}

.mini-content {
    border-color: #2a374e;
    background: #141f32
}

.mini-content .mini-type {
    color: #b1bfd4;
    font-size: 10px
}

.mini-content strong {
    color: #ecf1fa;
    font-size: 13px
}

.mini-content .mini-bottom {
    color: #adbbd0;
    font-size: 11px
}

.search-box,
.content-toolbar select,
.settings-panel select {
    background: #0e1727;
    border-color: #2b3850;
    color: #dce5f4
}

.search-box input {
    background: transparent;
    color: #ecf2ff;
    font-size: 13px
}

.search-box input::placeholder {
    color: #9ba9c0
}

.content-toolbar select,
.settings-panel select {
    font-size: 12px
}

.table-action {
    background: #202c42;
    color: #d5def0;
    font-size: 11px
}

.table-action:hover {
    background: #2b3e63;
    color: #fff
}

.empty-state {
    color: #b1bed2;
    font-size: 14px
}

.integration-note {
    background: #142039;
    border-color: #2b3a56;
    color: #bdc9dc
}

.integration-note p {
    font-size: 12px
}

.integration-note strong {
    color: #e5ecfa;
    font-size: 13px
}

.integration-note code,
.endpoint-list code {
    background: #26344c;
    color: #e1e9fb
}

.inquiry-total {
    color: #b0bdd2;
    font-size: 12px
}

.inquiry-total strong {
    color: #f2f5fc;
    font-size: 27px
}

.settings-panel form>label:not(.check-row),
.modal form>label {
    color: #d8e1f0;
    font-size: 13px
}

.settings-panel input[type=url],
.modal input:not([type=hidden]),
.modal select,
.modal textarea {
    background: #0d1626;
    border-color: #2b3850;
    color: #e7eefb;
    font-size: 13px
}

.settings-panel form>small {
    color: #a9b6ca;
    font-size: 11px
}

.check-row {
    color: #c2cde0;
    font-size: 13px
}

.security-panel {
    background: #17243a;
    border-color: #2a3a56
}

.security-panel h2 {
    font-size: 16px
}

.security-panel p,
.security-panel li {
    color: #c1cde0;
    font-size: 12px
}

.endpoint-list>div {
    border-color: #2a374e;
    background: #141f32
}

.endpoint-list span {
    color: #d5def0;
    font-size: 12px
}

.endpoint-list small {
    color: #aab7cb;
    font-size: 11px
}

.connection-pill {
    color: #ffdda1;
    background: #463819;
    font-size: 11px
}

.modal {
    background: #121c2e;
    color: #edf2ff;
    border: 1px solid #33415a
}

.modal-heading h2 {
    color: #f2f5fc;
    font-size: 21px
}

.modal .icon-button {
    background: #1a263b
}

.button-light {
    background: #1c2940;
    border-color: #35425a;
    color: #d8e1f0
}

.toast {
    background: #e9efff;
    color: #17233b;
    font-size: 13px
}

.inquiry-status-select {
    border: 0;
    font-size: 11px
}

@media(max-width:760px) {
    .page-heading h1 {
        font-size: 27px
    }

    .page-heading p {
        font-size: 13px
    }
}

/* Dar ekranda grid taşmalarını önle; geniş tablolar kendi içinde kaydırılsın. */
.page-content,
.view,
.dashboard-grid,
.settings-grid,
.page-heading>div,
.panel,
.panel-heading>div {
    min-width: 0
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr)
}

.table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch
}

table {
    min-width: 620px
}

@media(max-width:760px) {
    .page-content {
        width: 100%;
        max-width: 100%;
        overflow-x: clip
    }

    .dashboard-grid,
    .settings-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .dashboard-grid>.panel,
    .settings-grid>.panel {
        width: 100%;
        min-width: 0
    }

    .page-heading {
        min-width: 0
    }

    .page-heading>div {
        flex: 1 1 auto;
        min-width: 0
    }

    .page-heading h1 {
        overflow-wrap: anywhere
    }

    .panel-heading {
        min-width: 0
    }

    .content-toolbar {
        min-width: 0
    }

    .content-toolbar select {
        min-width: 0
    }

    .content-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0
    }

    .mini-content {
        min-width: 0;
        overflow-wrap: anywhere
    }
}

@media(max-width:420px) {
    .page-content {
        padding-right: 14px;
        padding-left: 14px
    }

    .topbar {
        padding-right: 14px;
        padding-left: 14px
    }

    .page-heading {
        gap: 8px
    }

    .page-heading .button {
        padding-right: 11px;
        padding-left: 11px
    }

    .content-cards {
        grid-template-columns: minmax(0, 1fr)
    }

    .panel {
        padding: 14px
    }

    .panel-heading {
        gap: 7px
    }

    .text-button {
        white-space: nowrap
    }

    .demo-banner {
        padding: 11px;
        gap: 8px
    }
}

.reminder-heading-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.reminder-due .reminder-icon {
    color: #ffd18a;
    background: #463719
}

.reminder-date small {
    margin-bottom: 5px
}

.reminder-open-project {
    display: block;
    margin: 5px 0 0 auto
}

@media(max-width:760px) {
    .reminder-heading-actions {
        width: 100%;
        justify-content: flex-start
    }

    .page-heading:has(.reminder-heading-actions) {
        display: block
    }

    .page-heading:has(.reminder-heading-actions) .reminder-heading-actions {
        margin-top: 14px
    }

    .reminder-open-project {
        margin-left: 0
    }

    .reminder-date {
        display: block
    }

    .reminder-date small {
        margin-top: 4px
    }
}

@media(max-width:420px) {
    .inquiry-backdrop {
        padding: 8px
    }

    .inquiry-modal {
        width: calc(100vw - 16px);
        padding: 12px
    }

    .project-modal {
        width: calc(100vw - 16px);
        padding: 12px
    }
}

.payment-modal {
    width: min(100%, 470px)
}

.payment-balance {
    color: #b7c4d8;
    font-size: 13px;
    margin: 7px 0 0
}

.payment-modal form>label {
    display: block;
    color: #d8e1f0;
    font-size: 13px;
    font-weight: 700;
    margin: 17px 0 7px
}

.payment-modal input:not([type=hidden]) {
    width: 100%;
    border: 1px solid #2b3850;
    border-radius: 8px;
    background: #0d1626;
    color: #e7eefb;
    padding: 10px;
    font-size: 13px
}

.project-actions {
    flex-wrap: wrap
}

.reminder-heading-actions .button-light {
    border-color: #35425a
}

.renewal-line+.renewal-line {
    border-top: 1px solid #2a374e;
    margin-top: 5px;
    padding-top: 5px
}

.project-renewal small {
    line-height: 1.45
}

.project-actions {
    min-width: 120px
}

/* Proje ve başvuru araçları */
.crm-stats {
    margin-top: -5px
}

.reminder-shortcut {
    cursor: pointer
}

.reminder-shortcut:hover {
    border-color: #617bd0
}

.project-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: -7px 0 16px
}

.summary-tile {
    padding: 15px 17px;
    border: 1px solid #2a374e;
    background: #141f32;
    border-radius: 11px
}

.summary-tile span {
    display: block;
    color: #aab8cf;
    font-size: 11px
}

.summary-tile strong {
    display: block;
    color: #f1f5fc;
    font-size: 20px;
    margin-top: 6px
}

.projects-table {
    min-width: 920px
}

.projects-table td {
    vertical-align: middle
}

.project-title {
    color: #edf2fc;
    font-size: 13px;
    font-weight: 700
}

.project-subtitle {
    color: #aab7cb;
    font-size: 11px;
    margin-top: 4px
}

.money-cell strong {
    display: block;
    color: #e6edf9;
    font-size: 12px
}

.money-cell small {
    display: block;
    color: #aab7cb;
    font-size: 11px;
    margin-top: 4px
}

.project-renewal {
    white-space: normal;
    min-width: 180px
}

.project-renewal strong {
    display: block;
    color: #e4ebf8;
    font-size: 11px
}

.project-renewal small {
    display: block;
    color: #aab7cb;
    font-size: 10px;
    line-height: 1.45
}

.renewal-line+.renewal-line {
    border-top: 1px solid #2a374e;
    margin-top: 5px;
    padding-top: 5px
}

.project-status {
    border: 0;
    border-radius: 20px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700
}

.project-status.status-active {
    color: #9ce3c8;
    background: #193d36
}

.project-status.status-paused {
    color: #ffd18a;
    background: #493719
}

.project-status.status-complete {
    color: #c1cada;
    background: #2b3547
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 120px
}

.project-action {
    border: 1px solid #35425a;
    border-radius: 7px;
    background: #1b2940;
    color: #d6e0f2;
    padding: 6px 8px;
    font-size: 10px
}

.project-action:hover {
    background: #2a3c5d
}

.reminder-list {
    display: grid;
    gap: 9px
}

.reminder-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #2a374e;
    background: #141f32;
    border-radius: 10px
}

.reminder-icon {
    height: 36px;
    width: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #ffcf7d;
    background: #463719;
    font-size: 16px
}

.reminder-item.reminder-urgent .reminder-icon {
    color: #ffaba7;
    background: #4a282c
}

.reminder-item.reminder-info .reminder-icon {
    color: #afc2ff;
    background: #223254
}

.reminder-due .reminder-icon {
    color: #ffd18a;
    background: #463719
}

.reminder-copy strong {
    display: block;
    color: #edf2fc;
    font-size: 13px
}

.reminder-copy p {
    color: #b0bdd1;
    font-size: 11px;
    margin: 4px 0 0
}

.reminder-date {
    color: #d7e0f0;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap
}

.reminder-date small {
    display: block;
    color: #a7b4c9;
    font-size: 10px;
    font-weight: 500;
    margin: 4px 0
}

.reminder-open-project {
    display: block;
    margin: 5px 0 0 auto
}

.reminder-filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: -7px 0 13px
}

.reminder-filter {
    padding: 8px 11px;
    border: 1px solid #2b3850;
    border-radius: 20px;
    background: #141f32;
    color: #b2bfd2;
    font-size: 11px
}

.reminder-filter.active {
    background: #293b62;
    color: #dce6ff;
    border-color: #405a91
}

.upcoming-panel {
    margin-top: 16px
}

.reminder-heading-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.project-modal {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto
}

.project-modal .modal-heading {
    position: sticky;
    top: -23px;
    padding: 17px 0 13px;
    background: #121c2e;
    z-index: 2;
    border-bottom: 1px solid #2a374e
}

.form-section-title {
    font-size: 13px;
    color: #aebfff;
    margin: 21px 0 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid #2a374e
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 13px
}

.form-grid>div {
    min-width: 0
}

.project-modal textarea {
    width: 100%;
    border: 1px solid #2b3850;
    border-radius: 8px;
    background: #0d1626;
    color: #e7eefb;
    font: inherit;
    font-size: 13px;
    padding: 10px;
    resize: vertical
}

.project-modal .check-row {
    align-self: end;
    min-height: 38px;
    margin: 17px 0 7px
}

.project-modal input[type=checkbox] {
    accent-color: #7794ff
}

.inquiry-backdrop {
    z-index: 30;
    padding: 12px
}

.inquiry-modal {
    width: min(1120px, calc(100vw - 24px));
    max-width: 1120px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto
}

.inquiry-modal .modal-heading {
    position: sticky;
    top: -23px;
    padding: 6px 0 15px;
    background: #121c2e;
    z-index: 2;
    border-bottom: 1px solid #2a374e
}

.inquiry-modal .modal-heading h2 {
    font-size: 22px
}

.inquiry-modal .modal-heading p {
    color: #b0bdd1;
    font-size: 13px;
    margin: 5px 0 0
}

.inquiry-table {
    min-width: 760px
}

.inquiry-open {
    border: 1px solid #35425a;
    border-radius: 7px;
    background: #1c2940;
    color: #d6e0f2;
    padding: 6px 9px;
    font-size: 10px
}

.inquiry-open:hover {
    background: #293d64
}

.inquiry-detail-modal {
    width: min(100%, 540px)
}

.inquiry-detail-line {
    padding: 11px 0;
    border-bottom: 1px solid #29364d
}

.inquiry-detail-line small {
    display: block;
    color: #9eacc2;
    font-size: 10px;
    margin-bottom: 5px
}

.inquiry-detail-line strong,
.inquiry-detail-line p {
    color: #e8eef9;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
    overflow-wrap: anywhere
}

.payment-modal {
    width: min(100%, 470px)
}

.payment-balance {
    color: #b7c4d8;
    font-size: 13px;
    margin: 7px 0 0
}

.payment-modal form>label {
    display: block;
    color: #d8e1f0;
    font-size: 13px;
    font-weight: 700;
    margin: 17px 0 7px
}

.payment-modal input:not([type=hidden]) {
    width: 100%;
    border: 1px solid #2b3850;
    border-radius: 8px;
    background: #0d1626;
    color: #e7eefb;
    padding: 10px;
    font-size: 13px
}

.export-button {
    height: 36px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@media(max-width:760px) {
    .crm-stats {
        margin-top: 0
    }

    .project-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .project-modal {
        width: calc(100vw - 24px);
        max-height: 94vh;
        max-height: 94dvh;
        padding: 17px
    }

    .project-modal .modal-heading,
    .inquiry-modal .modal-heading {
        top: -17px
    }

    .project-modal .form-grid {
        grid-template-columns: 1fr
    }

    .project-modal .form-actions {
        position: sticky;
        bottom: -17px;
        background: #121c2e;
        padding: 12px 0 0
    }

    .inquiry-backdrop {
        padding: 10px
    }

    .inquiry-modal {
        width: calc(100vw - 20px);
        max-height: 94vh;
        max-height: 94dvh;
        padding: 16px
    }

    .inquiry-modal .content-toolbar {
        display: grid;
        grid-template-columns: 1fr
    }

    .inquiry-modal .content-toolbar select {
        width: 100%
    }

    .inquiry-modal .table-wrap {
        overflow: visible
    }

    .inquiry-table,
    .inquiry-table tbody {
        display: block;
        min-width: 0;
        width: 100%;
        white-space: normal
    }

    .inquiry-table thead {
        display: none
    }

    .inquiry-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3px 8px;
        padding: 9px;
        margin: 8px 0;
        border: 1px solid #2a374e;
        border-radius: 10px;
        background: #141f32
    }

    .inquiry-table td {
        display: block;
        min-width: 0;
        white-space: normal;
        border: 0;
        padding: 6px 4px;
        overflow-wrap: anywhere
    }

    .inquiry-table td:before {
        content: attr(data-label);
        display: block;
        color: #9eacc2;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .25px;
        margin-bottom: 4px
    }

    .inquiry-table td:last-child {
        grid-column: 1/-1
    }

    .inquiry-table td:last-child:before {
        content: none
    }

    .inquiry-table .person-cell {
        align-items: flex-start
    }

    .inquiry-table .person-email {
        word-break: break-all
    }

    .inquiry-table .inquiry-status-select {
        max-width: 100%
    }

    .reminder-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px
    }

    .reminder-date {
        grid-column: 2;
        text-align: left;
        white-space: normal
    }

    .reminder-open-project {
        margin-left: 0
    }

    .reminder-heading-actions {
        width: 100%;
        justify-content: flex-start
    }

    .page-heading:has(.reminder-heading-actions) {
        display: block
    }

    .page-heading:has(.reminder-heading-actions) .reminder-heading-actions {
        margin-top: 14px
    }
}

@media(max-width:420px) {
    .project-summary {
        grid-template-columns: minmax(0, 1fr)
    }

    .inquiry-backdrop {
        padding: 8px
    }

    .inquiry-modal {
        width: calc(100vw - 16px);
        max-height: 96vh;
        max-height: 96dvh;
        padding: 12px
    }

    .project-modal {
        width: calc(100vw - 16px);
        padding: 12px
    }

    .project-modal .modal-heading,
    .inquiry-modal .modal-heading {
        top: -12px
    }

    .inquiry-table tr {
        grid-template-columns: minmax(0, 1fr)
    }

    .inquiry-table td:last-child {
        grid-column: 1
    }

    .page-heading:has(.reminder-heading-actions) .reminder-heading-actions {
        gap: 6px
    }
}

/* Başvuru listesi tam sayfada; yalnız seçilen başvuru ayrıntısı modal olarak açılır. */
.inquiry-view-panel {
    width: 100%;
    min-width: 0
}

.inquiry-table {
    min-width: 760px
}

.inquiry-view-panel .content-toolbar {
    margin-bottom: 15px
}

.inquiry-detail-modal {
    width: min(100%, 540px)
}

@media(max-width:760px) {
    .inquiry-view-panel .table-wrap {
        overflow: visible
    }

    .inquiry-view-panel .inquiry-table,
    .inquiry-view-panel .inquiry-table tbody {
        display: block;
        min-width: 0;
        width: 100%;
        white-space: normal
    }

    .inquiry-view-panel .inquiry-table thead {
        display: none
    }

    .inquiry-view-panel .inquiry-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3px 8px;
        padding: 9px;
        margin: 8px 0;
        border: 1px solid #2a374e;
        border-radius: 10px;
        background: #141f32
    }

    .inquiry-view-panel .inquiry-table td {
        display: block;
        min-width: 0;
        white-space: normal;
        border: 0;
        padding: 6px 4px;
        overflow-wrap: anywhere
    }

    .inquiry-view-panel .inquiry-table td:before {
        content: attr(data-label);
        display: block;
        color: #9eacc2;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .25px;
        margin-bottom: 4px
    }

    .inquiry-view-panel .inquiry-table td:last-child {
        grid-column: 1/-1
    }

    .inquiry-view-panel .inquiry-table td:last-child:before {
        content: none
    }

    .inquiry-view-panel .person-cell {
        align-items: flex-start
    }

    .inquiry-view-panel .person-email {
        word-break: break-all
    }

    .inquiry-view-panel .inquiry-status-select {
        max-width: 100%
    }
}

@media(max-width:420px) {
    .inquiry-view-panel .inquiry-table tr {
        grid-template-columns: minmax(0, 1fr)
    }

    .inquiry-view-panel .inquiry-table td:last-child {
        grid-column: 1
    }
}