/* Temporal Picker Styles */
.temporal-datepicker-wrapper {
    position: relative;
    display: inline-block;
}

.temporal-datepicker-wrapper input {
    padding: 10px;
    cursor: pointer;
}

/* Popup Calendar */
.temporal-calendar-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background: #ffffff;
    border: var(--key-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 1000;
}

.temporal-calendar-popup.open {
    display: block;
}

/* Calendar Header */
.temporal-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.temporal-calendar-header button {
/*     background: none;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 14px;
    transition: background 0.2s; */
}

.temporal-calendar-header button:hover {
/*     background: #f1f5f9; */
}

.temporal-month-label {
    font-weight: 600;
/*     color: #0f172a; */
}

/* Calendar Grid */
.temporal-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.temporal-day-header {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    padding-bottom: 8px;
}

/* Calendar Days */
.temporal-day {
    text-align: center;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    border: 1px solid transparent;
    color: #334155;
}

.temporal-day:not(.empty):not(.disabled):hover {
    background: #e2e8f0;
}

.temporal-day.empty {
    cursor: default;
}

/* Selected, Today, and Disabled states */
.temporal-day.today {
    border-color: #3b82f6;
    color: #3b82f6;
    font-weight: bold;
}

.temporal-day.selected {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.temporal-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    text-decoration: line-through;
}