/* =========================================
   ✨ GLASSCAD STOCK TAXES - ORDER PAGE STANDARD THEME ✨
   ========================================= */
:root {
    --gc-primary: #305b9f;
    --gc-border: #e2e8f0;
    --gc-bg: #f8fafc;
    --gc-card: #ffffff;
    --gc-text: #0f172a;
    --gc-muted: #64748b;
}

[v-cloak] {
    display: none !important;
}

/* Sayfa Dış Düzeni (Order Sayfası Gibi container-fluid) */
.pageWrap {
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    font-family: inherit;
}

/* 1. Breadcrumb - Order Sayfasının Birebir Aynısı */
.gc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 12px;
    font-size: 14px;
    list-style: none;
    background: transparent;
}

    .gc-breadcrumb li a {
        color: #64748b;
        text-decoration: none;
        transition: color 0.15s ease;
    }

        .gc-breadcrumb li a:hover {
            color: #305b9f;
            text-decoration: underline;
        }

    .gc-breadcrumb .breadcrumb-separator {
        color: #94a3b8;
        font-size: 11px;
    }

    .gc-breadcrumb .breadcrumb-current {
        color: #305b9f;
        font-weight: 600;
    }

/* 2. Kart Yapısı (Order Sayfasındaki card-fluid) */
.gc-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 3. Üst İşlem Çubuğu (Top Action Toolbar - .top-action-bar-wrapper) */
.top-action-bar-wrapper {
    padding: 0.6rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    background-color: #305b9f;
    border-radius: 8px 8px 0 0;
    color: whitesmoke;
    align-items: center;
    justify-content: space-between;
}

.top-icons-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.top-icons-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Order Sayfası soft-icon Butonları */
.soft-icon {
    font-size: 20px;
    margin: 0 8px;
    opacity: 0.9;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

    .soft-icon:hover {
        opacity: 1;
        transform: scale(1.18) translateY(-1px);
    }

    .soft-icon.disabled, .soft-icon:disabled {
        opacity: 0.35;
        cursor: not-allowed;
        pointer-events: none;
    }

.soft-icon-add { color: #a7f3d0; }        /* Açık Yeşil (+) */
.soft-icon-edit { color: #fef08a; }       /* Açık Sarı (Düzenle) */
.soft-icon-delete { color: #fca5a5; }     /* Açık Kırmızı (Sil) */
.soft-icon-refresh { color: #bfdbfe; }    /* Açık Mavi (Yenile) */
.soft-icon-excel { color: #6ee7b7; }      /* Excel Yeşil */

/* Arama Kutusu */
.top-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    height: 34px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.top-search-input-wrap {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 100%;
    background: #ffffff;
    gap: 6px;
}

.top-search-input {
    background: transparent;
    border: none;
    color: #334155;
    outline: none;
    width: 170px;
    font-size: 13px;
    font-weight: 500;
}

.top-search-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}

    .top-search-clear-btn:hover {
        color: #ef4444;
    }

/* 4. Tablo Sarmalayıcı & Universal Responsive Scrolling */
.gcTableWrap {
    width: 100%;
    max-height: calc(100vh - 290px);
    min-height: auto;
    overflow: auto;
    background: #ffffff;
}

/* Order Sayfası Temasındaki .glasscad-clean-table */
table.glasscad-clean-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    background: #ffffff;
}

    /* Sticky Headers */
    table.glasscad-clean-table thead th {
        position: sticky;
        top: 0;
        z-index: 25;
        background-color: #f8fafc;
        border-bottom: 2px solid #e2e8f0;
        padding: 10px 12px;
        font-size: 13px;
        font-weight: 600;
        color: #475569;
        white-space: nowrap;
        vertical-align: middle;
        user-select: none;
    }

    table.glasscad-clean-table tbody td {
        padding: 8px 12px;
        vertical-align: middle;
        border-top: 1px solid #f1f5f9;
        font-size: 13px;
        color: #334155;
        transition: background-color 0.12s ease;
    }

    table.glasscad-clean-table tbody tr {
        cursor: pointer;
        transition: background-color 0.15s ease;
    }

        table.glasscad-clean-table tbody tr:hover td {
            background-color: #f8fafc;
        }

        /* Order Sayfası Satır Odak Mavi Çizgi Standartı */
        table.glasscad-clean-table tbody tr.row-clicked td {
            background-color: #f1f5f9 !important;
        }

        table.glasscad-clean-table tbody tr.row-clicked td:first-child {
            box-shadow: inset 4px 0 0 0 #2563eb !important;
        }

/* Tablo İçi İnputlar */
.stx-input, .stx-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    outline: none;
    transition: .12s ease;
    background: #fff;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    height: 34px;
    box-sizing: border-box;
}

    .stx-input:focus, .stx-select:focus {
        border-color: rgba(37,99,235,.55);
        box-shadow: 0 0 0 3px rgba(37,99,235,.15);
    }

.stx-date-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    padding: 0 8px 0 10px;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .stx-date-box:focus-within {
        border-color: rgba(37,99,235,.55);
        box-shadow: 0 0 0 3px rgba(37,99,235,.15);
    }

    .stx-date-box input[type="date"] {
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        background: transparent;
        color: #1e293b;
        font-weight: 600;
        font-size: 13px;
        padding: 0;
        margin: 0;
        height: 100%;
        font-family: inherit;
    }

.stx-date-clear {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 4px;
}

    .stx-date-clear:hover {
        color: #ef4444;
    }

/* Modern Switch Checkbox for Integration */
.stx-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
}

    .stx-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.stx-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .2s;
    border-radius: 20px;
}

    .stx-switch-slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .2s;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    }

.stx-switch input:checked + .stx-switch-slider {
    background-color: #10b981;
}

.stx-switch input:checked + .stx-switch-slider:before {
    transform: translateX(18px);
}

/* Satır İçi Aksiyon Butonları */
.stx-row-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
}

.stx-row-edit-btn {
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #2563eb;
}

    .stx-row-edit-btn:hover {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    }

.stx-row-del-btn {
    border: 1px solid #fee2e2;
    background: #fff;
    color: #ef4444;
}

    .stx-row-del-btn:hover:not(:disabled) {
        background: #ef4444;
        color: #ffffff;
        border-color: #ef4444;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    }

    .stx-row-del-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        background: #f8fafc;
        border-color: #e2e8f0;
        color: #94a3b8;
    }
        border-color: #e2e8f0;
        color: #94a3b8;
    }

.stx-error {
    color: #ef4444;
    font-weight: 600;
    font-size: 11px;
    margin-top: 4px;
}

/* Empty State */
.gc-empty-state {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.gc-empty-icon-box {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.gc-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.gc-empty-desc {
    font-size: 13px;
    color: #64748b;
    max-width: 360px;
    margin-bottom: 16px;
}

.gc-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .gc-empty-btn:hover {
        background: #2563eb;
        color: #ffffff;
    }

/* Footer / Özet Barı */
.gcFooter {
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.gcFooterLeft {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.gcFooterItem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .gcFooterItem strong {
        color: #0f172a;
        font-weight: 700;
    }
