/**
 * Persian Date Picker - Styles
 */

.pdp-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 260px;
    overflow: hidden;
    direction: rtl;
    font-family: "Vazirmatn", 'Segoe UI', Tahoma, sans-serif;
    z-index: 10000;
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
}

.pdp-header {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    gap: 6px;
}

.pdp-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.pdp-btn:hover {
    background: rgba(255,255,255,0.3);
}

.pdp-title {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.pdp-sel {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    min-width: 50px;
}

.pdp-sel option {
    background: #3b82f6;
    color: #fff;
}

.pdp-body {
    padding: 8px;
}

.pdp-wd {
    display: flex;
    margin-bottom: 4px;
}

.pdp-wd > div {
    flex: 1;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    padding: 4px 0;
}

.pdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.pdp-d {
    text-align: center;
    padding: 7px 2px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    color: #334155;
    user-select: none;
}

.pdp-d:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.pdp-d.pdp-today {
    font-weight: 700;
    color: #3b82f6;
    background: #eff6ff;
}

.pdp-d.pdp-cur {
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
}

.pdp-d.pdp-others {
    color: #cbd5e1;
    cursor: default;
}

.pdp-d.pdp-others:hover {
    background: transparent;
    color: #cbd5e1;
}
