﻿:root {
    --arka: #f6f7f9;
    --kart: #ffffff;
    --kenar: #e6e8ec;
    --metin: #1f2937;
}

body {
    background: var(--arka);
    color: var(--metin);
}

.navbar {
    box-shadow: none;
}

.card {
    background: var(--kart);
    border: 1px solid var(--kenar);
    box-shadow: none;
    border-radius: 10px;
}

.card-header {
    background: #fbfbfc;
    border-bottom: 1px solid var(--kenar);
    font-weight: 600;
}

.table th {
    white-space: nowrap;
    font-size: 0.85rem;
    color: #6b7280;
}

.table td {
    vertical-align: middle;
}

.badge-status {
    text-transform: none;
    font-weight: 600;
}

.money-input {
    text-align: right;
}

.toast-container {
    z-index: 1080;
}

.table-pagination {
    border-top: 1px solid var(--kenar);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.table-pagination .pagination {
    margin-bottom: 0;
}

.table-pagination .page-link {
    border-radius: 8px;
}

.dashboard-card {
    display: block;
    border: 1px solid var(--kenar);
    background: var(--kart);
    border-radius: 10px;
    padding: 0;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dashboard-card:hover {
    border-color: #c5ccd8;
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.08);
    transform: translateY(-1px);
}

.dashboard-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .2);
}

.choices {
    margin-bottom: 0;
}

.choices__inner {
    min-height: calc(2.25rem + 2px);
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background: #fff;
    font-size: .95rem;
    padding: .3rem .6rem .15rem;
}

.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

.choices__list--multiple .choices__item {
    background: #eef3fb;
    border: 1px solid #d3def2;
    color: #1f2937;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    border-color: #ced4da;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .1);
}

/* Customer item modal: force internal scroll on long forms */
#modalCustomerItem .modal-dialog {
    margin: 1rem auto;
    height: calc(100vh - 2rem);
}

#modalCustomerItem .modal-content {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

#modalCustomerItem #customerItemForm {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

#modalCustomerItem .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
}
