/* PietroCal 10Q08.2.2.1.2 — picker IANA: contrato DOM y portal modal corregidos. */
.pc-timezone-picker {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 4px;
}

.pc-timezone-trigger {
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #d9dee5;
    border-radius: 9px;
    background: #fff;
    color: #27313d;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pc-timezone-trigger:hover,
.pc-timezone-trigger:focus-visible {
    border-color: #aeb8c5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 112, 235, .10);
}

.pc-timezone-trigger > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-timezone-chevron {
    flex: 0 0 auto;
    color: #778292;
    font-size: 15px;
}

.pc-timezone-help {
    color: #7a8492;
    font-size: 10px;
    line-height: 1.25;
}

.pc-timezone-portal {
    position: fixed;
    z-index: 100100;
    max-width: calc(100vw - 16px);
}

.pc-timezone-portal[hidden] {
    display: none !important;
}

.pc-timezone-popover {
    width: 100%;
    max-height: calc(100vh - 16px);
    padding: 8px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid #dfe4ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(25, 33, 45, .18), 0 3px 10px rgba(25, 33, 45, .08);
}

.pc-timezone-search-wrap {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #d9dee5;
    border-radius: 9px;
    background: #fafbfc;
}

.pc-timezone-search-wrap > span {
    color: #758091;
}

.pc-timezone-search {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    font: inherit;
}

.pc-timezone-status {
    min-height: 24px;
    padding: 7px 3px 4px;
    color: #7a8492;
    font-size: 10px;
}

.pc-timezone-options {
    min-height: 0;
    flex: 1 1 auto;
    max-height: min(315px, 45vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    gap: 3px;
}

.pc-timezone-option {
    width: 100%;
    padding: 8px 9px;
    display: grid;
    gap: 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #27313d;
    text-align: left;
    cursor: pointer;
}

.pc-timezone-option:hover,
.pc-timezone-option:focus-visible,
.pc-timezone-option.is-selected {
    outline: none;
    background: #f0f4fb;
}

.pc-timezone-option strong {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.pc-timezone-option span {
    color: #778292;
    font-size: 10px;
    line-height: 1.25;
}

.pc-timezone-empty {
    padding: 14px 10px;
    color: #66717f;
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .pc-timezone-portal {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none;
    }
}
