/* Tab switcher */
.type-tabs {
    display: flex;
    background: #edfbfe;
    border: 1.5px solid #d0e6f5;
    border-radius: 10px;
    padding: 3px;
    width: fit-content;
    margin: 0 auto 16px;
}

.type-tab {
    padding: 7px 22px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-weight: 700;
    color: #6b9ab8;
    cursor: pointer;
    transition: all .18s;
}

.type-tab.active {
    background: #0e9eee;
    color: #fff;
    box-shadow: 0 2px 8px rgba(27, 123, 191, .25);
}

/* Week dropdown */
.week-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    background: #fff;
    border: 1.5px solid #d0e6f5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: 14px;
    min-width: 340px;
}

.week-dur-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.week-dur-pill {
    padding: 5px 14px;
    border: 1.5px solid #d0e6f5;
    border-radius: 20px;
    background: #fff;
    font-weight: 700;
    color: #6b9ab8;
    cursor: pointer;
    transition: all .15s;
}

.week-dur-pill.active {
    border-color: #1b7bbf;
    background: #e8f4fb;
    color: #1b7bbf;
}

.week-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
}

.week-opt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1.5px solid #e8f0f7;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #1a3a52;
    transition: all .15s;
}

.week-opt:hover, .week-opt.selected {
    border-color: #1b7bbf;
    background: #e8f4fb;
    color: #1b7bbf;
}

.week-opt__days {
    font-weight: 700;
    color: #6b9ab8;
}

.aside-yacht-card .type-tabs {
    margin: 12px auto;
}

.aside-yacht-card .type-tab {
    flex: 1;
    text-align: center;
}