:root {
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-sidebar: #FFFFFF;
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-dim: #94A3B8;

    --gold-primary: #D97706;
    --gold-hover: #B45309;
    --gold-light: #FEF3C7;
    --gold-glow: rgba(217, 119, 6, 0.15);

    --blue-accent: #2563EB;
    --blue-light: #EFF6FF;
    --green-accent: #059669;
    --green-light: #ECFDF5;
    --purple-accent: #7C3AED;
    --red-accent: #DC2626;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.light-theme {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 270px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo img,
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.brand-text span {
    font-size: 11px;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin: 20px 0 8px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    color: var(--gold-primary);
    background: var(--gold-light);
}

.nav-item.active {
    color: var(--gold-primary);
    background: var(--gold-light);
    border-left: 4px solid var(--gold-primary);
    font-weight: 700;
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-top: auto;
}

.user-profile-widget .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #FFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-profile-widget .user-info {
    flex: 1;
}

.user-profile-widget .user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-profile-widget .user-role {
    font-size: 11px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: 270px;
    flex: 1;
    padding: 32px 40px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background: #FFF;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-title h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.header-title p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.system-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: var(--green-accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-accent);
}

/* WIZARD CONTAINER & PROGRESS BAR */
.wizard-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    position: relative;
    padding: 0 20px;
}

.wizard-progress-bar::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 80px;
    right: 80px;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.wizard-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.wizard-step.active .wizard-step-circle {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #FFF;
    box-shadow: 0 0 15px var(--gold-glow);
}

.wizard-step.completed .wizard-step-circle {
    background: var(--green-accent);
    border-color: var(--green-accent);
    color: #FFF;
}

.wizard-step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-step.active .wizard-step-label {
    color: var(--gold-primary);
}

.wizard-content-step {
    display: none;
}

.wizard-content-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Admin Tab Panes */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.wizard-navigation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Glass Cards & Tables */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h3 i {
    color: var(--gold-primary);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: #FFF;
    box-shadow: 0 0 10px var(--gold-glow);
}

.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-2fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

.form-section-divider {
    display: flex;
    align-items: center;
    margin: 28px 0 20px 0;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 10px;
}

.form-section-divider span {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
    color: #FFF;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
    background: #E2E8F0;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #CBD5E1;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-light);
}

.btn-success {
    background: linear-gradient(135deg, var(--green-accent), #047857);
    color: #FFF;
}

.btn-block { width: 100%; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

.btn-excel {
    background: #ECFDF5;
    color: #047857;
    border: 1.5px solid #A7F3D0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-excel:hover {
    background: #10B981;
    color: #FFFFFF;
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.btn-excel i {
    color: #059669;
    font-size: 13px;
    transition: color 0.2s ease;
}

.btn-excel:hover i {
    color: #FFFFFF;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.gold-badge { background: var(--gold-light); color: var(--gold-primary); border: 1px solid rgba(217, 119, 6, 0.3); }
.blue-badge { background: var(--blue-light); color: var(--blue-accent); border: 1px solid rgba(37, 99, 235, 0.3); }
.green-badge { background: var(--green-light); color: var(--green-accent); border: 1px solid rgba(5, 150, 105, 0.3); }

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-PENDING_PAYMENT { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.status-PAYMENT_FAILED { background: #FEE2E2; color: #DC2626; border: 1px solid #F87171; position: relative; cursor: pointer; }
.status-PAID { background: #EFF6FF; color: #1D4ED8; border: 1px solid #93C5FD; }
.status-DOCUSIGN_SENT { background: #FEFCE8; color: #CA8A04; border: 1px solid #FDE047; }
.status-PARTIALLY_SIGNED { background: #F3E8FF; color: #7C3AED; border: 1px solid #DDD6FE; }
.status-COMPLETED { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }

.status-badge[data-tooltip] {
    position: relative;
    cursor: pointer;
}
.status-badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(15,23,42,0.3);
    pointer-events: none;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}
.status-badge[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0F172A;
    z-index: 1000;
    pointer-events: none;
}

/* Document Preview Box */
.document-preview-box {
    background: #FFF;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    font-family: serif;
}

.doc-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 3px double var(--gold-primary);
    padding-bottom: 16px;
}

.doc-header h4 { font-family: var(--font-heading); font-size: 18px; color: var(--gold-primary); font-weight: 800; }
.doc-header h5 { font-family: var(--font-heading); font-size: 13px; color: var(--text-muted); }

.preview-price-tag {
    background: var(--gold-light);
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin: 16px 0;
}

.preview-price-tag .amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    background: var(--bg-body);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.data-table th.sortable-th {
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.data-table th.sortable-th:hover {
    background: #FEF3C7 !important;
    color: var(--gold-primary) !important;
}

.data-table th.sortable-th.sorted-asc,
.data-table th.sortable-th.sorted-desc {
    color: var(--gold-primary) !important;
    background: #FFFBEB !important;
    border-bottom: 2px solid var(--gold-primary) !important;
}

.data-table th.sortable-th .sort-icon {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.35;
    transition: all 0.2s ease;
}

.data-table th.sortable-th:hover .sort-icon {
    opacity: 0.85;
}

.data-table th.sortable-th.sorted-asc .sort-icon,
.data-table th.sortable-th.sorted-desc .sort-icon {
    opacity: 1;
    color: var(--gold-primary);
}

.data-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
}

.data-table tr:hover td {
    background: var(--bg-body);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px 12px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }

.modal-content {
    background: #FFF;
    border-radius: 20px;
    padding: 28px 32px;
    width: 90%;
    max-width: 540px;
    max-height: calc(100vh - 40px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.large-modal { max-width: 750px; }
#passportVerifyModal .modal-content {
    max-width: 920px;
    width: 95%;
    max-height: calc(100vh - 40px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.passport-preview-container {
    background: #0F172A;
    border-radius: 12px;
    padding: 16px;
    height: clamp(240px, 46vh, 480px);
    min-height: 220px;
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid #1E293B;
}

.passport-zoom-wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.18s ease-out;
    transform-origin: top center;
}

/* Grab & Grabbing cursor when zoomed */
.passport-preview-container.is-zoomed {
    cursor: grab;
    cursor: -webkit-grab;
}

.passport-preview-container.is-zoomed * {
    user-select: none;
    -webkit-user-select: none;
}

.passport-preview-container.is-zoomed img,
.passport-preview-container.is-zoomed canvas {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.passport-preview-container.is-dragging,
.passport-preview-container.is-dragging * {
    cursor: grabbing !important;
    cursor: -webkit-grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.passport-preview-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.passport-preview-container::-webkit-scrollbar-track {
    background: #090D16;
    border-radius: 4px;
}
.passport-preview-container::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.passport-preview-container::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

.gateway-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
}

.gateway-option {
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.gateway-option.active {
    border-color: var(--gold-primary);
    background: var(--gold-light);
}

.payment-demo-card {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #FFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

/* Timeline */
.ds-signers-timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ds-signer-step {
    flex: 1;
    text-align: center;
    padding: 14px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    margin: 0 4px;
}

.ds-signer-step.SIGNED { border-color: var(--green-accent); background: var(--green-light); }
.ds-signer-step.SENT { border-color: var(--gold-primary); background: var(--gold-light); }

/* Filter & Search Toolbar */
.filter-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg-body);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-toolbar .search-box {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.filter-toolbar .search-box input,
.search-box input {
    padding-left: 36px;
    font-size: 13px;
    height: 40px;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.filter-toolbar .search-box input:focus,
.search-box input:focus {
    background: #FFFFFF !important;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

.filter-toolbar .search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.filter-toolbar .date-range-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-toolbar .date-range-box label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.filter-toolbar .date-range-box input[type="date"] {
    width: 145px;
    font-size: 13px;
    height: 40px;
    padding: 6px 10px;
}

.filter-toolbar .date-range-box span {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
}

/* Custom DateRangePicker Component (Matches Design Screenshot) */
.custom-daterange-picker-wrapper {
    position: relative;
    display: inline-block;
}

.drp-trigger-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.drp-input-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #334155;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.drp-input-box:hover {
    border-color: #0F172A;
}

.drp-icon {
    color: #475569;
    font-size: 15px;
}

.drp-val-text {
    font-weight: 500;
    color: #0F172A;
}

.drp-val-text.placeholder {
    color: #64748B;
}

.drp-to-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    margin: 1px 0;
}

/* Popover Dropdown */
.drp-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1050;
    display: none;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.drp-popover.active {
    display: flex;
    animation: fadeIn 0.15s ease;
}

/* Left Presets Sidebar */
.drp-presets-sidebar {
    width: 140px;
    max-height: 310px;
    overflow-y: auto;
    padding: 12px 8px;
    background: #FFFFFF;
}

.drp-presets-sidebar::-webkit-scrollbar {
    width: 5px;
}
.drp-presets-sidebar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.drp-preset-item {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.drp-preset-item:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.drp-divider {
    width: 1px;
    background: #E2E8F0;
    margin: 8px 0;
}

/* Right Calendar Panel */
.drp-calendar-panel {
    padding: 16px 20px;
    width: 275px;
    display: flex;
    flex-direction: column;
}

.drp-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.drp-cal-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #1E293B;
}

.drp-cal-nav {
    background: transparent;
    border: none;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s;
}

.drp-cal-nav:hover {
    background: #F1F5F9;
}

.drp-weekdays-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 8px;
}

.drp-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    row-gap: 4px;
    text-align: center;
}

.drp-day {
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
}

.drp-day:hover {
    background: #F1F5F9;
}

.drp-day.overflow-day {
    color: #94A3B8;
    font-weight: 400;
}

.drp-day.is-today::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #EF4444;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
}

.drp-day.selected-start {
    background: #0F172A !important;
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 8px;
}

.drp-day.selected-end {
    background: #0F172A !important;
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 8px;
}

.drp-day.selected-start.range-start-hover-active {
    border-radius: 8px 0 0 8px !important;
}

.drp-day.in-range {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #0F172A !important;
    border-radius: 0 !important;
    font-weight: 600;
}

.drp-day.in-range-hover {
    background: rgba(212, 175, 55, 0.22) !important;
    color: #0F172A !important;
    border-radius: 0 !important;
    font-weight: 600;
}

.drp-day.hover-end-preview {
    background: rgba(212, 175, 55, 0.45) !important;
    color: #0F172A !important;
    border-radius: 0 8px 8px 0 !important;
    font-weight: 800;
    box-shadow: inset -2px 0 0 var(--gold-primary);
}

.drp-day.hover-start-preview {
    background: rgba(212, 175, 55, 0.45) !important;
    color: #0F172A !important;
    border-radius: 8px 0 0 8px !important;
    font-weight: 800;
    box-shadow: inset 2px 0 0 var(--gold-primary);
}

.drp-cal-footer {
    margin-top: 14px;
    text-align: center;
}

.drp-clear-btn {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.drp-clear-btn:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #0F172A;
}

/* Passport Dropzone Styling */
.passport-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    background: var(--bg-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.passport-dropzone:hover {
    border-color: var(--blue-accent);
    background: var(--blue-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Legal Review Contract List Scrollbar & Sticky Header */
.legal-table-scroll {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.legal-table-scroll .data-table th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #F8FAFC;
    box-shadow: 0 1px 0 var(--border-color);
}

.legal-table-scroll::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.legal-table-scroll::-webkit-scrollbar-track {
    background: var(--bg-body);
    border-radius: 4px;
}

.legal-table-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.legal-table-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Pagination Footer Component */
.pagination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-footer .page-info {
    font-weight: 600;
}

.pagination-footer .page-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-footer .page-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pagination-footer .page-btn:hover:not(:disabled) {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-light);
}

.pagination-footer .page-btn.active {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.pagination-footer .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-footer .pageSize-select {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
}

/* Status Tab Pills Styling - Rich Harmonized Color Palette */
.status-tab-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    background: #F8FAFC;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.status-pill {
    padding: 8px 18px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.status-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.status-pill .pill-count {
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 2px;
    transition: all 0.2s ease;
}

/* 1. ALL STATUSES (Refined Slate Gray) */
.status-pill-all {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #334155;
}
.status-pill-all:hover {
    background: #E2E8F0;
    border-color: #94A3B8;
    color: #0F172A;
}
.status-pill-all.active {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%) !important;
    color: #FFFFFF !important;
    border-color: #475569 !important;
    box-shadow: 0 4px 16px rgba(71, 85, 105, 0.35) !important;
}
.status-pill-all.active .pill-count {
    background: #D4AF37 !important;
    color: #0F172A !important;
}

/* 2. PENDING PAYMENT (Warm Amber Gold - เหลืองส้ม) */
.status-pill-pending_payment {
    background: #FEF3C7 !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    color: #B45309 !important;
}
.status-pill-pending_payment:hover {
    background: #FDE68A !important;
    border-color: #F59E0B !important;
    color: #92400E !important;
}
.status-pill-pending_payment.active {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #FFFFFF !important;
    border-color: #D97706 !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4) !important;
}
.status-pill-pending_payment.active .pill-count {
    background: rgba(0, 0, 0, 0.25) !important;
    color: #FFFFFF !important;
}

/* 3. PAYMENT FAILED (Radiant Crimson Red - แดง) */
.status-pill-payment_failed {
    background: #FEE2E2 !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    color: #DC2626 !important;
}
.status-pill-payment_failed:hover {
    background: #FCA5A5 !important;
    border-color: #EF4444 !important;
    color: #B91C1C !important;
}
.status-pill-payment_failed.active {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #FFFFFF !important;
    border-color: #DC2626 !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
}
.status-pill-payment_failed.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 4. PAID / PAYMENT SUCCESS (Vibrant Royal Blue - สีน้ำเงิน) */
.status-pill-paid,
.status-pill-payment_success {
    background: #EFF6FF !important;
    border-color: rgba(37, 99, 235, 0.45) !important;
    color: #1D4ED8 !important;
}
.status-pill-paid:hover,
.status-pill-payment_success:hover {
    background: #DBEAFE !important;
    border-color: #2563EB !important;
    color: #1E40AF !important;
}
.status-pill-paid.active,
.status-pill-payment_success.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #FFFFFF !important;
    border-color: #1D4ED8 !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
}
.status-pill-paid.active .pill-count,
.status-pill-payment_success.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 5. DOCUSIGN SENT (Warm Sunny Yellow - เหลือง) */
.status-pill-docusign_sent {
    background: #FEFCE8 !important;
    border-color: #FACC15 !important;
    color: #A16207 !important;
}
.status-pill-docusign_sent:hover {
    background: #FEF9C3 !important;
    border-color: #EAB308 !important;
    color: #854D0E !important;
}
.status-pill-docusign_sent.active {
    background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%) !important;
    color: #0F172A !important;
    border-color: #CA8A04 !important;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4) !important;
}
.status-pill-docusign_sent.active .pill-count {
    background: rgba(15, 23, 42, 0.2) !important;
    color: #0F172A !important;
}

/* 6. PARTIALLY SIGNED (Royal Purple - ม่วง) */
.status-pill-partially_signed {
    background: #F3E8FF !important;
    border-color: rgba(124, 58, 237, 0.45) !important;
    color: #7C3AED !important;
}
.status-pill-partially_signed:hover {
    background: #E9D5FF !important;
    border-color: #7C3AED !important;
    color: #6D28D9 !important;
}
.status-pill-partially_signed.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    color: #FFFFFF !important;
    border-color: #6D28D9 !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4) !important;
}
.status-pill-partially_signed.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 7. COMPLETED (Vibrant Fresh Emerald Green - เขียวสด) */
.status-pill-completed {
    background: #ECFDF5 !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #059669 !important;
}
.status-pill-completed:hover {
    background: #D1FAE5 !important;
    border-color: #10B981 !important;
    color: #047857 !important;
}
.status-pill-completed.active {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #FFFFFF !important;
    border-color: #059669 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}
.status-pill-completed.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 7. CONTRACT CREATED (Ocean Cyan) */
.status-pill-contract_created {
    background: #CFFAFE;
    border-color: rgba(6, 182, 212, 0.4);
    color: #0E7490;
}
.status-pill-contract_created:hover {
    background: #A5F3FC;
    border-color: #06B6D4;
    color: #155E75;
}
.status-pill-contract_created.active {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%) !important;
    color: #FFFFFF !important;
    border-color: #0891B2 !important;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4) !important;
}
.status-pill-contract_created.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 8. ADMIN USER ROLE (Rose Crimson) */
.status-pill-admin {
    background: #FFE4E6;
    border-color: rgba(225, 29, 72, 0.35);
    color: #BE123C;
}
.status-pill-admin:hover {
    background: #FECDD3;
    border-color: #E11D48;
    color: #9F1239;
}
.status-pill-admin.active {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
    color: #FFFFFF !important;
    border-color: #BE123C !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4) !important;
}
.status-pill-admin.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 9. LEGAL USER ROLE (Deep Purple) */
.status-pill-legal {
    background: #F3E8FF;
    border-color: rgba(139, 92, 246, 0.4);
    color: #6D28D9;
}
.status-pill-legal:hover {
    background: #E9D5FF;
    border-color: #8B5CF6;
    color: #5B21B6;
}
.status-pill-legal.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border-color: #7C3AED !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4) !important;
}
.status-pill-legal.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 10. ACCOUNTING USER ROLE (Teal Emerald) */
.status-pill-accounting {
    background: #CCFBF1;
    border-color: rgba(20, 184, 166, 0.4);
    color: #0F766E;
}
.status-pill-accounting:hover {
    background: #99F6E4;
    border-color: #14B8A6;
    color: #115E59;
}
.status-pill-accounting.active {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%) !important;
    color: #FFFFFF !important;
    border-color: #0D9488 !important;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4) !important;
}
.status-pill-accounting.active .pill-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 11. SALES AGENT USER ROLE (Warm Amber Gold) */
.status-pill-sales_agent {
    background: #FEF3C7;
    border-color: rgba(217, 119, 6, 0.4);
    color: #B45309;
}
.status-pill-sales_agent:hover {
    background: #FDE68A;
    border-color: #D97706;
    color: #92400E;
}
.status-pill-sales_agent.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8902E 100%) !important;
    color: #0F172A !important;
    border-color: #B8902E !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4) !important;
}
.status-pill-sales_agent.active .pill-count {
    background: #0F172A !important;
    color: #FFFFFF !important;
}

/* ========================================================
   CLUB NEBU LUXURY POPUP & TOAST NOTIFICATION STYLING
   ======================================================== */
.nebu-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 25, 44, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px;
    box-sizing: border-box;
}
.nebu-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nebu-modal-card {
    background: #FFFFFF;
    border-radius: 26px;
    padding: 34px 28px 28px 28px;
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(11, 25, 44, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
    transform: scale(0.88) translateY(18px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nebu-modal-overlay.active .nebu-modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.nebu-modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
}
.nebu-modal-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
    transform: rotate(90deg);
}

.nebu-modal-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.nebu-modal-icon-wrap::before {
    content: '';
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 50%;
    animation: nebuPulseRing 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.nebu-modal-icon-wrap.success {
    background: rgba(16, 185, 129, 0.12);
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}
.nebu-modal-icon-wrap.success::before {
    border: 2px solid rgba(16, 185, 129, 0.35);
}
.nebu-modal-icon-wrap.success i {
    color: #10B981;
    font-size: 36px;
    animation: nebuIconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nebu-modal-icon-wrap.error,
.nebu-modal-icon-wrap.danger {
    background: rgba(225, 29, 72, 0.12);
    border: 2px solid rgba(225, 29, 72, 0.3);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.2);
}
.nebu-modal-icon-wrap.error::before,
.nebu-modal-icon-wrap.danger::before {
    border: 2px solid rgba(225, 29, 72, 0.35);
}
.nebu-modal-icon-wrap.error i,
.nebu-modal-icon-wrap.danger i {
    color: #E11D48;
    font-size: 36px;
    animation: nebuIconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nebu-modal-icon-wrap.warning {
    background: rgba(217, 119, 6, 0.12);
    border: 2px solid rgba(217, 119, 6, 0.3);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2);
}
.nebu-modal-icon-wrap.warning::before {
    border: 2px solid rgba(217, 119, 6, 0.35);
}
.nebu-modal-icon-wrap.warning i {
    color: #D97706;
    font-size: 34px;
    animation: nebuIconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nebu-modal-icon-wrap.info {
    background: rgba(37, 99, 235, 0.12);
    border: 2px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}
.nebu-modal-icon-wrap.info::before {
    border: 2px solid rgba(37, 99, 235, 0.35);
}
.nebu-modal-icon-wrap.info i {
    color: #2563EB;
    font-size: 34px;
    animation: nebuIconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nebu-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}
.nebu-modal-message {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: break-word;
    white-space: pre-line;
    max-height: 260px;
    overflow-y: auto;
    padding: 0 4px;
}

.nebu-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.nebu-btn {
    padding: 12px 24px;
    border-radius: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    outline: none;
}
.nebu-btn:active {
    transform: scale(0.97);
}

.nebu-btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.nebu-btn-success:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}

.nebu-btn-danger,
.nebu-btn-error {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}
.nebu-btn-danger:hover,
.nebu-btn-error:hover {
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
    transform: translateY(-1px);
}

.nebu-btn-warning {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}
.nebu-btn-warning:hover {
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
    transform: translateY(-1px);
}

.nebu-btn-info {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.nebu-btn-info:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.nebu-btn-secondary {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
}
.nebu-btn-secondary:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* Toast Container */
.nebu-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 48px);
}
.nebu-toast {
    pointer-events: auto;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.nebu-toast.show {
    transform: translateX(0);
    opacity: 1;
}
.nebu-toast-icon {
    font-size: 20px;
    margin-top: 1px;
    flex-shrink: 0;
}
.nebu-toast-content {
    flex: 1;
}
.nebu-toast-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 2px;
}
.nebu-toast-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.4;
}
.nebu-toast-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}
.nebu-toast-close:hover {
    color: #0F172A;
}
.nebu-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    width: 100%;
    transform-origin: left;
    animation: nebuToastProgress linear forwards;
}

@keyframes nebuPulseRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}
@keyframes nebuIconPop {
    0% { transform: scale(0.4); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes nebuToastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}


