.date-picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.date-picker-field {
    position: relative;
}

.date-picker-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 240px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 5;
}

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

.date-year-input {
    width: 96px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 6px;
}

.date-year-nav {
    border: none;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.date-month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.date-month-btn {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    border-radius: 8px;
    padding: 8px 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.date-month-btn:hover {
    border-color: #4F46E5;
    color: #4F46E5;
}

.date-month-btn.active {
    background: #4F46E5;
    border-color: #4F46E5;
    color: #ffffff;
}

.date-picker-input {
    padding-right: 2.5rem;
    background-color: #ffffff;
}

.date-picker-trigger {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 6px;
    cursor: pointer;
}

.date-picker-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    border-radius: 6px;
}

.date-picker-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
}

.date-picker-input::-webkit-inner-spin-button {
    display: none;
}
