.temporal-picker-popover {
    position: fixed;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(49, 51, 53, 0.98);
    border: 1px solid #555555;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    color: #a9b7c6;
    padding: 12px;
}

.temporal-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.temporal-picker-title {
    color: #ffc66d;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.temporal-picker-nav {
    display: inline-flex;
    gap: 4px;
}

.temporal-picker-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3c3f41;
    color: #a9b7c6;
    border: 1px solid #555555;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.temporal-picker-nav-button:hover {
    background: #5a5d5f;
    border-color: #666666;
}

.temporal-picker-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.temporal-picker-weekday {
    color: #808080;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.temporal-picker-day {
    height: 28px;
    background: transparent;
    color: #a9b7c6;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
}

.temporal-picker-day:hover {
    background: #4b4d4f;
    border-color: #555555;
}

.temporal-picker-day.muted {
    color: #666666;
}

.temporal-picker-day.today {
    border-color: #6897bb;
    color: #ffffff;
}

.temporal-picker-day.selected {
    background: #6897bb;
    border-color: #7aa8cc;
    color: #ffffff;
    font-weight: bold;
}

.temporal-picker-time {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    color: #808080;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.temporal-picker-select {
    width: 100%;
    background: #3c3f41;
    color: #a9b7c6;
    border: 1px solid #555555;
    border-radius: 3px;
    padding: 6px 8px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color-scheme: dark;
}

.temporal-picker-select:focus {
    outline: none;
    border-color: #6897bb;
    box-shadow: 0 0 0 1px #6897bb;
}

.temporal-picker-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.temporal-picker-button {
    background: #3c3f41;
    color: #a9b7c6;
    border: 1px solid #555555;
    border-radius: 3px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.temporal-picker-button:hover {
    background: #5a5d5f;
    border-color: #666666;
}

.temporal-picker-button:focus {
    outline: none;
    border-color: #6897bb;
    box-shadow: 0 0 0 1px #6897bb;
}

.temporal-picker-button.primary {
    background: #6897bb;
    border-color: #7aa8cc;
    color: #ffffff;
}

.temporal-picker-button.primary:hover {
    background: #7aa8cc;
    border-color: #8bb9dd;
}
