:root {
    --merkez-primary: #4d9fa1;
    --merkez-dark: #0f172a;
    --merkez-muted: #6b7280;
    --merkez-bg: #e8f7f8;
    --clay-light: rgba(255, 255, 255, 0.9);
    --clay-dark: rgba(15, 23, 42, 0.14);
}

body {
    min-height: 100vh;
    color: var(--merkez-dark);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    background: radial-gradient(circle at top left, #d4f4f6 0, #e8f7f8 40%, #eef7ff 100%);
}

.container {
    max-width: 1120px;
}


.logo{
    width: 120px;
    height: 120px;
    object-fit: contain;
}
.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 24px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #dff7f8);
    box-shadow:
        8px 8px 20px var(--clay-dark),
        -6px -6px 18px var(--clay-light);
}

.card {
    border: none;
    border-radius: 24px;
    background: #fefefe;
    box-shadow:
        14px 14px 32px var(--clay-dark),
        -10px -10px 28px var(--clay-light);
    overflow: visible;
}

.card-header {
    background: linear-gradient(135deg, #ffffff, #dff7f8);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px 24px 0 0 !important;
}

.card-body {
    position: relative;
    overflow: visible;
}

.table thead th {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--merkez-muted);
    border-bottom-width: 1px;
}

.table tbody td {
    vertical-align: middle;
}

.table {
    border-collapse: separate;
    border-spacing: 0 6px;
}

.table-responsive {
    overflow: visible !important;
    position: relative;
}

.table > :not(caption) > * > * {
    background-color: transparent;
}

#items-table tbody tr {
    background: #ffffff;
    box-shadow:
        4px 4px 12px rgba(15, 23, 42, 0.08),
        -3px -3px 8px rgba(255, 255, 255, 0.9);
}

#items-table tbody tr:first-child td:first-child {
    border-top-left-radius: 14px;
}

#items-table tbody tr:first-child td:last-child {
    border-top-right-radius: 14px;
}

#items-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}

#items-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

.product-name-cell {
    position: relative;
}

.status-cell {
    min-width: 110px;
}

.status-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.status-pill {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.95);
    color: var(--merkez-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.status-pill:hover {
    border-color: var(--status-color, var(--merkez-primary));
}

.status-pill.active {
    background: var(--status-color, var(--merkez-primary));
    color: #ffffff;
    border-color: transparent;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.12);
}

.status-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-suggestion-list {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        12px 12px 28px rgba(15, 23, 42, 0.16),
        -6px -6px 18px rgba(255, 255, 255, 0.95);
    padding: 6px 0;
    max-height: 240px;
    overflow-y: auto;
    display: none;
}

.product-suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--merkez-dark);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.product-suggestion-item:hover,
.product-suggestion-item:focus {
    background-color: rgba(77, 159, 161, 0.12);
}

.product-suggestion-price {
    font-weight: 600;
    color: var(--merkez-primary);
}

.product-suggestion-empty {
    padding: 10px 16px;
    color: var(--merkez-muted);
    font-size: 0.85rem;
}

.table input[type="number"]::-webkit-outer-spin-button,
.table input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#add-row {
    border-style: dashed;
    border-color: rgba(77, 159, 161, 0.4);
}

.quote-totals {
    background: radial-gradient(circle at top left, rgba(77, 159, 161, 0.16), rgba(15, 23, 42, 0.03));
    border-radius: 20px;
    box-shadow:
        10px 10px 24px var(--clay-dark),
        -8px -8px 20px var(--clay-light);
}

.line-total-value {
    font-weight: 600;
    color: var(--merkez-dark);
}

.list-group-item {
    border-color: rgba(148, 163, 184, 0.35);
    border-radius: 18px !important;
    margin: 6px 12px;
    box-shadow:
        6px 6px 18px rgba(15, 23, 42, 0.08),
        -4px -4px 14px rgba(255, 255, 255, 0.9);
}

.list-group-item + .list-group-item {
    border-top-width: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #4d9fa1, #67c7ca);
    border: none;
    border-radius: 999px;
    box-shadow:
        6px 6px 18px rgba(248, 113, 113, 0.35),
        -3px -3px 10px rgba(255, 255, 255, 0.9);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3f8a8c, #55b6b9);
}


.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: #4d9fa1 !important;
    border-color: #4d9fa1 !important;
}

.text-primary {
    color: #4d9fa1 !important;
}

.btn:hover {

    border-color:#4d9fa1 !important;
    background-color: #4d9fa1 !important;
}

.btn-outline-secondary,
.btn-outline-primary {
    bs-btn-color: #4d9fa1 !important;
    bs-btn-border-color: #4d9fa1 !important;
    bs-btn-hover-bg: #4d9fa1 !important;
    border-radius: 999px;
    border-width: 1px;
    box-shadow:
        4px 4px 14px rgba(15, 23, 42, 0.06),
        -3px -3px 10px rgba(255, 255, 255, 0.8);
}

.btn-outline-secondary {
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--merkez-dark);
}

.btn-outline-primary {
    border-color: rgba(77, 159, 161, 0.8);
    color: var(--merkez-primary);
}

@media (max-width: 767px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .card-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start !important;
    }
}


