/* ============================================================ */
/* ============ Websar Online Booking - Frontend ============ */
/* نسخه: 2.1.0 - گروه وبسار */
/* ============================================================ */

:root {
    --wob-primary: #50b738;
    --wob-primary-dark: #3da52b;
    --wob-primary-light: #e8f8e8;
    --wob-danger: #f44336;
    --wob-warning: #ff9800;
    --wob-info: #2196f3;
    --wob-text: #1a2a3a;
    --wob-text-muted: #7a8a9a;
    --wob-text-mid: #4b5563;
    --wob-border: #e0e6ed;
    --wob-bg-light: #f8f9fa;
    --wob-green-50:  #f0fdf4;
    --wob-green-100: #dcfce7;
    --wob-green-500: #50b738;
    --wob-green-700: #2e7d32;
}

/* ==================== پایه ==================== */
.wob-wrapper {
    max-width: 700px;
    margin: 30px auto;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    direction: rtl;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}
.wob-wrapper * { box-sizing: border-box; }

/* ==================== هدر کسب‌وکار ==================== */
.wob-business-header {
    text-align: center;
    padding: 20px 20px 0;
}
.wob-business-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}
.wob-business-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--wob-text);
    margin-bottom: 20px;
}

/* ==================== پیام‌ها ==================== */
.wob-notice {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid;
}
.wob-notice-success { background: var(--wob-primary-light); color: #2e7d32; border-color: var(--wob-primary); }
.wob-notice-error   { background: #fdecea; color: #c62828; border-color: var(--wob-danger); }

/* ==================== نوار پیشرفت ==================== */
.wob-progress {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
    padding: 25px 30px 20px;
    position: relative;
}
.wob-progress::before {
    content: '';
    position: absolute;
    top: 43px;
    right: 12%;
    left: 12%;
    height: 3px;
    background: #dde3e8;
    z-index: 0;
}
.wob-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}
.wob-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #dde3e8;
    color: #9aa8b5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}
.wob-step-item.active .wob-step-circle {
    background: var(--wob-primary);
    border-color: var(--wob-primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(80,183,56,0.15);
    transform: scale(1.05);
}
.wob-step-item span {
    font-size: 12px;
    color: #6b7a8a;
    margin-top: 8px;
    font-weight: 600;
}
.wob-step-item.active span { color: var(--wob-primary); }

/* ==================== مراحل ==================== */
.wob-step {
    display: none;
    padding: 30px 35px 35px;
    animation: wobFadeIn 0.35s ease;
}
.wob-step.active { display: block; }

@keyframes wobFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wob-title {
    font-size: 22px;
    color: var(--wob-text);
    margin: 0 0 8px;
    font-weight: 700;
}
.wob-subtitle {
    font-size: 14px;
    color: var(--wob-text-muted);
    margin: 0 0 25px;
    line-height: 1.7;
}

/* ==================== فرم ==================== */
.wob-form-group { margin-bottom: 20px; }
.wob-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2a3a4a;
    margin-bottom: 8px;
}
.wob-form-group .required { color: var(--wob-danger); }
.wob-form-group input[type="text"],
.wob-form-group input[type="tel"],
.wob-form-group input[type="email"],
.wob-form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--wob-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--wob-text);
    background: #fff;
    transition: all 0.25s;
}
.wob-form-group input:focus,
.wob-form-group select:focus {
    outline: none;
    border-color: var(--wob-primary);
    box-shadow: 0 0 0 4px rgba(80,183,56,0.1);
}
.wob-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
}
.wob-hint {
    display: block;
    font-size: 12px;
    color: #8a9aaa;
    margin-top: 5px;
}

/* ==================== نمایش شیفت‌های متخصص ==================== */
.wob-doctor-shifts-preview {
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f8fbf8 0%, #ffffff 100%);
    border: 2px solid #d5eed5;
    border-radius: 12px;
    animation: wobFadeIn 0.4s ease;
}
.wob-shifts-preview-title {
    font-size: 14px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wob-shifts-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.wob-shift-preview-item {
    background: #fff;
    border: 1px solid #d5eed5;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}
.wob-shift-preview-day {
    font-size: 13px;
    font-weight: 700;
    color: var(--wob-primary);
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e0e6ed;
}
.wob-shift-preview-times {
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #2a3a4a;
    line-height: 1.9;
    direction: ltr;
    text-align: center;
    letter-spacing: 1.5px;
    font-variant-numeric: tabular-nums;
    unicode-bidi: embed;
}

/* ==================== اسلات‌های زمانی ==================== */
.wob-slots-container { margin: 25px 0; }
.wob-slots-container > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2a3a4a;
    margin-bottom: 12px;
}
.wob-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
.wob-slot {
    padding: 11px 8px;
    border: 2px solid var(--wob-border);
    border-radius: 10px;
    background: #fff;
    color: #2a3a4a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.wob-slot:hover:not(.disabled) {
    border-color: var(--wob-primary);
    background: #f0fbf0;
}
.wob-slot.selected {
    background: var(--wob-primary);
    border-color: var(--wob-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(80,183,56,0.3);
}
.wob-slot.disabled {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
    text-decoration: line-through;
}
.wob-loading, .wob-error {
    padding: 20px;
    text-align: center;
    color: var(--wob-text-muted);
    font-size: 14px;
}
.wob-error { color: #c62828; }

/* ==================== خلاصه ==================== */
.wob-summary {
    background: #f8fbf8;
    border: 1px solid #d5eed5;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0;
}
.wob-summary h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #2e7d32;
}
.wob-summary p {
    margin: 6px 0;
    font-size: 14px;
    color: #3a4a5a;
}

/* ==================== دکمه‌ها ==================== */
.wob-nav {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eef2f5;
}
.wob-btn {
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.25s;
    flex: 1;
    max-width: 200px;
}
.wob-btn-next,
.wob-btn-primary {
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(80,183,56,0.3);
}
.wob-btn-next:hover:not(:disabled),
.wob-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80,183,56,0.4);
}
.wob-btn-next:disabled,
.wob-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.wob-btn-prev {
    background: #f0f3f7;
    color: #5a6a7a;
    flex: 0 0 auto;
    max-width: 140px;
}
.wob-btn-prev:hover { background: #e3e9f0; }

/* ==================== جعبه مبلغ ==================== */
.wob-amount-box {
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(80,183,56,0.25);
}
.wob-amount-box span { font-size: 15px; opacity: 0.95; }
.wob-amount-box strong { font-size: 22px; }

/* ==================== کارت بانکی ==================== */
.wob-bank-card {
    width: 100%;
    max-width: 400px;
    height: 220px;
    margin: 20px auto;
    background: linear-gradient(135deg, #1a2a4a 0%, #2d1b4e 50%, #4a1d5c 100%);
    border-radius: 18px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26,42,74,0.4);
    font-family: 'Courier New', monospace;
}
.wob-bank-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.wob-bank-card::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(80,183,56,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.wob-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.wob-card-chip {
    width: 45px;
    height: 34px;
    background: linear-gradient(135deg, #f5d76e 0%, #d4af37 100%);
    border-radius: 6px;
    position: relative;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}
.wob-card-chip::before {
    content: '';
    position: absolute;
    top: 8px; left: 6px; right: 6px;
    height: 1px;
    background: rgba(0,0,0,0.25);
    box-shadow: 0 6px 0 rgba(0,0,0,0.25), 0 12px 0 rgba(0,0,0,0.25);
}
.wob-card-logo {
    font-size: 20px;
    font-weight: 700;
    color: #f5d76e;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 0 10px rgba(245,215,110,0.5);
}
.wob-card-number {
    font-size: 22px;
    letter-spacing: 3px;
    direction: ltr;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    word-spacing: 6px;
}
.wob-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    margin-top: 15px;
}
.wob-card-label {
    font-size: 10px;
    opacity: 0.7;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-family: 'Arial', sans-serif;
}
.wob-card-owner {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.wob-copy-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.25s;
    backdrop-filter: blur(10px);
}
.wob-copy-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.wob-copy-btn.copied {
    background: var(--wob-primary);
    border-color: var(--wob-primary);
}

/* ==================== هشدار ==================== */
.wob-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.8;
    margin: 20px 0;
    border-right: 4px solid;
}
.wob-alert-info {
    background: #e8f4fd;
    border-color: var(--wob-info);
    color: #0d47a1;
}
.wob-alert-error {
    background: #fdecea;
    border-color: var(--wob-danger);
    color: #c62828;
}

/* ==================== آپلود ==================== */
.wob-upload-area {
    border: 2px dashed #b8c8d8;
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    background: #fafcfe;
}
.wob-upload-area:hover,
.wob-upload-area.wob-drag-over {
    border-color: var(--wob-primary);
    background: #f0fbf0;
}
.wob-upload-area.wob-drag-over {
    border-style: solid;
    box-shadow: 0 0 0 5px rgba(80,183,56,0.15);
}
.wob-upload-content svg { margin-bottom: 10px; transition: transform 0.25s; }
.wob-upload-area:hover .wob-upload-content svg { transform: scale(1.1); }
.wob-upload-content p {
    margin: 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: #3a4a5a;
}
.wob-upload-content small {
    font-size: 12px;
    color: #8a9aaa;
}
.wob-file-preview {
    margin-top: 15px;
    padding: 12px;
    background: #f8fbf8;
    border: 1px solid #d5eed5;
    border-radius: 10px;
    text-align: center;
}
.wob-file-preview-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.wob-file-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.wob-file-preview p {
    margin: 0;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
    word-break: break-all;
}
.wob-file-preview small {
    font-size: 12px;
    color: #7a8a9a;
}
.wob-remove-file {
    margin-top: 8px;
    padding: 6px 14px;
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f44336;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.wob-remove-file:hover {
    background: #f44336;
    color: #fff;
}

/* ============================================================
 * ⚡ پرداخت آنلاین (زرین‌پال / زیبال)
 * ============================================================ */
.wob-online-payment-box {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5faff 100%);
    border-radius: 16px;
    border: 2px solid #bfdbfe;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}
.wob-online-payment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.wob-online-payment-icon {
    font-size: 56px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    animation: wobFloat 3s ease-in-out infinite;
}
@keyframes wobFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.wob-online-payment-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #1e40af;
    font-weight: 800;
    position: relative;
    z-index: 1;
}
.wob-online-payment-box p {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}
.wob-online-payment-box strong {
    color: #1e40af;
    font-weight: 800;
}
.wob-online-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.wob-online-feature {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 6px rgba(59,130,246,0.08);
}

/* ============================================================
 * ⚡ پرداخت حضوری
 * ============================================================ */
.wob-inperson-payment-box {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, #faf5ff 0%, #f5f0ff 100%);
    border-radius: 16px;
    border: 2px solid #e9d5ff;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}
.wob-inperson-payment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.wob-inperson-payment-icon {
    font-size: 56px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    animation: wobFloat 3s ease-in-out infinite;
}
.wob-inperson-payment-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #6b21a8;
    font-weight: 800;
    position: relative;
    z-index: 1;
}
.wob-inperson-payment-box p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}
.wob-inperson-payment-box strong {
    color: #6b21a8;
    font-size: 18px;
    font-weight: 800;
}
.wob-inperson-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 10px;
    font-size: 13px;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

/* ==================== موفقیت ==================== */
.wob-success-step {
    text-align: center;
    padding: 50px 35px !important;
}
.wob-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
    font-size: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(80,183,56,0.4);
    animation: wobPulse 1.5s infinite;
}
@keyframes wobPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(80,183,56,0.4); }
    50%      { transform: scale(1.05); box-shadow: 0 15px 40px rgba(80,183,56,0.6); }
}
.wob-success-step h2 {
    color: #2e7d32;
    font-size: 24px;
    margin: 0 0 12px;
}
.wob-success-step p {
    color: #5a6a7a;
    font-size: 15px;
    line-height: 1.8;
}
.wob-success-details {
    background: #f8fbf8;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: right;
}
.wob-success-details p {
    margin: 8px 0;
    color: #2a3a4a;
}

/* ============================================================ */
/* ============ مشاهده نوبت‌ها (lookup) ============ */
/* ============================================================ */

.wob-lookup-wrapper {
    max-width: 900px;
    margin: 30px auto;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    direction: rtl;
}

.wob-lookup-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid var(--wob-primary-light);
}

.wob-lookup-header {
    text-align: center;
    margin-bottom: 25px;
}
.wob-lookup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--wob-primary-light) 0%, #c8ecc8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wob-primary);
}
.wob-lookup-header h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--wob-text);
    font-weight: 700;
}
.wob-lookup-header p {
    margin: 0;
    font-size: 14px;
    color: var(--wob-text-muted);
    line-height: 1.7;
}

.wob-lookup-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
}
.wob-lookup-message.wob-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}
.wob-lookup-message.wob-success {
    background: var(--wob-primary-light);
    color: #2e7d32;
    border: 1px solid #c3e6cb;
}

.wob-lookup-field { margin-bottom: 18px; }
.wob-lookup-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2a3a4a;
    margin-bottom: 8px;
}
.wob-lookup-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--wob-border);
    border-radius: 12px;
    padding: 0 14px;
    transition: all 0.25s;
    background: #fff;
}
.wob-lookup-input-wrapper:focus-within {
    border-color: var(--wob-primary);
    box-shadow: 0 0 0 4px rgba(80,183,56,0.1);
}
.wob-lookup-prefix {
    font-size: 20px;
    margin-left: 10px;
    opacity: 0.6;
    flex-shrink: 0;
}
.wob-lookup-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: left;
    background: transparent;
    color: var(--wob-text);
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 0;
}

.wob-lookup-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(80,183,56,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wob-lookup-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80,183,56,0.4);
}
.wob-lookup-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==================== نتایج ==================== */
.wob-lookup-results {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid var(--wob-primary-light);
    animation: wobFadeIn 0.4s ease;
}
.wob-lookup-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f3f7;
    flex-wrap: wrap;
    gap: 10px;
}
.wob-lookup-results-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--wob-text);
    font-weight: 700;
}
.wob-lookup-new-search {
    padding: 8px 16px;
    background: #f0f3f7;
    color: #5a6a7a;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.wob-lookup-new-search:hover {
    background: var(--wob-primary);
    color: #fff;
}

.wob-lookup-count p {
    margin: 0 0 15px;
    padding: 12px 16px;
    background: var(--wob-primary-light);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #2e7d32;
    font-size: 14px;
}

/* ==================== کارت‌های نوبت ==================== */
.wob-bookings-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.wob-booking-card {
    background: #fff;
    border: 1px solid var(--wob-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s;
    border-right: 5px solid #ccc;
}
.wob-booking-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.wob-booking-card.wob-status-awaiting_payment { border-right-color: var(--wob-warning); }
.wob-booking-card.wob-status-pending          { border-right-color: var(--wob-info); }
.wob-booking-card.wob-status-confirmed        { border-right-color: var(--wob-primary); }
.wob-booking-card.wob-status-rejected         { border-right-color: var(--wob-danger); opacity: 0.85; }
.wob-booking-card.wob-status-cancelled        { border-right-color: #999; opacity: 0.7; }
.wob-booking-card.wob-status-cancelled .wob-booking-card-body { text-decoration: line-through; }

.wob-booking-card-header {
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f3f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wob-booking-card-id {
    font-size: 14px;
    font-weight: 800;
    color: var(--wob-text);
}
.wob-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.wob-badge-warning { background: #fff3cd; color: #856404; }
.wob-badge-info    { background: #d1ecf1; color: #0c5460; }
.wob-badge-success { background: #d4edda; color: #155724; }
.wob-badge-danger  { background: #f8d7da; color: #721c24; }
.wob-badge-default { background: #e2e3e5; color: #383d41; }

.wob-booking-card-body {
    padding: 16px;
}
.wob-booking-card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px dashed #f0f3f7;
}
.wob-booking-card-row:last-child { border-bottom: none; }
.wob-booking-card-row .label {
    color: var(--wob-text-muted);
    font-weight: 600;
}
.wob-booking-card-row .value {
    color: #2a3a4a;
    font-weight: 700;
}
.wob-booking-card-row .wob-price { color: #2e7d32; }

.wob-booking-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    border-top: 1px dashed #f0f3f7;
    font-size: 13px;
    color: #5a6a7a;
}
.wob-booking-card-rating .star {
    color: #ddd;
    font-size: 16px;
}
.wob-booking-card-rating .star.filled { color: #ffc107; }

.wob-booking-card-actions {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #f0f3f7;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wob-booking-card-actions button {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.wob-btn-cancel-booking {
    background: #fdecea;
    color: #c62828;
}
.wob-btn-cancel-booking:hover {
    background: var(--wob-danger);
    color: #fff;
    transform: translateY(-1px);
}
.wob-btn-survey-booking {
    background: #fff8e1;
    color: #f57c00;
}
.wob-btn-survey-booking:hover {
    background: #ffc107;
    color: #fff;
    transform: translateY(-1px);
}

/* ==================== یادداشت کلینیک ==================== */
.wob-user-note {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff8e1 0%, #fffdf5 100%);
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    text-align: right;
}
.wob-user-note-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.wob-user-note-content { flex: 1; min-width: 0; }
.wob-user-note-content strong {
    display: block;
    font-size: 12px;
    color: #856404;
    margin-bottom: 4px;
    font-weight: 700;
}
.wob-user-note-content p {
    margin: 0;
    font-size: 13px;
    color: #5a4a00;
    line-height: 1.6;
    word-break: break-word;
}

/* ==================== دکمه رزرو جدید ==================== */
.wob-bookings-footer {
    margin-top: 20px;
    text-align: center;
}
.wob-bookings-footer a {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(80,183,56,0.3);
}
.wob-bookings-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(80,183,56,0.4);
    color: #fff;
}

/* ============================================================ */
/* ============ نظرسنجی (Modal) ============ */
/* ============================================================ */

.wob-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: wobFadeIn 0.2s ease;
}
.wob-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    direction: rtl;
    animation: wobSlideUp 0.3s ease;
}
@keyframes wobSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.wob-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.wob-modal-close:hover { background: #fdecea; color: var(--wob-danger); }

.wob-survey-info {
    background: #f0fbf0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 13px;
}
.wob-survey-info p { margin: 4px 0; color: #2e7d32; }
.wob-survey-info strong { color: var(--wob-text); font-size: 15px; }

.wob-survey-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-direction: row-reverse;
    direction: ltr;
}
.wob-star {
    font-size: 42px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.wob-star:hover,
.wob-star.active {
    color: #ffc107;
    transform: scale(1.1);
}
.wob-star.active { text-shadow: 0 0 15px rgba(255,193,7,0.6); }

.wob-survey-comment {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--wob-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 15px;
    direction: rtl;
}
.wob-survey-comment:focus {
    outline: none;
    border-color: var(--wob-primary);
    box-shadow: 0 0 0 4px rgba(80,183,56,0.1);
}

.wob-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.wob-modal-actions .button {
    padding: 12px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    min-width: 120px;
    transition: all 0.2s;
}
.wob-modal-actions .button-primary {
    background: linear-gradient(135deg, var(--wob-primary) 0%, var(--wob-primary-dark) 100%);
    color: #fff;
}
.wob-modal-actions .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80,183,56,0.3);
}
.wob-modal-actions .wob-modal-cancel {
    background: #f0f3f7;
    color: #5a6a7a;
}
.wob-modal-actions .wob-modal-cancel:hover { background: #e3e9f0; }

/* ============================================================ */
/* ============ Responsive ============ */
/* ============================================================ */

@media (max-width: 600px) {
    .wob-wrapper { margin: 10px; border-radius: 12px; }
    .wob-step { padding: 20px 18px 25px; }
    .wob-progress { padding: 18px 12px 15px; }
    .wob-progress::before { top: 36px; right: 18%; left: 18%; }
    .wob-step-circle { width: 34px; height: 34px; font-size: 14px; }
    .wob-step-item span { font-size: 10px; }
    .wob-title { font-size: 18px; }
    .wob-business-name { font-size: 18px; }
    .wob-business-icon { font-size: 40px; }
    
    .wob-nav { flex-direction: column-reverse; }
    .wob-btn { max-width: none; width: 100%; }
    .wob-btn-prev { max-width: none; }
    
    .wob-bank-card { height: 190px; padding: 18px; }
    .wob-card-number { font-size: 17px; letter-spacing: 2px; }
    
    .wob-slots { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); }
    .wob-slot { padding: 9px 5px; font-size: 13px; }
    
    .wob-shifts-preview-grid { grid-template-columns: repeat(2, 1fr); }
    
    .wob-bookings-cards { grid-template-columns: 1fr; }
    
    .wob-lookup-form-box,
    .wob-lookup-results { padding: 20px 15px; border-radius: 12px; }
    
    .wob-modal-content { padding: 24px 20px; max-width: 95%; }
    .wob-modal-actions { flex-direction: column; }
    .wob-modal-actions .button { width: 100%; }
    .wob-star { font-size: 34px; }
    
    .wob-online-payment-box,
    .wob-inperson-payment-box { padding: 28px 18px; }
    .wob-online-payment-icon,
    .wob-inperson-payment-icon { font-size: 44px; }
    .wob-online-features { flex-direction: column; align-items: center; }
}

/* ============================================================
 * ⚡ ۵ استایل کارت بانکی
 * ============================================================ */

.wob-bank-card-style-1 {
    background: linear-gradient(135deg, #1e4620 0%, #2d7a35 50%, #50b738 100%);
}
.wob-bank-card-style-1::after {
    background: radial-gradient(circle, rgba(80,183,56,0.25) 0%, transparent 70%);
}

.wob-bank-card-style-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.wob-bank-card-style-2::after {
    background: radial-gradient(circle, rgba(118,75,162,0.3) 0%, transparent 70%);
}

.wob-bank-card-style-3 {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #ffd700 100%);
    color: #3a2a00;
}
.wob-bank-card-style-3 .wob-card-chip {
    background: linear-gradient(135deg, #8b6914 0%, #654321 100%);
}
.wob-bank-card-style-3 .wob-card-logo {
    color: #654321;
    text-shadow: 0 0 10px rgba(101,67,33,0.3);
}
.wob-bank-card-style-3::after {
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
}
.wob-bank-card-style-3 .wob-copy-btn {
    background: rgba(58,42,0,0.15);
    border-color: rgba(58,42,0,0.3);
    color: #3a2a00;
}
.wob-bank-card-style-3 .wob-copy-btn:hover {
    background: rgba(58,42,0,0.25);
}

.wob-bank-card-style-4 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
}
.wob-bank-card-style-4::after {
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
}

.wob-bank-card-style-5 {
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #f59e0b 100%);
}
.wob-bank-card-style-5::after {
    background: radial-gradient(circle, rgba(245,158,11,0.3) 0%, transparent 70%);
}

/* ============================================================
 * ⚡ کارت آدرس دفتر و مسیریابی
 * ============================================================ */
.wob-office-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f5faff 100%);
    border: 2px solid #bfdbfe;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 22px 0;
    position: relative;
    overflow: hidden;
}
.wob-office-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.wob-office-card-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #f5fff5 100%);
    border-color: #86efac;
    margin-top: 24px;
}
.wob-office-card-success::before {
    background: radial-gradient(circle, rgba(80,183,56,0.08) 0%, transparent 70%);
}

.wob-office-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.wob-office-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}
.wob-office-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1e40af;
}
.wob-office-card-success .wob-office-header h3 {
    color: var(--wob-green-700);
}

.wob-office-address {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.9;
    color: #1e293b;
    padding: 14px 16px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    border-right: 4px solid #3b82f6;
}
.wob-office-card-success .wob-office-address {
    border-right-color: var(--wob-green-500);
}

.wob-nav-apps {
    position: relative;
    z-index: 1;
}
.wob-nav-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--wob-text-mid);
    margin-bottom: 12px;
}
.wob-nav-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (max-width: 480px) {
    .wob-nav-buttons {
        grid-template-columns: 1fr;
    }
}

.wob-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
}
.wob-nav-btn-icon {
    font-size: 24px;
    line-height: 1;
}
.wob-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.wob-nav-balad {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}
.wob-nav-balad:hover {
    box-shadow: 0 8px 20px rgba(34,197,94,0.35);
}

.wob-nav-neshan {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #fff;
}
.wob-nav-neshan:hover {
    box-shadow: 0 8px 20px rgba(244,63,94,0.35);
}

.wob-nav-google {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}
.wob-nav-google:hover {
    box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}

/* ============================================================
 * ⚡ آیکون‌های PNG مسیریابی
 * ============================================================ */
.wob-nav-btn-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    transition: transform 0.25s ease;
    /* اگه PNGها پس‌زمینه شفاف ندارن، این خط کمک می‌کنه */
    background: #fff;
    padding: 4px;
}

.wob-nav-btn:hover .wob-nav-btn-img {
    transform: scale(1.08);
}

/* در موبایل کوچک‌تر */
@media (max-width: 480px) {
    .wob-nav-btn-img {
        width: 36px;
        height: 36px;
    }
}

/* ============================================================
 * ⚡ آیکون‌های PNG مسیریابی
 * ============================================================ */
.wob-nav-btn-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    transition: transform 0.25s ease;
    background: #fff;
    padding: 4px;
}

.wob-nav-btn:hover .wob-nav-btn-img {
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .wob-nav-btn-img {
        width: 36px;
        height: 36px;
    }
}

/* ============================================================
 * ⚡ توضیحات مراحل
 * ============================================================ */
.wob-step-note {
    background: linear-gradient(135deg, #eff6ff 0%, #f5faff 100%);
    border-right: 4px solid #3b82f6;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.8;
    color: #1e40af;
    font-weight: 600;
}

.wob-success-step .wob-step-note {
    background: linear-gradient(135deg, #f0fdf4 0%, #f5fff5 100%);
    border-right-color: #50b738;
    color: #2e7d32;
}

/* ============================================================
 * ⚡ فیلد شرح حال (Intake Note)
 * ============================================================ */
.wob-form-group textarea,
.wob-intake-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--wob-border);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    color: var(--wob-text);
    background: #fff;
    transition: all 0.25s;
    resize: vertical;
    min-height: 90px;
    line-height: 1.8;
    box-sizing: border-box;
    direction: rtl;
}
.wob-form-group textarea:focus,
.wob-intake-textarea:focus {
    outline: none;
    border-color: var(--wob-primary);
    box-shadow: 0 0 0 4px rgba(80,183,56,0.1);
    background: #fafffa;
}
.wob-form-group textarea::placeholder {
    color: #a8b4c2;
}
.wob-intake-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2a3a4a;
    margin-bottom: 8px;
}
.wob-intake-group .wob-hint {
    display: block;
    font-size: 12px;
    color: #8a9aaa;
    margin-top: 6px;
}
.wob-intake-group[data-required="1"] .wob-hint {
    color: #f57c00;
    font-weight: 600;
}