.cf7-material-datetime {
    position: relative;
    width: 100%;
}

.cf7-material-datetime-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #c4c7c5;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    color: #1f1f1f;
    cursor: pointer;
    transition: all .2s ease;
    box-sizing: border-box;
}

.cf7-material-datetime-input:hover {
    border-color: #6750a4;
}

.cf7-material-datetime-input:focus {
    outline: none;
    border-color: #6750a4;
    box-shadow: 0 0 0 3px rgba(103, 80, 164, .15);
}

/* Popup */

.cf7-picker-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    z-index: 99999;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, .08),
        0 12px 24px rgba(0, 0, 0, .12);
}

/* Header */

.cf7-picker-header {
    background: #085491;
    color: #fff;
    padding: 16px;
}

.cf7-picker-title {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 8px;
}

.cf7-picker-date {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

/* Month Year Row */

.cf7-picker-month-year {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.cf7-picker-month,
.cf7-picker-year {
    flex: 1;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    color: #fff;
    padding: 0 10px;
    font-size: 12px;
    cursor: pointer;
}

.cf7-picker-month:focus,
.cf7-picker-year:focus {
    outline: none;
    background: rgba(255,255,255,.25);
}

.cf7-picker-month option,
.cf7-picker-year option {
    color: #222;
}

/* Calendar */

.cf7-picker-calendar {
    padding: 12px;
}

.cf7-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    justify-items: center;
}

/* Day Button */

.cf7-day {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #1f1f1f;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s ease;
}

.cf7-day:hover {
    background: rgba(103,80,164,.12);
}

.cf7-day.active {
    background: #085491;
    color: #fff;
    font-weight: 600;
}

.cf7-day.active:hover {
    background: #5a4495;
}

/* Time Section */

.cf7-time-select {
    padding: 0 12px 12px;
}

.cf7-time {
    width: 100%;
    height: 40px;
    border: 1px solid #c4c7c5;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
}

.cf7-time:focus {
    outline: none;
    border-color: #6750a4;
    box-shadow: 0 0 0 3px rgba(103,80,164,.15);
}

/* Scrollbar */

.cf7-picker-popup ::-webkit-scrollbar {
    width: 6px;
}

.cf7-picker-popup ::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 20px;
}

/* Mobile */

@media (max-width: 480px) {

    .cf7-picker-popup {
        width: 300px;
        max-width: calc(100vw - 20px);
    }

    .cf7-picker-header {
        padding: 14px;
    }

    .cf7-picker-date {
        font-size: 16px;
    }

    .cf7-day {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}