/* ── EdNet® Homez™ Sleek Date Picker ── */
.edh-dp-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.edh-dp-trigger {
    width: 100%;
    padding: 13px 16px 13px 42px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    letter-spacing: 0.02em;
}
.edh-dp-trigger:focus, .edh-dp-trigger.open {
    border-color: rgba(212,175,55,0.6);
    background: rgba(0,0,0,0.85);
}
.edh-dp-trigger.empty { color: rgba(255,255,255,0.28); }
.edh-dp-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.38);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}
.edh-dp-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: rgba(255,255,255,0.28);
    font-size: 0.7rem;
    pointer-events: none;
    transition: transform 0.22s;
}
.edh-dp-trigger.open .edh-dp-chevron { transform: translateY(-50%) rotate(180deg); }

/* Dropdown panel */
.edh-dp-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 9999;
    background: rgba(8,15,30,0.98);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    padding: 16px 14px 14px;
    min-width: 280px;
    max-width: 320px;
    width: max-content;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    gap: 12px;
}
.edh-dp-panel.open { display: flex; }

/* Month/Year header */
.edh-dp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}
.edh-dp-nav {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.edh-dp-nav:hover { background: rgba(255,255,255,0.08); color: #fff; }
.edh-dp-month-year {
    flex: 1;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.edh-dp-sel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 8px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s;
}
.edh-dp-sel:focus { border-color: rgba(212,175,55,0.5); }
.edh-dp-sel option { background: #0a0f1e; color: #fff; }

/* Day grid */
.edh-dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.edh-dp-dow {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    text-align: center;
    padding: 4px 0;
}
.edh-dp-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    color: rgba(255,255,255,0.75);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    border: 1px solid transparent;
}
.edh-dp-day:hover { background: rgba(255,255,255,0.1); color: #fff; }
.edh-dp-day.today { border-color: rgba(212,175,55,0.4); color: #d4af37; font-weight: 600; }
.edh-dp-day.selected {
    background: #d4af37;
    color: #000;
    font-weight: 700;
    border-color: transparent;
}
.edh-dp-day.selected:hover { background: #c9a228; }
.edh-dp-day.other-month { color: rgba(255,255,255,0.2); }
.edh-dp-day.disabled { opacity: 0.2; cursor: default; pointer-events: none; }

/* Quick clear */
.edh-dp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.edh-dp-today-btn, .edh-dp-clear-btn {
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 5px;
    transition: background 0.15s;
}
.edh-dp-today-btn { color: #d4af37; }
.edh-dp-today-btn:hover { background: rgba(212,175,55,0.1); }
.edh-dp-clear-btn { color: rgba(255,255,255,0.35); }
.edh-dp-clear-btn:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); }

/* Responsive — always visible on small screens */
@media (max-width: 480px) {
    .edh-dp-panel {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        top: auto;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        border-radius: 18px 18px 0 0;
        padding: 20px 18px 28px;
        border-bottom: none;
    }
}
