﻿.pdp-popup {
    position: absolute;
    display: none;
    z-index: 3000;
    width: 280px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 12px;
    direction: rtl;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(24, 34, 30, 0.18);
    color: var(--text-dark);
}

    .pdp-popup.pdp-open {
        display: block;
    }

.pdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--green-primary);
}

.pdp-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--green-primary);
    font-size: 18px;
    cursor: pointer;
    transition: background .12s, color .12s;
}

    .pdp-nav:hover {
        background: var(--cream);
        color: var(--gold);
    }

.pdp-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: var(--radius);
    transition: background .12s, color .12s;
}

    .pdp-title:hover {
        background: var(--cream);
        color: var(--gold);
    }

.pdp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 5px;
}

.pdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.pdp-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    text-align: center;
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 13px;
    cursor: pointer;
    transition: background .1s, color .1s, transform .08s;
}

    .pdp-day:hover {
        background: var(--cream);
        color: var(--green-primary);
    }

    .pdp-day:active {
        transform: scale(.94);
    }

    .pdp-day.pdp-selected {
        background: var(--green-primary);
        color: var(--gold);
        font-weight: 700;
    }

    .pdp-day.pdp-empty {
        cursor: default;
    }

.pdp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.pdp-cell {
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius);
    color: var(--text-dark);
    background: transparent;
    font-size: 13px;
    cursor: pointer;
    transition: background .1s, color .1s, transform .08s;
}

    .pdp-cell:hover {
        background: var(--cream);
        color: var(--green-primary);
    }

    .pdp-cell:active {
        transform: scale(.96);
    }

    .pdp-cell.pdp-selected {
        background: var(--green-primary);
        color: var(--gold);
        font-weight: 700;
    }

.pdp-grid + .pdp-grid {
    margin-top: 6px;
}

.pdp-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid #eee;
    direction: ltr;
}

.pdp-time-input {
    width: 48px;
    height: 34px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

    .pdp-time-input::-webkit-inner-spin-button,
    .pdp-time-input::-webkit-outer-spin-button {
        opacity: 1;
    }

.pdp-time-row {
    display: flex;
}

.pdp-time-now {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.pdp-confirm {
    width: calc(100% - 20px);
    height: 36px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: var(--gold);
}
