@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
    --navy: #11001c;
    --navy-mid: #162032;
    --navy-light: #EDE7FE;
    --navy-card: #3A025B;
    --gold: #771BCE;
    --gold-light: #C22AF6;
    --gold-pale: #F3F0FF;
    --cream: #faf8f3;
    --white: #ffffff;
    --dark: #000000;

    --text-muted: #8B3DFF;
    --text-body: #2d3e52;
    --border: #e9d5ff;
    --border-light: #e9d5ff;
    --success: #27ae60;
    --success-bg: rgba(39, 174, 96, 0.12);
    --danger: #e74c3c;
    --danger-bg: rgba(231, 76, 60, 0.12);
    --warning: #f39c12;
    --warning-bg: rgba(243, 156, 18, 0.12);
    --sidebar-w: 240px;
    --radius: 8px;
    --radius-lg: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    /* font-family: 'DM Sans', sans-serif; */

    font-family: 'Karla', sans-serif !important;

    background: #F8FAFC;
    color: rgba(255, 255, 255, 0.85);
    min-height: 100vh;
    display: flex;
}

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: linear-gradient(135deg, #F5F3FF 0%, #DDD6FE 100%);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
}

.sb-logo {
    padding: 0;
    border-bottom: 1px solid var(--border-light);
    font-family: 'Karla', serif;
    font-size: 1.375rem;
    color: var(--gold);
}

.sb-logo span {
    color: rgba(255, 255, 255, 0.5);
}

.sb-user {
    padding: 16px 20px;
    border-bottom: 1px solid #9843eac9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #771bce, #b05cff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.sb-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
}

.sb-user-plan {
    font-size: 0.7rem;
    color: var(--gold);
    background: var(--gold-pale);
    border: 1px solid var(--border);
    padding: 1px 7px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 2px;
}

.sb-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.sb-section-label {
    padding: 8px 20px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00c1ff;
}

.sb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: black !important;
    cursor: pointer;
    transition: all 0.18s;
    border-left: 2px solid transparent;
    text-decoration: none;
}

.sb-item:hover {
    color: #00c1ff;
    background: rgba(255, 255, 255, 0.04);
}

.sb-item.active {
    color: var(--white) !important;
    background: var(--gradient-primary);

    padding: 10px 17px;
    border-radius: 6px;
    margin: 0px 11px;
}

.sb-icon {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.sb-bottom {
    padding: 14px 0;
    border-top: 1px solid #9843eac9;
}

/* ── MAIN ── */
.main {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {

    margin-left: var(--sidebar-w);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);

    border-bottom: 1px solid var(--border-light);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.topbar-title {
    font-family: 'Karla', serif;
    font-size: 1.1rem;
    color: #00c1ff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cmp-live {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(107, 39, 174, 0.12);
    border: 1px solid rgba(113, 39, 174, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgb(59, 6, 91);
    font-weight: 500;
}

.cmp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(59, 6, 91);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.topbar-notif {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgb(58, 2, 91);
    border: 1px solid rgb(58, 2, 91);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.content {
    padding: 28px 32px;
    flex: 1;
}

/* ── STAT CARDS ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    /* background: var(--navy-card); */
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 55%, #f3edff 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}


.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(var(--gold-pale), transparent 70%);
    transform: translate(20px, -20px);
}

.sc-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sc-value {
    font-family: 'Karla', serif;
    font-size: 1.875rem;
    color: var(--white);
    margin-bottom: 4px;
}

.sc-sub {
    font-size: 0.75rem;
}

.sc-sub.pos {
    color: var(--success);
}

.sc-sub.warn {
    color: var(--warning);
}

.sc-sub.muted {
    color: var(--text-muted);
}

.sc-icon-bg {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 1.5rem;
    opacity: 0.2;
}

/* ── SUBSCRIPTION CARD ── */
.sub-card {
    /* background: linear-gradient(135deg, var(--navy-card), #a07828); */

    background: linear-gradient(135deg, #F5F3FF 0%, #DDD6FE 100%);

    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(119, 27, 206, 0.12);
    box-shadow: 0 10px 30px rgba(119, 27, 206, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sub-card::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(rgba(201, 168, 76, 0.06), transparent 70%);
}

.sub-plan-name {
    font-family: 'Karla', serif;
    font-size: 1.5rem;
    color: var(--dark);
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--success-bg);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 10px;
}

.sub-expiry {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.sub-expiry strong {
    color: rgba(0, 0, 0, 0.8);
}

.sub-progress {
    margin-top: 14px;
}

.sub-progress-bar {
    height: 4px;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.sub-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    width: 65%;
}

.sub-progress-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.sub-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-gold {
    background: var(--text-muted) !important;
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid #8b3dff;
    color: rgba(0, 0, 0, 0.7);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

/* ── SECTION HEADER ── */
.sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sec-title {
    font-family: 'Karla', serif;
    font-size: 1.1rem;
    color: var(--dark);
}

.sec-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ── TABS ── */
.tabs {
    display: flex;
    gap: 4px;
    background: rgb(255, 255, 255);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 10px;
}

.tab {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.18s;
}

.tab.active {
    background: var(--text-muted);
    color: #fff;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--gold-pale);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 5px;
}

/* ── FILTERS ── */
.filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-input {
    padding: 7px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #9843eac9;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.8125rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
    width: 180px;
}

.filter-input:focus {
    border-color: #9843eac9;
}

.filter-select {
    padding: 9px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #9843eac9;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.8125rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.filter-select option {
    background: #fff;
}

/* ── STOCK TABLE ── */
.table-wrap {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: auto;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.stock-table thead tr {
    background: var(--navy-light);
}

.stock-table th {
    padding: 11px 14px;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stock-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stock-table tbody tr:last-child td {
    border-bottom: none;
}

.stock-table tbody tr {
    transition: background 0.15s;
    cursor: pointer;
}

.stock-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.co-name {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

.co-sym {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1px;
}
.co-meta {
    font-size: 0.7rem;
    color: #00c1ff;
    margin-top: 1px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
}

.badge-open {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
}

.badge-closed {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
}

.cmp-cell {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cmp-change {
    font-size: 0.7rem;
    padding: 1px 5px;
    border-radius: 3px;
}

.cmp-up {
    background: var(--success-bg);
    color: var(--success);
}

.cmp-dn {
    background: var(--danger-bg);
    color: var(--danger);
}

.ret-pos {
    color: var(--success);
    font-weight: 600;
}

.ret-neg {
    color: var(--danger);
    font-weight: 600;
}

.action-btns {
    display: flex;
    gap: 6px;
}

.icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--gold-pale) !important;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.18s;
    color: var(--gold);
}

.icon-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--border);
    color: var(--gold);
}

/* ── MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    /* 👈 always visible when rendered */
    align-items: center;
    justify-content: center;
}



.modal {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    /* width: 640px; */
    overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: block !important;
    max-width: 90%;
    max-height: 80vh;
    /*  IMPORTANT */
    overflow-y: auto;
    /*  enables scroll */
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.modal-header {
    padding: 15px 28px;
    border-bottom: 1px solid #5d00a1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

.modal-header h3 {
    /* font-family: 'DM Serif Display', serif; */
    font-size: 1.25rem;
    color: #7000c1;
}

.modal-close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-muted);
}

.modal-body {
    padding: 24px 28px;
}

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

.modal-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.modal-stat label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 5px;
}

.modal-stat value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.yt-embed {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
    cursor: pointer;
}

.yt-embed:hover {
    border-color: var(--border);
}

/* ── PROFILE / PAYMENT SECTION ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    /* background: var(--white);
    border: 1px solid var(--border-light); */
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 55%, #f3edff 100%);
    border: 1px solid #e7dcff;
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
}

.card h4 {
    font-family: 'Karla', serif;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius);
    /* background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light); */
    background: #ffffff;
    border: 1px solid #9843eac9;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.form-group input:focus {
    border-color: #771bce;
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
}

.payment-row:last-child {
    border-bottom: none;
}

.pay-id {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.pay-amount {
    font-weight: 600;
    color: var(--dark);
}

.pay-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.badge-paid {
    background: var(--success-bg);
    color: var(--success);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* page sections */
.page {
    display: none;
}

.page.active {
    display: block;
}

#root {
    width: 100%;
}

.available-plans {
    font-family: 'Karla', serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 16px
}


/* Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Card */
.plan-card {

    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #7c3aed 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 12px 30px rgba(109, 40, 217, 0.28);
}

/* Active Card (your requirement) */
.plan-card.active {
    /* border-color: var(--gold);
    background: linear-gradient(135deg, var(--navy-light), #162a3e); */
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 45%, #e0e7ff 100%);
    border: 1px solid #93c5fd;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.plan-card:not(.active) {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    color: #ffffff;
}

plan-card:not(.active) .plan-title,
.plan-card:not(.active) .plan-billing,
.plan-card:not(.active) .pricing-body p,
.plan-card:not(.active) .plan-price,
.plan-card:not(.active) .plan-duration,
.plan-card:not(.active) .btn-outline {
    color: #ffffff;
}

.plan-card:not(.active) .plan-billing,
.plan-card:not(.active) .plan-title {
    color: rgba(255, 255, 255, 0.75);
}


.pricing-body p {
    color: var(--dark);
}

/* Title */
.plan-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

/* Price */
.plan-price {
    font-family: 'Karla', serif;
    font-size: 1.75rem;
    color: var(--dark);
}

/* Duration */
.plan-duration {
    font-size: 0.875rem;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
}

/* Billing */
.plan-billing {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Header */
.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.payment-header h4 {
    margin: 0;
}

/* Row */
.payment-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Plan text */
.payment-plan {
    color: var(--dark);
    font-weight: 500;
}

/* Invoice button */
.btn-invoice {
    padding: 5px 12px;
    font-size: 0.75rem;
}



.login-content-box-code {
    background: hsl(var(--black) / 0.5);
}

.cmp-locked-box {
    position: relative;
    width: auto;
    padding: 5px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 150, 0.2);
    text-align: center;
    overflow: hidden;
}

.cmp-blur {
    filter: blur(4px);
    color: #00ff9c;
    font-weight: 600;
    font-size: 14px;
}

.cmp-lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    color: #fff;
}

.lock-text {
    font-size: 12px;
    opacity: 0.8;
}


.btn-modal.gold {
    background: var(--gold);
    color: var(--white)
}

.btn-modal.gold:hover {
    background: var(--gold-light)
}

.btn-modal.cancel {
    background: transparent;
    border: 1px solid #771bce;
    color: rgb(119 27 206);
    z-index: 99;
}

.btn-modal.cancel:hover {
    /* border-color: rgba(255, 255, 255, 0.3); */
    color: rgba(255, 255, 255, 0.9);
    background: #771bce;
}


.btn-modal {
    padding: 9px 22px;
    border-radius: var(--radius);
    font-size: 0.8375rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s
}

.badge.inprogress {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.badge.resolved {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.badge.closed {
    background: #9843ea45;
    color: #50128c;
}

.badge.open {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
}

.table-lock-wrapper {
    position: relative;
}

.locked-content {
    filter: blur(4px);
    opacity: 0.7;
    user-select: none;
    pointer-events: none;
}

.table-global-lock {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: rgba(0, 0, 0, 0.05);

    color: #000000;
    font-size: 18px;
    font-weight: 700;
        margin-bottom: 73px;
    border-radius: 8px;
    z-index: 10;
    padding-top: 20px;
}

.table-global-lock i {
    font-size: 18px;
}



.footer {
        color: #000;
    background-color: #62d4f957;
    padding: 10px 0px 10px 270px;
    /* margin-top: 40px; */
}



.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #b12cf0 transparent;
}

/* Chrome / Edge / Safari */
.table-wrap::-webkit-scrollbar {
  height: 6px;   /* reduce scrollbar height */
}

.table-wrap::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #c026d3, #a855f7);
  border-radius: 10px;
}

.table-wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #a21caf, #9333ea);
}

/* Phone input container */
.react-tel-input {
  width: 100%;
}

/* Main input */
.react-tel-input .form-control {
  width: 100% !important;
  height: 56px !important;
  border: 1px solid #7c3aed !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding-left: 70px !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

/* Flag button */
.react-tel-input .flag-dropdown {
  background: transparent !important;
  border: none !important;
  border-radius: 12px 0 0 12px !important;
  padding-left: 10px;
}

/* Open dropdown */
.react-tel-input .flag-dropdown.open {
  background: #fff !important;
}

/* Country list popup */
.react-tel-input .country-list {
  width: 320px !important;
  max-height: 280px !important;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  padding: 12px !important;
  margin-top: 10px !important;
  background: #fff !important;
}

/* Search wrapper */
.react-tel-input .country-list .search {
  padding: 0 !important;
  margin-bottom: 12px !important;
  background: transparent !important;
}

/* Search input */
.react-tel-input .country-list .search input {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Remove ugly search icon */
.react-tel-input .country-list .search-emoji {
  display: none !important;
}

/* Country rows */
.react-tel-input .country-list .country {
  padding: 10px 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  transition: 0.2s ease;
}

/* Hover */
.react-tel-input .country-list .country:hover {
  background: #f3f4f6 !important;
}

/* Selected */
.react-tel-input .country-list .country.highlight {
  background: #ede9fe !important;
  color: #7c3aed !important;
}