:root {
    --navy-900: #0b1f3a;
    --navy-800: #0e2a4f;
    --navy-700: #14356a;
    --blue-500: #2f6fd6;
    --gold-500: #f0b429;
    --gold-600: #d99a1b;
    --text: #1e2a3a;
    --text-muted: #5b6b7e;
    --bg-soft: #f4f7fb;
    --white: #ffffff;
    --border: #e3e9f2;
    --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    --radius: 16px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font);
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}

.container {
    width: min(1080px, 92%);
    margin-inline: auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

.topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 17px;
}

.topbar__logo {
    display: block;
    height: 42px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 640px) {
    .topbar__logo {
        height: 30px;
    }
}

.topbar__brand small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-500);
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.topbar__user {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.25;
}

.topbar__user strong {
    font-weight: 600;
}

.topbar__user span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.topnav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topnav__link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.topnav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .topnav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--navy-900);
        padding: 16px 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100;
    }

    .topnav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .topnav__link {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        font-size: 16px;
    }

    .topnav__link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }
}

.page-head {
    margin-bottom: 28px;
}

.page-head h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.3px;
}

.page-head p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-top: 4px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-500);
}

.stat-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.2;
    border: 2px solid transparent;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn--primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn--primary:hover {
    background: var(--gold-600);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--blue-500);
    color: var(--blue-500);
}

.btn--danger {
    background: #d64545;
    color: var(--white);
}

.btn--danger:hover {
    background: #bd3535;
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

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

.table th,
.table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-soft);
}

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

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.badge--pending {
    background: rgba(240, 180, 41, 0.15);
    color: #9a6a00;
}

.badge--paid {
    background: rgba(39, 174, 96, 0.15);
    color: #1f8a4c;
}

.badge--failed {
    background: rgba(214, 69, 69, 0.15);
    color: #bd3535;
}

.badge--cancelled {
    background: rgba(91, 107, 126, 0.15);
    color: var(--text-muted);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge--pending {
    background: rgba(240, 180, 41, 0.15);
    color: #9a6a00;
}

.status-badge--paid {
    background: rgba(39, 174, 96, 0.15);
    color: #1f8a4c;
}

.status-badge--failed {
    background: rgba(214, 69, 69, 0.15);
    color: #bd3535;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 18px;
}

.alert--error {
    background: rgba(214, 69, 69, 0.1);
    color: #bd3535;
    border: 1px solid rgba(214, 69, 69, 0.25);
}

.alert--success {
    background: rgba(39, 174, 96, 0.1);
    color: #1f8a4c;
    border: 1px solid rgba(39, 174, 96, 0.25);
}

.alert--info {
    background: rgba(47, 111, 214, 0.1);
    color: var(--blue-500);
    border: 1px solid rgba(47, 111, 214, 0.25);
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.12);
}

.form-group input.is-invalid {
    border-color: #d64545;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

#filter-category {
    width: auto;
    min-width: 220px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#filter-category:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.12);
}

.form-hint kbd {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.password-toggle:hover {
    opacity: 1;
    color: var(--blue-500);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-item:hover {
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.product-item.is-active {
    border-color: var(--blue-500);
    background: rgba(47, 111, 214, 0.04);
}

.product-item__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 111, 214, 0.12), rgba(47, 111, 214, 0.06));
    color: var(--blue-500);
    font-size: 22px;
}

.product-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
}

.product-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.package-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.package-card:hover {
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.package-card.is-active {
    border-color: var(--blue-500);
    background: rgba(47, 111, 214, 0.04);
}

.package-card__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.package-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.package-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.package-card__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--blue-500);
}

.summary {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.summary__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14.5px;
}

.summary__row + .summary__row {
    border-top: 1px dashed var(--border);
}

.summary__row span {
    color: var(--text-muted);
}

.summary__row strong {
    color: var(--navy-900);
}

.summary__row--total {
    font-size: 17px;
    font-weight: 800;
}

.summary__row--total strong {
    color: var(--blue-500);
}

.empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty strong {
    display: block;
    font-size: 17px;
    color: var(--navy-900);
    margin-bottom: 6px;
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.hidden {
    display: none;
}

@media (max-width: 820px) {
    .stats-grid,
    .products-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.stats-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
    .stats-grid--4 {
        grid-template-columns: 1fr 1fr;
    }
}

.auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(47, 111, 214, 0.3), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.auth__card {
    width: min(400px, 100%);
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.auth__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-weight: 800;
    font-size: 20px;
}

.auth__brand small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-600);
}

.auth__sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 26px;
}

.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.header {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.15);
}

.main {
    padding: 32px 0 64px;
}

.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 640px) {
    .topbar__user {
        display: none;
    }
}

.step-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.accordion {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.accordion.is-open {
    grid-template-rows: 1fr;
}

.accordion__inner {
    overflow: hidden;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 18px;
}

.detail-field {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
}

.detail-field__label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.detail-field strong {
    color: var(--navy-900);
    font-size: 14px;
    word-break: break-word;
}

.detail-field--wide {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.chip {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.chip:hover {
    border-color: var(--blue-500);
    color: var(--blue-500);
}

.chip--active {
    border-color: var(--blue-500);
    background: rgba(47, 111, 214, 0.06);
    color: var(--blue-500);
}

.filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.filter-search {
    flex: 1 1 260px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
}

.filter-search:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.12);
}

.filter-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
}

.period-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.period-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.period-card:hover {
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.period-card.is-active {
    border-color: var(--blue-500);
    background: rgba(47, 111, 214, 0.04);
}

.period-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.period-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.period-card p {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 520px) {
    .period-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.installment-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.installment-wrap .installment-grid {
    flex: 1 1 0;
    min-width: 0;
}

.installment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.installment-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 14px;
    background: var(--white);
    text-align: center;
}

.installment-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.installment-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.installment-card .installment-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
}

.installment-card .installment-monthly {
    margin-top: 8px;
    color: var(--blue-500);
}

.installment-card .installment-monthly .installment-monthly__label {
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 4px;
}

.installment-card .installment-monthly .installment-monthly__value {
    font-weight: 700;
}

.installment-note {
    flex: 0 0 270px;
    color: #d32f2f;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .installment-wrap .installment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .installment-note {
        flex-basis: 240px;
    }
}

@media (max-width: 520px) {
    .installment-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .installment-wrap .installment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .installment-note {
        flex-basis: auto;
    }
}

.summary__row--block {
    flex-direction: column;
    align-items: stretch;
}

.summary__row--block > span:first-child {
    margin-bottom: 8px;
}

.taksit-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.taksit-options__item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 6px 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}

.taksit-options__item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.taksit-options__head {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.taksit-options__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
}

.taksit-options__rate {
    font-size: 12px;
    color: var(--text-muted);
}

.taksit-options__col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    text-align: right;
}

.taksit-options__col span {
    font-size: 11px;
    color: var(--text-muted);
}

.taksit-options__col strong {
    font-size: 13.5px;
    color: var(--navy-900);
}

@media (max-width: 520px) {
    .taksit-options__item {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px 10px;
    }
    .taksit-options__head {
        grid-column: 1 / -1;
    }
    .taksit-options__col {
        align-items: flex-start;
        text-align: left;
    }
}

.taksit-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    color: #d32f2f;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}

.table__actions {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .table--responsive thead {
        display: none;
    }
    .table--responsive,
    .table--responsive tbody,
    .table--responsive tr,
    .table--responsive td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .table--responsive tr {
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }
    .table--responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        text-align: right;
    }
    .table--responsive td:last-child {
        border-bottom: none;
    }
    .table--responsive td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        text-align: left;
        flex-shrink: 0;
    }
    .table--responsive .table__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        white-space: normal;
    }
    .table--responsive .table__actions::before {
        display: none;
    }
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select__trigger:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.12);
}

.custom-select__trigger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.custom-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select__arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-muted);
    flex-shrink: 0;
}

.custom-select__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 50;
    display: none;
    padding: 4px;
}

.custom-select__menu.is-open {
    display: block;
}

.custom-select__option {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.custom-select__option:hover {
    background: var(--bg-soft);
}

.custom-select__option.is-selected {
    background: rgba(240, 180, 41, 0.15);
    font-weight: 600;
}
