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

.pc-date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pc-date-input-wrap .form-control[data-eu-date-display] {
    padding-right: 46px;
}

.pc-date-trigger {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pc-date-trigger:hover,
.pc-date-trigger:focus-visible {
    background: rgba(15, 118, 110, 0.08);
    outline: none;
}

.pc-date-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pc-date-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1200;
    width: min(320px, 100%);
    background: #fff;
    border: 1px solid #dbe3eb;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    padding: 14px;
    display: none;
}

.pc-date-popup.is-open {
    display: block;
}

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

.pc-date-nav {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pc-date-nav:hover,
.pc-date-nav:focus-visible {
    background: rgba(15, 118, 110, 0.14);
    outline: none;
}

.pc-date-month-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102a43;
}

.pc-date-weekdays,
.pc-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.pc-date-weekdays {
    margin-bottom: 6px;
}

.pc-date-weekday {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    padding: 4px 0;
}

.pc-date-day {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 500;
}

.pc-date-day:hover,
.pc-date-day:focus-visible {
    background: rgba(15, 118, 110, 0.12);
    outline: none;
}

.pc-date-day.is-today {
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.35);
}

.pc-date-day.is-selected {
    background: #0f766e;
    color: #fff;
}

.pc-date-day.is-outside {
    color: #94a3b8;
}

.pc-date-day:disabled,
.pc-date-day.is-disabled {
    color: #cbd5e1;
    background: #f8fafc;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .pc-date-popup {
        width: 100%;
    }
}
