/* ── WESTSTORE MODALS & EXPANSIVE ADMIN DASHBOARD STYLES ── */
:root {
    --blurple: #5865f2;
    --blurple-dark: #4752c4;
    --blurple-light: #7983f5;
    --blurple-glow: rgba(88, 101, 242, 0.35);
}

/* Custom Scrollbars (Global & Modals) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(88, 101, 242, 0.45) #080d14;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #080d14;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.4);
    border-radius: 10px;
    border: 2px solid #080d14;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--blurple);
}

/* Plain Text Language Toggle Button (No nested badge, no blue icon-in-icon) */
.lang-btn {
    font-family: 'Sora', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    color: var(--text-secondary, #94a3b8) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
    user-select: none !important;
}
.lang-btn:hover {
    background: rgba(88, 101, 242, 0.15) !important;
    border-color: rgba(88, 101, 242, 0.35) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Modal Backdrop */
.ws-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4, 7, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ws-modal-backdrop.ws-modal-visible {
    opacity: 1;
    visibility: visible;
}

/* Modal Box Base */
.ws-modal-box {
    background: #0d121c;
    border: 1px solid rgba(88, 101, 242, 0.28);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(88, 101, 242, 0.18);
    position: relative;
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    overflow-y: auto;
}

.ws-modal-backdrop.ws-modal-visible .ws-modal-box {
    transform: scale(1);
}

.ws-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-modal-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin: 6px 0 2px;
}

.ws-modal-subtitle {
    color: #94a3b8;
    font-size: 0.92rem;
}

.ws-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ws-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: rotate(90deg);
}

.ws-badge-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(88, 101, 242, 0.15);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

/* ── BOOST TIERS MODAL: EXACT YAN YANA 4 ÜRÜN (GÖRSELLİ & FİYAT SAĞ ALTTA) ── */
.ws-boost-modal-box {
    width: 95vw;
    max-width: 1240px;
    max-height: 90vh;
    padding: 30px 34px;
    background: #0d121c;
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 24px;
}

.ws-boost-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.ws-boost-tab-btn {
    padding: 9px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ws-boost-tab-btn:hover {
    color: #fff;
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.35);
}

.ws-boost-tab-btn.active {
    background: rgba(88, 101, 242, 0.22);
    border-color: var(--blurple);
    color: #fff;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.3);
}

.ws-boost-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
    max-height: calc(85vh - 200px);
    overflow-y: auto;
    padding: 4px 2px;
}

/* Single Boost Card - Exact Visual as Screenshot */
.ws-boost-card {
    background: #0c111a;
    border: 1px solid rgba(88, 101, 242, 0.22);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    user-select: none;
}

.ws-boost-card:hover {
    transform: translateY(-6px);
    border-color: var(--blurple);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.25), 0 0 0 1px rgba(88, 101, 242, 0.35);
    background: #0f1523;
}

/* Top Banner Image with 16:9 ratio and glow border */
.ws-boost-card-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    background: #141b2b;
    transition: transform 0.4s ease;
}

.ws-boost-card:hover .ws-boost-card-banner {
    transform: scale(1.03);
}

.ws-boost-banner-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111724;
}

.ws-boost-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ws-boost-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 18px;
}

.ws-boost-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 4px;
}

.ws-boost-meta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-boost-stock-indicator {
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

.ws-boost-stock-indicator.in-stock {
    color: #22c55e;
}

.ws-boost-stock-indicator.out-of-stock {
    color: #ef4444;
}

.ws-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.ws-boost-stock-indicator.in-stock .ws-stock-dot {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.ws-boost-stock-indicator.out-of-stock .ws-stock-dot {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.ws-boost-delivery-txt {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* Price at bottom right */
.ws-boost-card-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
    letter-spacing: -0.3px;
    line-height: 1;
}

/* Out of Stock Card State */
.ws-boost-card.ws-tier-out-of-stock {
    opacity: 0.6;
    border-color: rgba(239, 68, 68, 0.25);
}

.ws-boost-card.ws-tier-out-of-stock:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
}

.ws-boost-card.ws-tier-out-of-stock .ws-boost-card-price {
    color: #94a3b8;
    text-shadow: none;
}

.ws-boost-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #94a3b8;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-boost-badges-left {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.ws-instant-badge, .ws-guarantee-badge {
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ── AUTH PASSWORD MODAL ── */
.ws-auth-box {
    width: 90vw;
    max-width: 420px;
    text-align: center;
    padding: 36px 30px;
}

.ws-auth-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.ws-auth-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ws-input-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.ws-input-group input:focus {
    border-color: var(--blurple);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.ws-error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
}

.ws-shake {
    animation: wsShake 0.4s ease;
}

@keyframes wsShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

/* ── EXPANSIVE FULL-SCREEN ENTERPRISE ADMIN DASHBOARD ── */
.ws-dashboard-box {
    width: 98vw !important;
    max-width: 1780px !important;
    height: 96vh !important;
    max-height: 96vh !important;
    padding: 22px 28px !important;
    display: flex;
    flex-direction: column;
    background: #090e1a !important;
    border: 1px solid rgba(88, 101, 242, 0.35) !important;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(88, 101, 242, 0.25) !important;
    border-radius: 20px !important;
}

.ws-dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* Dashboard Top Stats Row */
.ws-dash-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.ws-dash-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ws-dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ws-dash-stat-info {
    display: flex;
    flex-direction: column;
}

.ws-dash-stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.ws-dash-stat-title {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Large Admin Tabs */
.ws-admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    flex-shrink: 0;
    overflow-x: auto;
}

.ws-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ws-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.ws-tab-btn.active {
    color: #fff;
    background: rgba(88, 101, 242, 0.18);
    border-color: rgba(88, 101, 242, 0.4);
}

.ws-tab-pane {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.ws-tab-pane.active {
    display: block;
    animation: wsFadeIn 0.3s ease;
}

@keyframes wsFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ws-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.ws-pane-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

/* Buttons */
.ws-btn-primary {
    background: linear-gradient(135deg, var(--blurple), var(--blurple-dark));
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ws-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(88, 101, 242, 0.55);
}

.ws-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.ws-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    padding: 11px 22px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-btn-danger:hover {
    background: #ef4444;
    color: #fff;
}

.ws-btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ws-btn-edit {
    background: rgba(88, 101, 242, 0.18);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.35);
    margin-right: 6px;
}

.ws-btn-edit:hover {
    background: var(--blurple);
    color: #fff;
}

.ws-btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.ws-btn-delete:hover {
    background: #ef4444;
    color: #fff;
}

/* Large Data Table */
.ws-table-responsive {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
}

.ws-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.ws-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 20px;
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.ws-table tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.ws-table-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.ws-table-category {
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.ws-price-try {
    color: #86efac;
    font-weight: 700;
    font-size: 0.96rem;
}

.ws-price-usd {
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.96rem;
}

.ws-badge-tag {
    background: rgba(88, 101, 242, 0.15);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.ws-boost-type-tag {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ws-normal-type-tag {
    color: #94a3b8;
    font-size: 0.82rem;
}

/* Live Stock Bot Editor in Admin */
.ws-stock-editor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ws-stock-card-editor {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 101, 242, 0.22);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ws-stock-card-editor h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Rate Cards */
.ws-rate-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ws-rate-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 101, 242, 0.22);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.ws-stat-label {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.ws-stat-val {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.ws-stat-sub {
    font-size: 0.84rem;
    color: var(--blurple-light);
}

.ws-card-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
}

.ws-danger-box {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.03);
}

/* Large Product Edit Modal */
.ws-edit-product-box {
    width: 90vw;
    max-width: 780px;
    max-height: 88vh;
    padding: 32px 36px;
}

.ws-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.ws-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ws-col-6 { width: calc(50% - 9px); }
.ws-col-12 { width: 100%; }

.ws-form-group label {
    font-size: 0.86rem;
    color: #cbd5e1;
    font-weight: 600;
}

.ws-form-group input, .ws-form-group textarea, .ws-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 0.94rem;
    outline: none;
    transition: all 0.2s ease;
}

.ws-form-group input:focus, .ws-form-group textarea:focus {
    border-color: var(--blurple);
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.3);
}

.ws-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #e2e8f0;
    cursor: pointer;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
}

.ws-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 14px;
}

/* ── TERMS OF SERVICE (HİZMET ŞARTLARI) MODAL ── */
.ws-terms-box {
    width: 92vw;
    max-width: 860px;
    max-height: 88vh;
    padding: 32px 36px;
    background: #0d121c;
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.ws-terms-scroll {
    overflow-y: auto;
    padding-right: 8px;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ws-terms-notice {
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.ws-terms-notice strong {
    color: #fff;
}

.ws-terms-section {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(88, 101, 242, 0.18);
    border-radius: 16px;
    padding: 20px 24px;
    transition: border-color 0.2s ease;
}

.ws-terms-section:hover {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.04);
}

.ws-terms-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ws-terms-header-icon {
    font-size: 1.3rem;
}

.ws-terms-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
}

.ws-terms-list li strong {
    color: #ffffff;
}

/* ── CATEGORY-FIRST ADMIN STYLES (CLEAN & NON-OVERLAPPING) ── */
.ws-admin-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.ws-admin-cat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 101, 242, 0.22);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
}

.ws-admin-cat-card:hover {
    border-color: var(--blurple);
    box-shadow: 0 16px 36px rgba(88, 101, 242, 0.2);
    transform: translateY(-4px);
    background: rgba(88, 101, 242, 0.05);
}

.ws-admin-cat-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ws-admin-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ws-admin-cat-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(88, 101, 242, 0.18);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.35);
}

.ws-admin-cat-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 4px 0 2px;
}

.ws-admin-cat-sub {
    font-size: 0.86rem;
    color: #94a3b8;
}

.ws-admin-cat-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.ws-cat-add-card {
    border: 2px dashed rgba(88, 101, 242, 0.3);
    background: rgba(88, 101, 242, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    cursor: pointer;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.25s;
}

.ws-cat-add-card:hover {
    border-color: var(--blurple);
    background: rgba(88, 101, 242, 0.1);
    transform: translateY(-4px);
}

.ws-cat-add-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

/* Category Drilldown List View */
.ws-drilldown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-drilldown-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-admin-prod-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    transition: all 0.25s ease;
}

.ws-admin-prod-card:hover {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.05);
    transform: translateY(-2px);
}

.ws-prod-card-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.ws-admin-prod-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #141b2b;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ws-prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ws-prod-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ws-prod-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.ws-prod-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

.ws-prod-card-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.ws-prod-price-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* Clear, spacious badge that never overlaps */
.ws-prod-stock-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-block;
}

.ws-stock-pill-in {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.ws-stock-pill-out {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.ws-prod-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Livestock Simulator in Admin */
.ws-live-calc-box {
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.28);
    border-radius: 18px;
    padding: 20px 24px;
    margin-top: 24px;
}

.ws-live-calc-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ws-live-chips-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ws-live-chip {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ws-chip-ok {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.ws-chip-out {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Responsive */
@media (max-width: 1100px) {
    .ws-boost-grid { grid-template-columns: repeat(2, 1fr); }
    .ws-dash-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .ws-stock-editor-grid { grid-template-columns: 1fr; }
    .ws-admin-prod-card { flex-direction: column; align-items: flex-start; }
    .ws-prod-card-right { width: 100%; justify-content: space-between; margin-top: 8px; }
}

@media (max-width: 768px) {
    .ws-col-6 { width: 100%; }
    .ws-rate-cards-row { grid-template-columns: 1fr; }
    .ws-dashboard-box { padding: 20px 16px; height: 95vh; }
    .ws-boost-grid { grid-template-columns: 1fr; }
    .ws-dash-stats-bar { grid-template-columns: 1fr; }
    .ws-terms-box { padding: 24px 18px; }
    .ws-admin-cat-grid { grid-template-columns: 1fr; }
}

/* ─── 2-COLUMN SPLIT ADMIN DASHBOARD (EXPANSIVE FULL HEIGHT) ─── */
.admin-two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: stretch;
    height: calc(100% - 10px);
    min-height: 0;
    margin-top: 6px;
}

@media (max-width: 960px) {
    .admin-two-col {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.admin-panel-card {
    background: #0d1326;
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.admin-panel-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    border-color: #5865f2;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.35);
}

.admin-prod-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    min-height: 0;
}

#adminRightBox {
    overflow-y: auto;
    padding-right: 6px;
    max-height: 100%;
}

/* Category Manager Cards Grid */
.admin-cat-manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.admin-cat-mgmt-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 101, 242, 0.24);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.admin-cat-mgmt-card:hover {
    border-color: rgba(88, 101, 242, 0.55);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.admin-cat-mgmt-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-cat-mgmt-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-cat-mgmt-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8da2fb;
    background: rgba(88, 101, 242, 0.18);
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.35);
}

.admin-cat-mgmt-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

/* Storefront Category Filter Pills on products.html (Removed per user instruction) */
.shop-cat-tabs {
    display: none !important;
}

.shop-cat-pill {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.shop-cat-pill:hover {
    background: rgba(88, 101, 242, 0.15);
    color: #fff;
    border-color: rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

.shop-cat-pill.active {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.45);
}

.admin-prod-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background 0.15s, border-color 0.15s;
}

.admin-prod-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(88, 101, 242, 0.4);
}

.admin-prod-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: block;
}

.admin-prod-meta {
    flex: 1;
    overflow: hidden;
}

.admin-prod-meta b {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.admin-prod-meta span {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-edit-card {
    background: #0f152a;
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.img-preview-box {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    background: #060913;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 6px;
}

.img-preview-box img, .img-preview-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    background: #0f1424;
    border: 1px solid #5865f2;
    border-radius: 14px;
    padding: 14px 22px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(88, 101, 242, 0.4);
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.bad {
    border-color: #ef4444;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(239, 68, 68, 0.4);
}

/* Filter Tag Buttons */
.admin-tag-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tag-btn:hover {
    background: rgba(88, 101, 242, 0.15);
    color: #fff;
    border-color: rgba(88, 101, 242, 0.35);
}

.admin-tag-btn.active {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4);
}

.admin-prod-row.active {
    background: rgba(88, 101, 242, 0.12) !important;
    border-color: rgba(88, 101, 242, 0.5) !important;
}

.admin-prod-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-btn-action {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: inherit;
}

.admin-btn-action.btn-edit {
    background: rgba(88, 101, 242, 0.16);
    color: #93c5fd;
    border: 1px solid rgba(88, 101, 242, 0.4);
}

.admin-btn-action.btn-edit:hover {
    background: #5865f2;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

.admin-btn-action.btn-del {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.admin-btn-action.btn-del:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.admin-prod-meta .cat-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.admin-prod-meta .stock-pill {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-prod-meta .stock-pill.in {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.admin-prod-meta .stock-pill.out {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-prod-meta .price-pill {
    color: #38bdf8;
    font-weight: 800;
    font-size: 0.85rem;
}

/* ── CATEGORY VARIANT SUB-CARD & GRID (CLICK TO OPEN TIER LIST) ── */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    padding: 6px;
}

.sub-card {
    background: #0f1424;
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.sub-card:hover {
    border-color: #5865f2;
    transform: translateY(-3px);
    background: #141c33;
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.3);
}

.sub-banner {
    height: 120px;
    background: #060913;
    overflow: hidden;
    position: relative;
}

.sub-banner img, .sub-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sub-card .card-content {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: space-between;
}

.sub-card .card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

.sub-card .card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}

.sub-card .card-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #38bdf8;
    white-space: nowrap;
}

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

.stock-text {
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stock-text.in {
    color: #22c55e;
}

.stock-text.out {
    color: #ef4444;
}

.delivery-text {
    font-size: 0.76rem;
    color: #94a3b8;
}

/* Order Detail Modal Styling */
.order-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-badge-row .pill {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #8da2fb;
}

.order-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
}

.order-price-row .val {
    font-family: 'Sora', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    color: #38bdf8;
}

.order-desc-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    white-space: pre-line;
    max-height: 180px;
    overflow-y: auto;
}

.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.order-actions .ws-btn-primary, .order-actions .ws-btn-secondary {
    flex: 1;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

