/**
 * gp-select — 커스텀 셀렉트
 */
.gp-select {
    position: relative;
    width: 100%;
}

.gp-select[data-type="checkin-time"],
.gp-select[data-type="checkout-time"] {
    position: relative;
}

.gp-select__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.gp-select__value {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #111;
}

.gp-select__arrow {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.gp-select.is-open .gp-select__arrow {
    transform: rotate(-135deg);
}

.gp-select__list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: auto;
}

.gp-select[data-type="checkin-time"] .gp-select__list,
.gp-select[data-type="checkout-time"] .gp-select__list {
    top: auto;
    bottom: calc(100% + 6px);
}

.gp-select:not(.is-open) .gp-select__list {
    pointer-events: none;
}

.gp-select.is-open .gp-select__list {
    display: block;
}

.gp-select__item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    color: #111;
}

.gp-select__item:hover {
    background: #f5f5f5;
}
