:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #121826;
    --bg-card: rgba(18, 24, 38, 0.7);
    --bg-sidebar: #090c14;
    --accent-glow: rgba(99, 102, 241, 0.15);
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-primary: #6366f1;
    --color-primary-hover: #4f46e5;
    --color-secondary: #06b6d4;
    --color-secondary-hover: #0891b2;
    --color-emerald: #10b981;
    --color-amber: #f59e0b;
    --color-rose: #f43f5e;
    
    --border-glow: rgba(99, 102, 241, 0.2);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(6, 182, 212, 0.5);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --sidebar-width: 280px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* App Layout */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-light);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: var(--transition-smooth);
}

.sidebar-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
}

.brand-logo-svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.brand-text {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text-main) 30%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    overflow-y: auto;
}

.menu-item-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.menu-item-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition-smooth);
}

.menu-item-link:hover {
    color: var(--color-text-main);
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.menu-item-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-color: var(--border-glow);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.menu-item-link.active svg {
    stroke: var(--color-secondary);
    filter: drop-shadow(0 0 4px var(--color-secondary));
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

/* Main Workspace Content Area */
.workspace {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.top-nav {
    height: 80px;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.page-header {
    display: flex;
    flex-direction: column;
}

.page-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-main);
}

.page-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.system-time-badge {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
}

.content-body {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Dashboard Overview Cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.stat-trend {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.stat-trend.positive {
    color: var(--color-emerald);
}

.stat-trend.neutral {
    color: var(--color-secondary);
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.stat-icon-wrapper.primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.stat-icon-wrapper.secondary {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
}

.stat-icon-wrapper.emerald {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
}

.stat-icon-wrapper.amber {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-amber);
}

.stat-icon-wrapper svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Modern Grid Dashboard & Sections */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

.section-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 35px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

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

.section-title-icon {
    width: 28px;
    height: 28px;
    stroke: var(--color-secondary);
    stroke-width: 2;
    fill: none;
}

.section-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* Interactive Custom Forms */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.3px;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    stroke: var(--color-text-muted);
    stroke-width: 2;
    fill: none;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background-color: rgba(9, 12, 20, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input-wrapper .form-input,
.form-input-wrapper .form-select {
    padding-left: 44px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
    background-color: rgba(9, 12, 20, 0.8);
}

.form-input:focus + .form-input-icon,
.form-select:focus + .form-input-icon {
    stroke: var(--color-secondary);
    filter: drop-shadow(0 0 3px rgba(6, 182, 212, 0.4));
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    font-family: var(--font-main);
    outline: none;
}

.btn-svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
    filter: brightness(1.1);
}

.btn-danger {
    background-color: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.2);
    color: var(--color-rose);
}

.btn-danger:hover {
    background-color: var(--color-rose);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-light);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--color-text-muted);
}

/* Beautiful Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background-color: rgba(9, 12, 20, 0.3);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.custom-table th {
    background-color: rgba(9, 12, 20, 0.7);
    color: var(--color-text-muted);
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--color-text-main);
    font-weight: 500;
}

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

.custom-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Badges & Indicators */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-amber);
}

.badge-danger {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--color-rose);
}

.badge-info {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
}

/* Search Filter Row */
.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.search-wrapper {
    position: relative;
    min-width: 300px;
    max-width: 100%;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--color-text-muted);
    stroke-width: 2;
    fill: none;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background-color: rgba(9, 12, 20, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 12px 16px 12px 44px;
    color: #ffffff;
    outline: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
    background-color: rgba(9, 12, 20, 0.8);
}

/* Real-time Dynamic View transitions */
.view-section {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.view-section.active-view {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

/* Shopping basket calculator styling */
.shopping-card-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .shopping-card-layout {
        grid-template-columns: 1fr;
    }
}

.item-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

.picker-card {
    background-color: rgba(9, 12, 20, 0.4);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.picker-card:hover {
    border-color: var(--color-secondary);
    background-color: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
}

.picker-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.picker-card-sku {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.picker-card-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.picker-card-price-sell {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
}

.picker-card-stock {
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Receipt/Invoice calculations sidebar */
.calculator-receipt {
    background-color: rgba(9, 12, 20, 0.5);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.receipt-header {
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.receipt-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.receipt-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.receipt-item-name {
    font-weight: 600;
    color: #ffffff;
}

.receipt-item-calc {
    font-size: 12px;
    color: var(--color-text-muted);
}

.receipt-item-qty-input {
    width: 60px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
}

.receipt-item-total {
    font-weight: 700;
    color: var(--color-secondary);
    min-width: 90px;
    text-align: right;
}

.receipt-item-remove {
    color: var(--color-rose);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.receipt-item-remove:hover {
    background-color: rgba(244, 63, 94, 0.1);
}

.receipt-summary {
    border-top: 1px dashed var(--border-light);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-row.grand-total {
    font-size: 18px;
    font-weight: 800;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    color: #ffffff;
}

.summary-value {
    font-weight: 700;
}

.summary-value.cyan {
    color: var(--color-secondary);
}

/* Form Penawaran Layout */
.quotation-builder-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

@media (max-width: 1100px) {
    .quotation-builder-layout {
        grid-template-columns: 1fr;
    }
}

/* Quotation live design preview sheet */
.quotation-preview-container {
    background-color: #ffffff;
    color: #1f2937;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.6;
}

.q-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 24px;
}

.q-preview-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.q-preview-logo-icon {
    width: 44px;
    height: 44px;
    stroke: #4f46e5;
    stroke-width: 2.5;
    fill: none;
}

.q-preview-company-name {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.q-preview-company-sub {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.q-preview-header-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.q-preview-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.q-preview-number {
    font-weight: 700;
    color: #1f2937;
}

.q-preview-date {
    color: #6b7280;
}

.q-preview-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.q-party-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.q-party-title {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.q-party-name {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.q-party-details {
    color: #4b5563;
}

.q-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.q-preview-table th {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 14px;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
}

.q-preview-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.q-preview-table tr:last-child td {
    border-bottom: none;
}

.q-preview-table-qty {
    text-align: center;
    width: 80px;
}

.q-preview-table-price {
    text-align: right;
    width: 130px;
}

.q-preview-table-total {
    text-align: right;
    width: 140px;
    font-weight: 700;
    color: #111827;
}

.q-preview-totals {
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.q-total-row {
    display: flex;
    width: 280px;
    justify-content: space-between;
    font-size: 13px;
}

.q-total-row.grand {
    font-size: 16px;
    font-weight: 800;
    color: #4f46e5;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
}

.q-preview-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.q-signature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    text-align: center;
    width: 150px;
}

.q-signature-line {
    width: 100%;
    border-bottom: 1px solid #9ca3af;
    font-weight: 700;
    color: #111827;
    padding-bottom: 4px;
}

.q-signature-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: -55px;
}

.q-terms {
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    font-size: 11px;
    color: #6b7280;
}

.q-terms-title {
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 4px;
}

.q-terms ol {
    padding-left: 14px;
}

/* Toast system */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.toast {
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    transform: translateX(120%);
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: var(--transition-smooth);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast.success { border-left-color: var(--color-emerald); }
.toast.warning { border-left-color: var(--color-amber); }
.toast.error { border-left-color: var(--color-rose); }
.toast.info { border-left-color: var(--color-secondary); }

.toast-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    fill: none;
}

.toast.success .toast-icon { stroke: var(--color-emerald); }
.toast.warning .toast-icon { stroke: var(--color-amber); }
.toast.error .toast-icon { stroke: var(--color-rose); }
.toast.info .toast-icon { stroke: var(--color-secondary); }

.toast-content {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    flex-grow: 1;
}

/* Printable Style Sheet Override */
@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-family: 'Times New Roman', serif;
    }
    .sidebar, .top-nav, .nav-actions, .btn, .sidebar-footer, .toast-container, .section-card-header, .no-print {
        display: none !important;
    }
    .workspace {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .content-body {
        padding: 0 !important;
    }
    .view-section {
        display: none !important;
    }
    .view-section#penawaran {
        display: block !important;
    }
    .quotation-builder-layout {
        grid-template-columns: 1fr !important;
    }
    .quotation-form-card {
        display: none !important;
    }
    .quotation-preview-container {
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #000000 !important;
        background-color: #ffffff !important;
    }
    .q-preview-title {
        color: #000000 !important;
    }
    .q-preview-logo-icon {
        stroke: #000000 !important;
    }
    .q-total-row.grand {
        color: #000000 !important;
        border-top: 2px solid #000000 !important;
    }
    .q-signature-line {
        border-bottom: 1.5px solid #000000 !important;
    }
    .q-terms {
        margin-top: 30px !important;
    }
}

/* PREMIUM GLASSMORPHIC MODAL STYLES */
.glass-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 12, 20, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.glass-modal {
    background: #121826;
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.glass-modal-backdrop.active .glass-modal {
    transform: translateY(0) scale(1);
}
.glass-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}
.glass-modal-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.glass-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.glass-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-main);
}
.glass-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}
.glass-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
}

/* Custom Searchable Select Styles */
.searchable-select-container {
    position: relative;
    width: 100%;
}
.searchable-select-input {
    background-color: rgba(9, 12, 20, 0.6) !important;
    border: 1px solid var(--border-light) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--font-main) !important;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}
.searchable-select-input:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15) !important;
    background-color: rgba(9, 12, 20, 0.8) !important;
}
.searchable-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 18px;
    height: 18px;
    stroke: var(--color-text-muted);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}
.searchable-select-container.open .searchable-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}
.searchable-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: rgba(18, 24, 38, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-top: 6px;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}
.searchable-select-inner-search {
    background: rgba(9, 12, 20, 0.6) !important;
    border: 1px solid var(--border-light) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 12px 8px 36px !important;
    font-size: 13px !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
    outline: none;
    transition: var(--transition-smooth);
}
.searchable-select-inner-search:focus {
    border-color: var(--color-secondary) !important;
}
.searchable-select-search-wrapper {
    position: relative;
    width: 100%;
}
.searchable-select-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    stroke: var(--color-text-muted);
    stroke-width: 2;
    fill: none;
    pointer-events: none;
}
.searchable-select-options-list {
    overflow-y: auto;
    max-height: 220px;
    display: flex;
    flex-direction: column;
}
.searchable-select-option-item {
    padding: 10px 16px;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
    text-align: left;
}
.searchable-select-option-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #ffffff;
    padding-left: 22px; /* Smooth slide micro-animation */
}
.searchable-select-option-item.selected {
    background: rgba(6, 182, 212, 0.2);
    color: var(--color-secondary);
    font-weight: 600;
}
.searchable-select-no-results {
    padding: 16px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
}

