/* بهبود نمایش چرخ تاریخ شمسی — دسکتاپ و موبایل */

.persian-date-picker {
    cursor: pointer;
    background-color: #fff;
    text-align: center;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.persian-date-picker:focus {
    border-color: #071BB0;
    box-shadow: 0 0 0 0.2rem rgba(7, 27, 176, 0.15);
}

.sp-ios-jw-hint {
    margin: 0 16px 8px;
    padding: 8px 10px;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    background: #f8fafc;
    border-radius: 8px;
    line-height: 1.5;
}

.sp-ios-jw-cols-header {
    display: flex;
    flex-direction: row;
    direction: ltr;
    margin: 0 8px 6px;
    gap: 4px;
}

.sp-ios-jw-cols-header span {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    padding: 6px 4px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
}

.sp-ios-jw-cols-header span.sp-ios-jw-col-label-active {
    color: #071BB0;
    background: rgba(7, 27, 176, 0.08);
    box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.55);
}

.sp-ios-jw-frame {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, #fff 18%, #fff 82%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 12px;
}

.sp-ios-jw-frame::before,
.sp-ios-jw-frame::after {
    height: 2px;
    background: linear-gradient(90deg, #071BB0, #FF6B35);
    left: 12px;
    right: 12px;
}

.sp-ios-jw-col {
    border-radius: 10px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    cursor: ns-resize;
}

.sp-ios-jw-col.sp-ios-jw-col-active {
    background: rgba(7, 27, 176, 0.06);
    box-shadow: inset 0 0 0 2px rgba(7, 27, 176, 0.22);
}

.sp-ios-jw-item.sp-ios-jw-item-center {
    color: #071BB0;
    font-size: 1.2rem;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sp-ios-jw-item.sp-ios-jw-item-near {
    color: #475569;
    font-size: 1.02rem;
}

@media (min-width: 768px) {
    .sp-ios-jw-dialog {
        max-width: 400px;
    }

    .sp-ios-jw-frame {
        height: 240px;
    }

    .sp-ios-jw-col:hover {
        background: rgba(255, 107, 53, 0.05);
    }
}
