/* --- ADMIN DASHBOARD CARD GRID --- */
div#__asptrace {
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
    width: calc(100% - 20px);
    left: 10px;
    bottom: 0;
    height: 200px;
    background-color: white;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

    .dashboard-cards .card,
    .dashboard-cards > div,
    .dashboard-cards li {
        background: #fff !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(17, 16, 28, .08) !important;
        padding: 24px 18px 20px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        min-height: 170px !important;
        transition: box-shadow .18s, transform .15s !important;
        list-style: none !important;
        margin: 0 !important;
    }

        .dashboard-cards .card:hover,
        .dashboard-cards > div:hover,
        .dashboard-cards li:hover {
            box-shadow: 0 10px 28px rgba(17, 16, 28, .13) !important;
            transform: translateY(-2px) !important;
        }

        .dashboard-cards .card i,
        .dashboard-cards > div i {
            font-size: 2rem;
            margin-bottom: 8px;
        }

        .dashboard-cards .card .text-lg,
        .dashboard-cards > div .text-lg {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .dashboard-cards .card .text-3xl,
        .dashboard-cards > div .text-3xl {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 2px;
        }

        .dashboard-cards .card .text-xs,
        .dashboard-cards > div .text-xs {
            font-size: 0.85rem;
            color: #888;
        }

        .dashboard-cards .card a,
        .dashboard-cards > div a {
            margin-top: 6px;
        }

        /* KPI Card Specific Styles */
        .dashboard-cards .card.kpi,
        .dashboard-cards li.card.kpi {
            text-align: center !important;
            padding: 24px 20px !important;
        }

            .dashboard-cards .card.kpi h3,
            .dashboard-cards li.card.kpi h3 {
                font-size: 0.9rem !important;
                font-weight: 600 !important;
                color: #666 !important;
                margin-bottom: 8px !important;
                text-transform: uppercase !important;
                letter-spacing: 0.5px !important;
                margin-top: 0 !important;
            }

            .dashboard-cards .card.kpi .kpi-val,
            .dashboard-cards li.card.kpi .kpi-val {
                font-size: 2.2rem !important;
                font-weight: 800 !important;
                color: var(--gg-primary, #7538a7) !important;
                margin: 8px 0 !important;
                line-height: 1 !important;
            }

            .dashboard-cards .card.kpi .kpi-sub,
            .dashboard-cards li.card.kpi .kpi-sub {
                font-size: 0.85rem !important;
                color: #888 !important;
                margin: 0 !important;
            }

            .dashboard-cards .card.kpi .chip,
            .dashboard-cards li.card.kpi .chip {
                background: #e8f5e8 !important;
                color: #2d7d32 !important;
                padding: 2px 8px !important;
                border-radius: 12px !important;
                font-weight: 600 !important;
                font-size: 0.8rem !important;
            }

                .dashboard-cards .card.kpi .chip.chip-warn,
                .dashboard-cards li.card.kpi .chip.chip-warn {
                    background: #fff3e0 !important;
                    color: #f57c00 !important;
                }

:root {
    --gg-primary: #7538a7;
    --gg-primary-600: #5c2e86;
    --gg-primary-700: #471a6d;
    --gg-text: #1f2937;
    --gg-muted: #6b7280;
    --gg-border: #e5e7eb;
    --gg-bg-1: #f8f9fb;
    --gg-bg-2: #f1e9fc;
    --gg-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    --gg-shadow-md: 0 10px 30px rgba(17, 16, 28, .06);
    --gg-shadow-lg: 0 18px 42px rgba(17, 16, 28, .12);
    --gg-container: 1180px;
    --gg-section: 920px;
    --radius: 14px;
    --topbar-h: 72px;
    --page-gap: 24px;
}

@media (max-width:768px) {

    :root {
        --topbar-h: 140px;
        --page-gap: 16px;
    }
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif
}

html,
body,
body > form {
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

body {
    color: var(--gg-text);
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, var(--gg-bg-1), var(--gg-bg-2));
}

img {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none !important
}

.hidden {
    display: none !important
}



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

.loading-indicator{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}
.loading-indicator .content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7538a7;
    text-align: center;
}
.loading-indicator .content .spinner-border{
    margin-top: 20px;
}

/* ============================== 2) TOPBAR ============================== */

.topbar {
    position: sticky;
    top: 0;
    inset-inline: 0;
    width: 100%;
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
    min-height: var(--topbar-h);
    padding: 0;
    z-index: 1048;
    background: linear-gradient(90deg, #7538a7 0%, #5c2e86 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    backdrop-filter: saturate(120%) blur(6px);
}
.topbar.minified{
    min-height: 85px;
}

.topbar-inner {
    display: grid;
    grid-template-columns: auto minmax(360px, 1fr) auto;
    grid-template-areas: "profile search exit";
    align-items: center;
    gap: 20px;
    max-width: var(--gg-container);
    margin: 0 auto;
    padding: 12px 24px;
    color: #fff;
}

.profile {
    grid-area: profile;
    justify-self: start
}

.topbar-right {
    grid-area: exit;
    justify-self: end
}

.exit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
    transition: background .15s, transform .15s;
    color: #fff;
}

    .exit-btn:hover {
        background: rgba(255, 255, 255, .25);
        transform: translateY(-1px)
    }

    .exit-btn img {
        width: 20px;
        height: 20px;
        object-fit: contain
    }

.profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25)
}

.username-badge {
    background: rgba(255, 255, 255, .25);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700
}

.profile-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    max-width: 180px
}

    .profile-text .hello {
        font-weight: 600;
        color: #fff;
        font-size: 13px
    }

    .profile-text .name {
        font-weight: 800;
        color: #fff;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.takip-wrapper {
    grid-area: search;
    justify-self: center;
    width: 100%;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 28px;
    background: rgba(255, 255, 255, .15);
    padding: 6px 8px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .18s, border-color .18s;
}

    .takip-wrapper:focus-within {
        border-color: rgba(255, 255, 255, .45);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), inset 0 2px 10px rgba(0, 0, 0, .08);
    }

.takip-input {
    flex: 1;
    height: 42px;
    border: none;
    outline: none;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    color: #111;
}

.search-button {
    width: 48px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0 8px 8px 0;
    background: #e63946;
    color: #fff;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

    .search-button:hover {
        background: #c92a36;
        transform: translateY(-1px);
    }

@media (max-width:768px) {

    .topbar-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas: "profile exit" "search search";
        gap: 10px;
        padding: 10px 12px !important;
    }

    .takip-wrapper {
        max-width: 100%
    }
}



/* ============================== 3) LAYOUT ============================== */

.layout {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    flex: 1;
    max-width: var(--gg-container);
    margin: var(--page-gap) auto !important;
    padding-inline: 16px;
    min-height: calc(100vh - var(--topbar-h) - var(--page-gap));
    max-height: 100%;
    width: 100% !important;
    z-index: 1049;
}

aside {
    background: #fff;
    border-right: 1px solid #eadff8;
    box-shadow: 2px 0 14px rgba(0, 0, 0, .06);
    width: 280px;
    padding: 20px;
    position: sticky;
    top: calc(var(--topbar-h) + var(--page-gap));
    align-self: start;
    max-height: calc(100vh - (var(--topbar-h) + var(--page-gap)*2));
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 280px;
    border-radius: 12px
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 20px;
    padding: 8px;
}

    .sidebar .logo img {
        max-width: 180px;
        height: auto;
        max-height: 50px;
        object-fit: contain;
    }

.sidebar .sidebar-menubutton {
    display: none;
}

nav button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #fff;
    color: var(--gg-primary);
    border: 1px solid #e8e1f5;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    transition: background .18s, transform .15s, box-shadow .18s, border-color .18s;
}

    nav button:hover {
        background: #f6f0fb;
        transform: translateY(-1px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .05);
        border-color: #e2d6f4
    }

    nav button[aria-selected="true"] {
        background: linear-gradient(90deg, rgba(117, 56, 167, .16), #fff 50%);
        color: #471a6d;
        border-color: #ceb8ee
    }

        nav button[aria-selected="true"]::before {
            content: "";
            position: absolute;
            left: -1px;
            top: -1px;
            bottom: -1px;
            width: 6px;
            border-radius: 10px 0 0 10px;
            background: linear-gradient(#7d3db5, #5c2e86)
        }

    nav button:focus-visible {
        outline: 3px solid rgba(117, 56, 167, .35);
        outline-offset: 2px
    }

main {
    min-width: 0;
    width: 100%;
    padding: 24px;
    padding-top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: var(--gg-section);
    /* margin-inline: auto; */
    /* min-height: calc(100vh - var(--topbar-h) - var(--page-gap)); */
    max-height: calc(100vh - (var(--topbar-h) + var(--page-gap)*2));
}

@media (max-width:768px) {

    .layout {
        display: block;
        margin: var(--page-gap) auto;
        padding-inline: 12px
    }

    main {
        padding: 16px;
        max-width: 100%
    }

    aside {
        position: fixed;
        top: var(--topbar-h);
        left: 0;
        bottom: 0;
        width: 240px;
        background: #fff;
        border-right: 1px solid #e2d9f2;
        box-shadow: 2px 0 10px rgba(0, 0, 0, .15);
        z-index: 999;
        transform: translateX(-260px);
        transition: transform .25s;
        max-height: calc(100vh - var(--topbar-h));
        border-radius: 0 12px 12px 0;
        height: 100%;
    }
    aside.minified{
        top: 85px;
    }

        aside.open {
            transform: translateX(0)
        }

    .sidebar .sidebar-menubutton {
        display: inline-block;
        position: absolute;
        right: 3px;
        width: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 2px 4px;
    }

    .sidebar.open .sidebar-menubutton {
        right: 10px;
        width: 30px;
    }
}



/* ============================== 4) PANEL / FORM ============================== */

.panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 22px rgba(17, 16, 28, .06);
    margin-bottom: 24px;
}

.fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--gg-shadow-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    .fieldset::before {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        pointer-events: none;
    }

    .fieldset legend {
        position: relative;
        z-index: 1;
        font-weight: 800;
        color: var(--gg-primary-700);
        font-size: 15px;
        padding: 8px 12px;
        margin-bottom: 12px;
        border-radius: 10px;
        background: linear-gradient(90deg, rgba(117, 56, 167, .12), rgba(117, 56, 167, 0) 60%);
    }

fieldset input:not([type="radio"]):not([type="checkbox"]),
fieldset select,
fieldset textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    height: 42px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    border: 1px solid #E6E1F4;
    border-radius: 8px;
    color: #333;
    background: #fff;
    font-family: inherit;
}

textarea {
    min-height: 80px;
    resize: vertical
}

    input::placeholder,
    textarea::placeholder,
    input[disabled],
    textarea[disabled],
    select[disabled] {
        color: #9aa0ad !important;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: #c9b6ef;
        outline: none;
        box-shadow: 0 0 0 3px rgba(117, 56, 167, .14);
    }

    input[readonly],
    select[readonly],
    textarea[readonly] {
        background: #f6f6f6!important;
        cursor: not-allowed
    }

fieldset label {
    margin: 0 0 4px 2px;
    font-size: 13px;
    font-weight: 700;
    color: #5e3d84;
    line-height: 1.3;
}



/* --- YENİ ESNEK FORM YAPISI (DÜZELTME) --- */

.form-fields-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--page-gap);
    margin-top: 1rem;
}

.form-field {
    flex: 1 1 100%;
    min-width: 220px;
    /* Alanların çok daralmasını önler */
}

    .form-field.full-width {
        flex-basis: 100%;
    }

@media (min-width: 768px) {

    .form-field:not(.full-width) {
        flex: 1 1 calc(50% - (var(--page-gap) / 2));
    }
}

/* --- ESKİ GRID YAPISI --- */

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

@media (max-width:1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr
    }
}

.fieldset > .grid-1,
.fieldset > .grid-2,
.fieldset > .grid-3,
.fieldset > .grid-4 {
    margin-top: 14px
}

    .fieldset > .grid-1:first-of-type,
    .fieldset > .grid-2:first-of-type,
    .fieldset > .grid-3:first-of-type,
    .fieldset > .grid-4:first-of-type {
        margin-top: 8px
    }

.fieldset .grid-1 > div,
.fieldset .grid-2 > div,
.fieldset .grid-3 > div,
.fieldset .grid-4 > div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.section-shell .page-title {
    font-weight: 800;
    font-size: clamp(24px, 2vw + 14px, 34px);
    line-height: 1.2;
    letter-spacing: .2px;
    color: #471a6d;
    margin: 0 0 10px;
}

#fiyat-section .page-title,
#yeniSection .page-title {
    font-size: 28px !important;
}

.section-shell > .header {
    margin: 8px 0 18px;
    color: #4a3f5e
}



/* ============================== 5) DASHBOARD ============================== */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--gg-shadow);
    transition: transform .18s, box-shadow .18s
}

    .card:not(form>.card):hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(17, 16, 28, .10)
    }

    .card.kpi {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start
    }

.kpi .kpi-val {
    font-weight: 800;
    font-size: clamp(24px, 1.2vw + 18px, 32px);
    color: #111
}

.kpi .kpi-sub {
    font-size: 12px;
    color: #6b7280
}

.chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f4f0ff;
    border: 1px solid #e6ddfb;
    color: #4e2a88;
    font-weight: 700
}

.chip-warn {
    background: #fff7da;
    border-color: #fde68a;
    color: #8a5e00
}

.spark {
    width: 100%;
    height: 48px;
    position: relative
}

    .spark::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 3px;
        height: 1px;
        background: linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .02));
    }

.mini-title {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #5e3d84;
    font-size: 13px
}

.gg-table,
#dbTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

    .gg-table thead th,
    #dbTable thead th {
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 1;
        box-shadow: 0 1px 0 #e5e7eb;
    }

    .gg-table thead th,
    .gg-table tbody td,
    #dbTable thead th,
    #dbTable tbody td {
        font-size: 12px;
        line-height: 1.3;
        padding: 8px 10px;
    }

    .gg-table tbody tr:nth-child(even),
    #dbTable tbody tr:nth-child(even) {
        background: #f9fafb
    }

    .gg-table tbody tr:hover,
    #dbTable tbody tr:hover {
        background: #f3f4f6;
        box-shadow: inset 0 0 0 1px #e5e7eb;
    }

    #dbTable thead th:first-child {
        border-top-left-radius: 10px
    }

    #dbTable thead th:last-child {
        border-top-right-radius: 10px
    }

    #dbTable tbody tr:last-child td:first-child {
        border-bottom-left-radius: 10px
    }

    #dbTable tbody tr:last-child td:last-child {
        border-bottom-right-radius: 10px
    }

    .gg-table tbody td:last-child,
    .gg-table thead th:last-child,
    #dbTable tbody td:last-child,
    #dbTable thead th:last-child {
        text-align: right;
        font-variant-numeric: tabular-nums;
        white-space: nowrap
    }

    #dbTable tbody td:nth-child(3),
    #dbTable tbody td:nth-child(4) {
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    #dbTable thead th.col-actions,
    #dbTable tbody td.col-actions,
    .gg-table .col-actions {
        width: 52px;
        text-align: center
    }

    #dbTable thead th:nth-child(7),
    #dbTable tbody td:nth-child(7) {
        text-align: right;
        white-space: nowrap
    }

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eee8fb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(17, 16, 28, .06)
}

    .table-wrap::-webkit-scrollbar {
        height: 10px
    }

    .table-wrap::-webkit-scrollbar-thumb {
        background: #e2d6f4;
        border-radius: 999px
    }

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    padding: 6px 10px;
    border-radius: 20px;
    font: 700 13px/1 Inter, sans-serif;
    text-align: center;
    color: #fff;
    background: #6b7280;
    border: 1px solid transparent;
}

.pill--yolda {
    background: #007bff
}

.pill--dagitim {
    background: #ff9800
}

.pill--teslim {
    background: #28a745
}

.pill--iptal {
    background: #dc3545 !important;
    color: #fff !important;
    border: none !important
}

.pill--in_transit {
    background: #007bff
}

.pill--out_for_delivery {
    background: #ff9800
}

.pill--delivered {
    background: #28a745
}

.pill--canceled {
    background: #dc3545
}

.pill--pending {
    background: #6b7280
}



/* ============================== 6) "SERVİSLER" TABLOLARI ============================== */

#fiyatServisler table,
#yeniServisler table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(17, 16, 28, .08) !important;
}

#fiyatServisler thead,
#yeniServisler thead {
    background: linear-gradient(90deg, #7538a7, #5c2e86) !important;
}

    #fiyatServisler thead th,
    #yeniServisler thead th {
        width: fit-content;
        vertical-align: middle !important;
        padding: 16px 12px !important;
        text-align: center !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        border: none !important;
    }

#fiyatServisBody td,
#yeniServisBody td {
    width: fit-content;
    vertical-align: middle !important;
    padding: 16px 12px !important;
    text-align: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    transition: all 0.15s ease !important;
}

#fiyatServisBody tr:hover td,
#yeniServisBody tr:hover td {
    background: #f8f6ff !important;
    transform: translateY(-1px) !important;
}

#fiyatServisBody td:nth-child(1),
#yeniServisBody td:nth-child(1) {
    font-weight: 700 !important;
    color: #3f2a69 !important;
    font-size: 15px !important;
}

#fiyatServisBody td:nth-child(2),
#yeniServisBody td:nth-child(2) {
    font-weight: 700 !important;
    color: #111 !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 16px !important;
}

#fiyatServisBody td:nth-child(3),
#yeniServisBody td:nth-child(3) {
    color: #5c2e86 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

#fiyatServisBody td:nth-child(4),
#yeniServisBody td:nth-child(4) {
    text-align: center !important;
}

input.service-radio {
    width: 20px !important;
    height: 20px !important;
    accent-color: #7538a7 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1)) !important;
    cursor: pointer !important;
}

#fiyatServisBody tr.is-active,
#yeniServisBody tr.is-active {
    outline: 2px solid rgba(117, 56, 167, .22) !important;
    transform: translateY(-1px) !important;
    border-color: #d9c7fa !important;
    background: linear-gradient(180deg, #fff 0%, #f9f6ff 100%) !important;
}

#fiyatServisBody tr:last-child td,
#yeniServisBody tr:last-child td {
    border-bottom: none !important;
}



/* ============================== 7) ÖZET / YARDIMCI ============================== */

.ozet-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed
}

    .ozet-table tr {
        border-bottom: 1px solid #eee
    }

    .ozet-table td {
        padding: 8px 10px;
        vertical-align: top
    }

    .ozet-table .ozet-label {
        width: 140px;
        font-weight: 800;
        color: #5e3d84;
        white-space: nowrap
    }

    .ozet-table .ozet-value {
        font-size: 14px;
        color: #222;
        white-space: pre-line;
        word-break: break-word
    }

    .ozet-table .td-right {
        text-align: right;
        white-space: nowrap
    }

    .ozet-table tr.strong td {
        font-weight: 800;
        font-size: 15px;
        color: #000;
        border-top: 2px solid #ccc
    }

.sub-parca {
    border: 1px solid #e5def3;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 12px;
    background: #fbf9ff
}

    .sub-parca legend {
        font-weight: 900;
        color: #6b2fa3;
        padding: 0 8px;
        display: flex;
    }

    .sub-parca .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, minmax(140px, 1fr));
        gap: 12px
    }

@media (max-width:1024px) {
    .sub-parca .grid-4 {
        grid-template-columns: repeat(2, minmax(140px, 1fr))
    }
}

@media (max-width:768px) {
    .sub-parca .grid-4 {
        grid-template-columns: 1fr
    }
}

.sub-parca input {
    height: 44px
}

.margin-top {
    margin-top: 20px
}

#yeniSonucEk .fieldset > legend,
#yeniOzet .fieldset > legend,
#fiyatSonucEk .fieldset > legend {
    background: linear-gradient(90deg, rgba(117, 56, 167, .14), rgba(117, 56, 167, 0) 60%);
    color: #4a2f7a;
    font-weight: 800;
    letter-spacing: .2px;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 14px;
}

#yeniSonucEk .fieldset,
#yeniOzet .fieldset,
#fiyatSonucEk .fieldset {
    background: radial-gradient(120% 100% at -10% -20%, rgba(117, 56, 167, .06) 0%, rgba(117, 56, 167, 0) 55%), #fff;
    border: 1px solid rgba(117, 56, 167, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 24px rgba(17, 16, 28, .06);
    border-radius: 14px;
}

#yeniSonucEk table,
#fiyatSonucEk table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-size: 15px;
}

    #yeniSonucEk table tr,
    #fiyatSonucEk table tr {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 1px 0 rgba(17, 16, 28, .04);
    }

        #yeniSonucEk table tr td,
        #fiyatSonucEk table td {
            padding: 10px 14px;
            vertical-align: middle;
        }

            #yeniSonucEk table tr td:first-child,
            #fiyatSonucEk table td:first-child {
                color: #5e3d84;
                font-weight: 700;
                letter-spacing: .1px;
            }

            #yeniSonucEk table tr td:last-child,
            #fiyatSonucEk table td:last-child:not(:first-child) {
                text-align: right;
                font-variant-numeric: tabular-nums;
                color: #0f172a;
                font-weight: 800;
            }

        #yeniSonucEk table tr:last-child td,
        #fiyatSonucEk table tr:last-child td {
            background: #faf6ff;
            color: #1a102b;
            font-weight: 900;
            border-top: 1px solid #eadff8;
        }

            #yeniSonucEk table tr:last-child td:first-child,
            #fiyatSonucEk table tr:last-child td:first-child {
                border-radius: 10px 0 0 10px
            }

            #yeniSonucEk table tr:last-child td:last-child,
            #fiyatSonucEk table tr:last-child td:last-child {
                border-radius: 0 10px 10px 0
            }

#yeniOzet .ozet-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 15px;
}

    #yeniOzet .ozet-table tr {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 1px 0 rgba(17, 16, 28, .04);
    }

    #yeniOzet .ozet-table td {
        padding: 10px 14px;
        vertical-align: top;
    }

    #yeniOzet .ozet-table .ozet-label {
        width: 180px;
        color: #4a2f7a;
        font-weight: 800;
        letter-spacing: .1px;
    }

    #yeniOzet .ozet-table .ozet-value {
        color: #111;
        white-space: pre-line;
    }

    #yeniOzet .ozet-table tr.strong td {
        background: #faf6ff;
        color: #1a102b;
        border-top: 1px solid #eadff8;
        font-size: 16px;
        font-weight: 900;
    }

        #yeniOzet .ozet-table tr.strong td:first-child {
            border-radius: 10px 0 0 10px
        }

        #yeniOzet .ozet-table tr.strong td:last-child {
            border-radius: 0 10px 10px 0
        }

    #yeniOzet .ozet-table tr:not(.strong) td:first-child {
        position: relative;
    }

        #yeniOzet .ozet-table tr:not(.strong) td:first-child::after {
            content: "";
            position: absolute;
            right: -6px;
            top: 10px;
            bottom: 10px;
            width: 1px;
            background: #efe7fb;
            opacity: .8;
            border-radius: 1px;
        }

.action-bar {
    display: none;
    position: sticky;
    bottom: 0;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e8e1f5;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(17, 16, 28, .10);
    z-index: 100;
    backdrop-filter: blur(6px)
}

    .action-bar .sum {
        font-weight: 800;
        color: #111;
        font-size: 15px
    }

        .action-bar .sum strong {
            font-size: 18px;
            letter-spacing: .2px;
            text-shadow: 0 1px 0 rgba(255, 255, 255, .6)
        }

    .action-bar.is-open {
        display: flex !important
    }

#yeniSection .action-bar {
    position: static !important;
    width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(17, 16, 28, .10);
}



/* ============================== 8) BUTONLAR ve DİĞER BİLEŞENLER ============================== */

.fab-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gg-primary);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    cursor: pointer;
    z-index: 500;
    border: none
}

@media (min-width:769px) {
    .fab-menu {
        display: none
    }
}

.legend-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    flex: 1 1;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e8e1f5;
    background: #fff;
    color: #5c2e86;
    cursor: pointer;
    transition: .15s;
    box-shadow: 0 2px 8px rgba(117, 56, 167, .10);
    outline: none;
}

    .btn-icon:hover {
        background: #f6f0fb;
        border-color: #d9c7fa;
        transform: translateY(-1px)
    }

    .btn-icon:focus-visible {
        box-shadow: 0 0 0 3px rgba(117, 56, 167, .22)
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .15s
}

.btn-primary {
    background: var(--gg-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(117, 56, 167, .25);
    transform: translateZ(0);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease
}

    .btn-primary:hover {
        transform: translateY(-1px);
        filter: saturate(110%)
    }

.btn-secondary {
    background: #a8a8a8;
    color: #fff
}

.btn[disabled] {
    opacity: .6;
    cursor: not-allowed
}

.btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap
}

.btn-toolbar {
    padding: .4rem .5rem;
    font-size: 0.7rem;
    border-radius: .4rem;
    font-weight: normal;
}

    .btn-toolbar:nth-child(n+2) {
        margin-left: .3rem;
    }

.sub-parca:first-child .btn-delRow.btn-toolbar {
    display: none;
}

.gg-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e8e1f5;
    background: #ffffff;
    color: #374151;
    box-shadow: 0 2px 10px rgba(17, 16, 28, .06);
    font-size: 14px;
}

    .gg-alert strong {
        font-weight: 800
    }

    .gg-alert.success {
        border-color: #c7f0d8;
        background: #f2fff7;
        color: #0b5137
    }

    .gg-alert.warn {
        border-color: #ffe9b5;
        background: #fffdf5;
        color: #7a5b00
    }

#fiyatAgirlikBox,
#yeniAgirlikBox {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    border: 1px solid rgba(117, 56, 167, .18);
    border-radius: 14px;
    padding: 18px 16px;
}
#fiyatAgirlikBox fieldset{
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

    #fiyatAgirlikBox .grid-3,
    #yeniAgirlikBox .grid-3 {
        display: flex;
        justify-content: space-between;
        text-align: center;
        gap: 12px;
    }

        #fiyatAgirlikBox .grid-3 > div,
        #yeniAgirlikBox .grid-3 > div {
            flex: 1;
            padding: 10px 12px;
            position: relative
        }

            #fiyatAgirlikBox .grid-3 > div:not(:last-child)::after,
            #yeniAgirlikBox .grid-3 > div:not(:last-child)::after {
                content: "";
                position: absolute;
                right: -6px;
                top: 12px;
                bottom: 12px;
                width: 1px;
                background: #e9e0f7;
            }

    #fiyatAgirlikBox strong,
    #yeniAgirlikBox strong {
        font-size: 24px;
        font-weight: 900;
        letter-spacing: .2px
    }

#cwDegeri,
#yCWDegeri {
    color: #e03131;
    font-size: 26px;
    font-weight: 900;
    animation: cw-blink 1.4s ease-in-out infinite
}

@keyframes cw-blink {

    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}



/* ============================== 9) PRINT (A4 LANDSCAPE) ============================== */

@media print {

    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    html,
    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

        body > *:not(#printArea) {
            display: none !important;
        }

    #printArea {
        display: block !important;
        position: relative !important;
        background: #fff !important;
        z-index: 9999 !important
    }

        #printArea .gg-label-page {
            width: 297mm !important;
            height: 210mm !important;
            display: flex !important;
            gap: 0 !important;
            align-items: stretch !important;
            box-sizing: border-box !important;
            overflow: hidden !important;
            page-break-inside: avoid !important;
            break-inside: avoid !important;
            page-break-after: always !important;
        }

            #printArea .gg-label-page:last-of-type {
                page-break-after: auto !important;
            }

            #printArea .gg-label-page > section {
                width: 50% !important;
                height: 100% !important;
                padding: 8mm !important;
                box-sizing: border-box !important;
                overflow: hidden !important
            }

    .center-fold-v {
        position: absolute !important;
        inset: 0 auto 0 50% !important;
        border-left: 1px dashed #000 !important;
        padding-top: 6mm !important;
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        font: 700 7.8pt/1 Inter, Arial, sans-serif !important
    }

    #printArea .contract .title {
        display: none !important
    }

    #printArea .contract p {
        font: 400 7.6pt/1.22 Inter, Arial, sans-serif !important;
        margin: 0 0 1.8mm !important;
        text-align: justify !important
    }

    #printArea .label {
        font-size: 8.6pt !important
    }

        #printArea .label .info-blocks {
            display: flex !important;
            justify-content: space-between !important;
            align-items: flex-start !important;
            border-top: 2px solid #000 !important;
            border-bottom: 2px solid #000 !important;
            padding: 3mm 0 !important;
            gap: 5mm !important
        }

        #printArea .label .sender-block {
            line-height: 1.08 !important;
            white-space: pre-line !important;
            padding-bottom: 0 !important;
            margin-bottom: 1.2mm !important;
            border-bottom: none !important
        }

        #printArea .label .shipment-meta {
            display: grid !important;
            grid-auto-rows: min-content !important;
            row-gap: .15mm !important;
            line-height: 1.02 !important;
            text-align: right !important;
            font-size: 8pt !important;
            margin: 0 !important;
            padding: 0 !important
        }

        #printArea .label .receiver-block {
            line-height: 1.15 !important;
            font-size: 9.8pt !important;
            word-break: break-word !important;
            padding-bottom: 2.4mm !important;
            margin-bottom: 2.4mm !important;
            border-bottom: 1.8px solid #000 !important
        }

            #printArea .label .receiver-block .rb-name,
            #printArea .label .rb-company,
            #printArea .label .rb-ilcepk,
            #printArea .label .rb-cityregion {
                font-weight: 800 !important
            }

        #printArea .label .service-info,
        #printArea .label .fee-table {
            display: none !important
        }
}

/* ============================== MODALS ============================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    /* max-width: 500px; */
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

    .modal-content.large {
        max-width: 800px;
    }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #1f2937;
    }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

    .modal-close:hover {
        background: #f3f4f6;
    }

.modal-content form {
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

    .form-grid > div:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.stage-details {
    padding: 24px;
}

.stage-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

    .stat-card h3 {
        margin: 0 0 8px 0;
        font-size: 14px;
        color: #6b7280;
        font-weight: 500;
    }

.stat-value {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.opportunity-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

    .opportunity-item h4 {
        margin: 0 0 8px 0;
        font-size: 16px;
        color: #1f2937;
    }

    .opportunity-item p {
        margin: 4px 0;
        font-size: 14px;
        color: #6b7280;
    }

/* --- GONDERI FORM STYLES --- */
.parça-row {
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin: 8px 0;
}

    .parça-row:first-child {
        margin-top: 16px;
    }

    .parça-row label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
    }

/* Price Table Styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95rem;
}

    .price-table th {
        background: #f8fafc;
        color: #374151;
        font-weight: 600;
        padding: 12px;
        text-align: left;
        border-bottom: 2px solid #e5e7eb;
    }

    .price-table td {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: top;
    }

    .price-table tr:hover {
        background: #f9fafb;
    }

    .price-table tr.selected {
        background: #fef3c7;
        border-left: 4px solid #f59e0b;
    }

.cod-info {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 0.875rem;
}

/* Konşimento Belge Styles */
.konşimento-belge {
    background: white;
    border: 2px solid #000;
    padding: 20px;
    font-family: 'Courier New', monospace;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.konşimento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.company-logo h2 {
    margin: 0;
    color: #1d4ed8;
    font-size: 1.5rem;
}

.company-logo p {
    margin: 4px 0 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.tracking-info {
    text-align: right;
}

    .tracking-info h3 {
        margin: 0;
        color: #dc2626;
        font-size: 1.25rem;
    }

.address-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.sender-info,
.receiver-info {
    border: 1px solid #d1d5db;
    padding: 16px;
    background: #f9fafb;
}

    .sender-info h4,
    .receiver-info h4 {
        margin: 0 0 12px 0;
        color: #374151;
        font-size: 1rem;
        border-bottom: 1px solid #d1d5db;
        padding-bottom: 4px;
    }

.cargo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.service-info,
.package-info {
    border: 1px solid #d1d5db;
    padding: 16px;
    background: #f0f9ff;
}

.cod-section,
.description-section {
    border: 1px solid #fbbf24;
    background: #fffbeb;
    padding: 16px;
    margin-bottom: 16px;
}

.price-section {
    background: #dcfce7;
    border: 2px solid #16a34a;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.konşimento-footer {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #000;
    padding-top: 16px;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 60px;
    height: 60px;
    border: 2px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.terms {
    flex: 1;
    margin-left: 20px;
}

    .terms p {
        margin: 2px 0;
        color: #6b7280;
    }

.opportunity-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .parça-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .address-section,
    .cargo-details {
        grid-template-columns: 1fr;
    }

    .konşimento-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .tracking-info {
        text-align: center;
    }

    .price-table {
        font-size: 0.8rem;
    }

        .price-table th,
        .price-table td {
            padding: 8px 4px;
        }
}

#yeniSection .step-text {
    font-size: 0.8rem;
}

#yeniSection .step-content {
    max-width: none;
    width: 7rem;
}

#yeniSection .step-circle:before {
    width: calc(7rem + 1rem - 1.5rem);
}

#yeniSection .step-active .step-text {
    color: black;
}

#yeniSection .step-active .step-circle {
    background-color: black;
    border-color: var(--red);
}

#yeniSection .step-success .step-text {
    color: var(--purple);
}

#yeniSection .step-success .step-circle {
    color: white;
    background-color: var(--purple);
    border-color: var(--red);
    cursor: pointer;
}

    #yeniSection .step-success .step-circle:before {
        background-color: var(--red);
    }

#yeniSection .step-active .step-circle:before {
    background-color: var(--purple);
}

@media (max-width:768px) {
    #yeniSection .step {
        width: 50px;
    }

    #yeniSection .step-text {
        display: none;
    }

    #yeniSection .step-content {
        width: 100%;
        min-width: auto;
        padding-right: 0;
    }

    #yeniSection .step-circle:before {
        width: 26px;
    }
}

.fs-7 {
    font-size: .75rem;
}

#onay_adresPH {
    color: var(--red);
    display: inline-flex;
}

    #onay_adresPH[disabled] {
        color: gray;
        font-weight: normal;
    }

fieldset #rehber {
    width: 200px;
    grid-column-end: none;
    padding: 2px 8px;
    height: auto;
    font-size: .75rem;
    border-radius: .3rem;
}

fieldset .input-error-text {
    font-size: .75rem;
}

.gg-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #dc2626;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 350px;
    animation: slideInRight 0.3s ease-out;
}

#gonderi-konşimento .trackingNumber {
    font-weight: 800;
    font-size: clamp(24px, 2vw + 14px, 34px);
    line-height: 1.2;
    letter-spacing: .2px;
    color: var(--purple);
    margin: 0 0 10px;
}

#adreslerim-section > .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
}

#adreslerim-section .add-address-btn {
    background-color: var(--purple);
    color: white;
    border-radius: 50%;
    padding: 20% 12%;
    font-size: 2rem;
}

.datagrid-holder {
    border-color: #6C3DB1;
    border-width: 1px;
    border-style: solid;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.datagrid-holder > .alert{
    display: inline-block;
    width: 100%;
    padding: 4px 8px;
    margin-top: 12px;
    margin-bottom: 0px;
    text-align: center;
    font-size: .8rem;
    color: var(--red);
}

#theGrid {
    margin-bottom: 0;
}

    #theGrid,
    #theGrid td,
    #theGrid div,
    #theGrid a {
        font-family: Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
        font-weight: normal;
    }

        #theGrid tr:first-child td {
            color: var(--purple);
            font-weight: bold;
        }

        #theGrid tr:not(:first-child) td {
            color: #333;
        }

        #theGrid tr.status-delivered td,
        #theGrid tr.status-delivered td *{
            color: gray!important;
            background-color: #f5f5f5;
            font-style: italic;
            font-size: .9rem;
        }

        #theGrid a {
            color: var(--red);
        }

        #theGrid .datagrid-cell-location {
            max-width: 300px;
            height: 24px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        #theGrid .datagrid-cell-button {
            width: 4.5rem;
            text-align: center;
        }

            #theGrid .datagrid-cell-button [class*="-btn"] + [class*="-btn"] {
                margin-left: .5rem;
            }

            #theGrid .datagrid-cell-button span {
                display: none;
            }

            #theGrid .datagrid-cell-button .edit-btn {
                color: var(--gg-primary);
            }

            #theGrid .datagrid-cell-button .remove-btn {
                color: var(--red);
                font-weight: bold;
            }
#theGrid .btnPickingUp, #theGrid .btnDeliver{
    width: calc(100% + 30px);
    margin: 0 -15px -10px;
}

@media (max-width:768px) {
    #theGrid tr:first-child {
        display: none;
    }

    #theGrid tr {
        display: flex;
        flex-direction: column;
        border-bottom-width: 1px;
        position: relative;
    }

    #theGrid td {
        border-bottom-width: 0;
    }

    #theGrid .datagrid-cell-button {
        width: auto!important;
        text-align: right;
        position: absolute;
        right: 0;
        white-space: nowrap;
    }

        #theGrid .datagrid-cell-button a {
            text-decoration: none;
        }

        #theGrid .datagrid-cell-button span {
            display: inherit;
            font-size: .9rem;
            vertical-align: text-bottom;
        }

    #theGrid .datagrid-cell-location {
        max-width: 235px;
    }
}

.modal .close {
    border: 0;
    outline: 0;
    padding: 2px 4px;
    background: none;
    font-size: 2rem;
    line-height: 1;
    color: #777;
}

#qr-reader {
    position: relative;
    display: block;
    border-radius: 15px;
    width: 100%;
    max-width: 300px !important;
    min-height: 180px;
    margin: 30px auto;
    overflow: hidden;
    text-align: center;
}

    #qr-reader,
    #qr-reader * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        #qr-reader > div:not([id]) {
            display: none;
        }

#html5-qrcode-button-camera-permission,
#html5-qrcode-anchor-scan-type-change {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--purple);
    border-radius: 10px;
    background: var(--purple);
    cursor: pointer;
    transition: background .15s, transform .15s;
    color: #fff;
    margin: 0 auto;
    width: 150px;
}

#html5-qrcode-button-camera-permission {
    border-color: var(--red);
    background: var(--red);
}

#html5-qrcode-anchor-scan-type-change {
    display: none;
}
@keyframes blinker {
  50% {
    opacity: .3;
  }
}
#qr-reader .btn {
    position: absolute;
    display: block;
    width: 140px;
    text-wrap: auto;
    white-space: break-spaces;
    padding: 30px;
    line-height: 2rem;
    text-transform: uppercase;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#post-info .post-item{
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid var(--purple);
    overflow: hidden;
}
#post-info .post-item .post-header{
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto 1fr;
    padding: .2rem;
    margin: 1rem auto;
}
#post-info .post-item .post-header .post-image{
    grid-column: 1;
    grid-row: 1 / span 2;
}
#post-info .post-item .post-header .post-label{
    grid-column: 2;
    grid-row: 1;
    font-weight: bold;
    font-size: 1rem;
    padding: .3rem .5rem;
}
#post-info .post-item .post-header .post-content{
    grid-column: 2;
    grid-row: 2;
    font-weight: normal;
    font-size: .7rem;
    padding: .3rem .5rem;
}
#post-info .post-item .postinfo-card-header,
#post-info .post-item .post-dimensions{
    display: flex;
    gap: .5rem;
    flex-direction: row;
}
#post-info .post-item .postinfo-card-header{
    padding: .5rem;
    padding-bottom: 0;
    border-bottom: 1px solid #999;
}
#post-info .post-item.checked .post-dimensions{
    background-color: var(--purple);
    color: #fff;
}
#post-info .post-item .post-dimensions{
    border-top: 1px solid var(--purple);
    padding: .5rem .5rem;
}
#post-info .post-item .post-dimensions .col,
#post-info .post-item .post-dimensions .circle,
#post-info .post-item .postinfo-card-header .col,
#post-info .post-item .postinfo-card-header .circle{
    text-align: center;
    width: calc(50% / 3);
}
#post-info .post-item .post-dimensions > *{
    font-weight: normal!important;
    font-size: .8rem;
}
#post-info .post-item .post-dimensions .dims,
#post-info .post-item .postinfo-card-header .dims{
    width: 50%;
    text-align: left;
}
.postinfo-card-header > *{
    font-weight: bold;
    font-size: .8rem;
}
#post-info .post-item.checked{
    background-color: rgba(108, 61, 177, .3);
    animation: blinker .5s linear 2;
}
#post-info .post-item.checked .circle{
    color: #10b981;
}
#post-info .post-item.checked .circle i.fa-circle:before{
    content: "\f058";
    font-family: "FontAwesome";
    font-weight: 900;
    font-style: normal;
    line-height: 1;
    text-align: center;
}

#reinitializeForm .grid-1{
    gap: 5px;
    margin-bottom: 15px;
}
#approved{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity .5s, top .15s;
}
#approved.show{
    top: 0;
    opacity: 1;
}
#approved i{
    font-size: 10rem;
    color: var(--bs-success);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}



