/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-wrapper select {
    display: none !important;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 14.5px;
    font-family: inherit;
    font-weight: 500;
    color: var(--ink, #0F1511);
    height: 42px;
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--line, #E2E7DC);
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select__trigger:hover {
    border-color: var(--line-strong, #D3DACB);
}

.custom-select.open .custom-select__trigger {
    border-color: var(--lime-deep, #A6E657);
    box-shadow: 0 0 0 3px rgba(166,230,87,0.25);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--line, #E2E7DC);
    background: var(--surface, #FFFFFF);
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(15,21,17,0.1);
    border-radius: 11px;
    margin-top: 6px;
    max-height: 250px;
    overflow-y: auto;
    padding: 6px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink, #0F1511);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.1s ease;
}

.custom-option:hover {
    background-color: var(--paper, #F4F6F0);
}

.custom-option.selected {
    background-color: var(--lime-tint, #E9FBD0);
    color: var(--ink, #0F1511);
    font-weight: 500;
}

/* Opsi kaya (premium): ikon kotak lime + label + deskripsi */
.custom-option.rich {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
}
.custom-option.rich .co-ic {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    font-size: 15px;
    border-radius: 9px;
    background: var(--lime-tint, #E9FBD0);
    transition: background 0.12s ease;
}
.custom-option.rich .co-tx {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.custom-option.rich .co-tx b {
    font-size: 13.5px;
    font-weight: 600;
}
.custom-option.rich .co-tx span {
    font-size: 11px;
    color: var(--muted, #65726A);
}
.custom-option.rich:hover .co-ic,
.custom-option.rich.selected .co-ic {
    background: var(--lime, #C8FB7A);
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow svg {
    transition: transform 0.2s ease;
    width: 16px;
    height: 16px;
}

.custom-select.open .arrow svg {
    transform: rotate(180deg);
}
