.cdp-source-input {
    display: none !important;
}

.cdp-field {
    position: relative;
    display: block;
    width: 100%;
}

.cdp-proxy-input {
    padding-right: 3rem !important;
}

.cdp-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgb(100 116 139);
    transform: translateY(-50%);
    cursor: pointer;
}

.cdp-toggle:hover {
    color: rgb(37 99 235);
}

.cdp-panel {
    position: fixed;
    z-index: 1200;
    width: min(20rem, calc(100vw - 1.5rem));
    border: 1px solid rgb(226 232 240);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    padding: 1rem;
}

.cdp-panel[hidden] {
    display: none !important;
}

.cdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.cdp-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 999px;
    background: white;
    color: rgb(30 41 59);
    cursor: pointer;
    transition: all 0.16s ease;
}

.cdp-nav:hover {
    border-color: rgb(147 197 253);
    color: rgb(37 99 235);
    background: rgb(239 246 255);
}

.cdp-month-label {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(15 23 42);
}

.cdp-weekdays,
.cdp-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.3rem;
}

.cdp-weekdays {
    margin-bottom: 0.45rem;
}

.cdp-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgb(100 116 139);
    padding: 0.35rem 0;
}

.cdp-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: rgb(30 41 59);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.16s ease;
}

.cdp-day:hover {
    background: rgb(239 246 255);
    color: rgb(37 99 235);
}

.cdp-day.is-muted {
    color: rgb(148 163 184);
}

.cdp-day.is-today {
    box-shadow: inset 0 0 0 1px rgb(96 165 250);
}

.cdp-day.is-selected {
    background: rgb(37 99 235);
    color: white;
    font-weight: 700;
}

.cdp-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.cdp-footer-button {
    flex: 1;
    border: 1px solid rgb(226 232 240);
    border-radius: 0.8rem;
    background: white;
    color: rgb(51 65 85);
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}

.cdp-footer-button:hover {
    border-color: rgb(147 197 253);
    color: rgb(37 99 235);
    background: rgb(239 246 255);
}
