/* ═══════════════════════════════════════════════
   Pezeshkio — Public RTL Stylesheet
   Design System & Official Palette Aligned
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

.pzk-wrap {
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Alerts ─────────────────────────────────── */
.pzk-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}
.pzk-alert-success { background: #EAFBF2; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.25); }
.pzk-alert-error   { background: #FFF0F0; color: #5C1F1F; border: 1px solid rgba(214, 69, 69, 0.25); }
.pzk-alert-icon { font-size: 1.2rem; display: flex; align-items: center; }

/* ── Buttons ─────────────────────────────────── */
.pzk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}
.pzk-btn-primary   { background: #1565C0; color: #fff; box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2); }
.pzk-btn-primary:hover { background: #0B2A4A; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 42, 74, 0.25); }
.pzk-btn-secondary { background: #1E8E5A; color: #fff; box-shadow: 0 4px 12px rgba(30, 142, 90, 0.2); }
.pzk-btn-secondary:hover { background: #0F3D2E; color: #fff; transform: translateY(-1px); }
.pzk-btn-ghost  { background: transparent; color: #64748b; border: 1.5px solid #cbd5e1; }
.pzk-btn-ghost:hover { background: #f8fafc; color: #1e293b; border-color: #94a3b8; }
.pzk-btn-warning { background: #D18B0D; color: #fff; }
.pzk-btn-warning:hover { background: #6B4A12; }
.pzk-btn-block  { display: flex; width: 100%; }
.pzk-btn-sm     { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.pzk-btn-link   { background: none; border: none; color: #1565C0; cursor: pointer; font-size: inherit; text-decoration: underline; padding: 0; font-family: inherit; }
.pzk-btn-link:hover { color: #0B2A4A; }
.pzk-btn-icon   { background: none; border: none; cursor: pointer; font-size: 1.2rem; padding: 4px; color: #64748b; }
.pzk-btn-icon:hover { color: #1565C0; }
.pzk-btn-pay    { min-width: 200px; font-size: 0.95rem; }

/* ── Forms ───────────────────────────────────── */
.pzk-form-group { margin-bottom: 18px; }
.pzk-form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pzk-label { display: block; font-weight: 700; margin-bottom: 6px; color: #334155; font-size: 0.85rem; }
.pzk-optional { font-size: 0.78rem; font-weight: 500; color: #94a3b8; margin-right: 4px; }
.pzk-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.pzk-input:focus { outline: none; border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12); }
.pzk-input.pzk-error { border-color: #D64545; }
.pzk-textarea { resize: vertical; min-height: 90px; }
.pzk-textarea-lg { min-height: 130px; }
.pzk-hint { font-size: 0.8rem; color: #64748b; margin: 4px 0 0; }
.pzk-error-msg { background: #FFF0F0; color: #5C1F1F; padding: 10px 14px; border-radius: 10px; margin-top: 12px; font-size: 0.85rem; border: 1px solid rgba(214, 69, 69, 0.2); }
.pzk-field-error { color: #D64545; font-size: 0.8rem; margin-top: 4px; font-weight: 600; }

.pzk-radio-group  { display: flex; flex-wrap: wrap; gap: 12px; }
.pzk-radio-item   { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.pzk-radio-item input { accent-color: #1565C0; }

.pzk-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.pzk-checkbox-label input { accent-color: #1565C0; width: 18px; height: 18px; }

/* ── Auth ────────────────────────────────────── */
.pzk-auth-container { display: flex; justify-content: center; align-items: center; padding: 40px 16px; min-height: 60vh; }
.pzk-auth-card { background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border: 1px solid #e2e8f0; width: 100%; max-width: 420px; }
.pzk-auth-logo { text-align: center; margin-bottom: 20px; color: #1565C0; }
.pzk-logo-icon { width: 56px; height: 56px; }
.pzk-auth-title { font-size: 1.35rem; font-weight: 900; text-align: center; margin: 0 0 8px; color: #0B2A4A; }
.pzk-auth-subtitle { text-align: center; color: #64748b; margin: 0 0 24px; font-size: 0.9rem; font-weight: 500; }
.pzk-otp-sent-msg { background: #EAF4FF; color: #0B2A4A; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 0.85rem; border: 1px solid rgba(21, 101, 192, 0.2); }
.pzk-input-otp { text-align: center; font-size: 1.5rem; letter-spacing: .35em; font-weight: 800; color: #0B2A4A; }

/* ── Hub ─────────────────────────────────────── */
.pzk-hub { padding: 120px 16px 60px; max-width: 1080px; margin: 0 auto; }
.pzk-hub-header { text-align: center; margin-bottom: 48px; }
.pzk-hub-title  { font-size: 2.2rem; font-weight: 900; margin: 0 0 12px; color: #0B2A4A; letter-spacing: -0.02em; }
.pzk-hub-subtitle { color: #64748b; font-size: 1.1rem; margin: 0 0 28px; font-weight: 500; }

.pzk-user-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.pzk-user-bar span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}
.pzk-user-bar .pzk-btn-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1565C0;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
}
.pzk-user-bar .pzk-btn-link:hover {
    color: #0B2A4A;
}
.pzk-user-bar button#pzkLogout {
    color: #D64545;
}
.pzk-user-bar button#pzkLogout:hover {
    color: #5C1F1F;
}

.pzk-hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.pzk-service-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pzk-service-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); 
    border-color: rgba(21, 101, 192, 0.3);
}
.pzk-service-medical:hover   { border-color: rgba(21, 101, 192, 0.3); }
.pzk-service-psychology:hover { border-color: rgba(30, 142, 90, 0.3); }

.pzk-service-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pzk-service-medical .pzk-service-icon { background: #EAF4FF; color: #1565C0; font-size: 1.8rem; }
.pzk-service-psychology .pzk-service-icon { background: #EAFBF2; color: #1E8E5A; font-size: 1.8rem; }

.pzk-service-card h2 { font-size: 1.35rem; font-weight: 900; margin: 0 0 10px; color: #0B2A4A; }
.pzk-service-card p  { color: #64748b; margin: 0 0 24px; font-size: 0.9rem; line-height: 1.6; }

.pzk-service-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pzk-service-features li { font-size: 0.88rem; color: #334155; display: flex; align-items: center; gap: 8px; font-weight: 500; }

.pzk-service-price { font-size: 1.3rem; font-weight: 900; color: #0B2A4A; margin-top: auto; margin-bottom: 24px; display: flex; align-items: baseline; gap: 4px; }
.pzk-service-price span { font-size: 0.85rem; font-weight: 500; color: #64748b; margin-right: 4px; }

/* ── Wizard ──────────────────────────────────── */
.pzk-wizard { max-width: 720px; margin: 0 auto; padding: 120px 16px 24px; }

.pzk-wizard-progress {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.pzk-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.pzk-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #cbd5e1;
}
.pzk-progress-step.pzk-active .pzk-step-num {
    background: #1565C0;
    color: #ffffff;
    border-color: #1565C0;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.15), 0 4px 12px rgba(21, 101, 192, 0.25);
    transform: scale(1.04);
}
.pzk-progress-step.pzk-done .pzk-step-num {
    background: #1565C0;
    color: #ffffff;
    border-color: #1565C0;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.2);
}
.pzk-step-label {
    font-size: 0.82rem;
    color: #64748b;
    white-space: nowrap;
    font-weight: 600;
    transition: color 0.2s ease;
}
.pzk-progress-step.pzk-active .pzk-step-label {
    color: #1565C0;
    font-weight: 800;
}
.pzk-progress-step.pzk-done .pzk-step-label {
    color: #334155;
    font-weight: 700;
}
.pzk-progress-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    position: relative;
    top: -12px;
    transition: background-color 0.35s ease;
}
.pzk-progress-step.pzk-done + .pzk-progress-line {
    background: #1565C0;
}

.pzk-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}
.pzk-step-title { font-size: 1.25rem; font-weight: 900; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; color: #0B2A4A; }
.pzk-section-title { font-size: 0.95rem; font-weight: 800; color: #0B2A4A; margin: 20px 0 12px; padding: 10px 14px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }

.pzk-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.pzk-wizard-nav .pzk-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.95rem;
    gap: 8px;
}

/* Pre-flight */
.pzk-preflight-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pzk-info-block { padding: 16px 18px; background: #EAF4FF; border-radius: 12px; border: 1px solid rgba(21, 101, 192, 0.2); }
.pzk-info-block h3 { margin: 0 0 8px; font-size: 0.9rem; font-weight: 800; color: #0B2A4A; }
.pzk-info-block ul { margin: 0; padding-right: 20px; }
.pzk-info-block ul li { margin-bottom: 4px; font-size: 0.85rem; color: #334155; }
.pzk-info-block.pzk-info-warning { background: #FFF7E3; border-color: rgba(209, 139, 13, 0.25); }
.pzk-info-block.pzk-info-warning h3 { color: #6B4A12; }
.pzk-info-block.pzk-info-warning p { margin: 0; font-size: 0.85rem; color: #6B4A12; }

/* ── Doctor Selection (Full-width Card) ─────── */
.pzk-doctor-section { margin: 20px 0 16px; }
.pzk-doctor-list { display: flex; flex-direction: column; gap: 12px; }
.pzk-doctor-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    user-select: none;
}
.pzk-doctor-card:hover {
    border-color: #cbd5e1;
    background: #fafbfc;
}
.pzk-doctor-card.pzk-selected,
.pzk-doctor-card:has(input:checked) {
    border-color: #1565C0;
    background: #F0F7FF;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.12);
}
.pzk-doctor-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pzk-doctor-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: #EAF4FF;
    color: #1565C0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 1.5rem;
}
.pzk-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pzk-doctor-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}
.pzk-doctor-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0B2A4A;
}
.pzk-doctor-spec {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}
.pzk-doctor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1E8E5A;
    margin-top: 2px;
}
.pzk-dot-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1E8E5A;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(30, 142, 90, 0.2);
    animation: pzk-pulse 2s infinite;
}
@keyframes pzk-pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 142, 90, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(30, 142, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 142, 90, 0); }
}
.pzk-doctor-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.pzk-doctor-card.pzk-selected .pzk-doctor-check,
.pzk-doctor-card:has(input:checked) .pzk-doctor-check {
    border-color: #1565C0;
    background: #1565C0;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

/* Session meta */
.pzk-session-meta { display: flex; align-items: center; justify-content: space-around; padding: 14px 20px; background: #f8fafc; border-radius: 14px; margin: 16px 0 20px; border: 1px solid #e2e8f0; }
.pzk-meta-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; flex: 1; }
.pzk-meta-label { display: block; font-size: 0.78rem; font-weight: 600; color: #64748b; line-height: 1.3; }
.pzk-meta-value { display: block; font-size: 0.95rem; font-weight: 800; color: #0f172a; line-height: 1.3; }
.pzk-meta-divider { width: 1px; height: 32px; background: #e2e8f0; flex-shrink: 0; }

/* Save profile */
.pzk-save-profile-bar { background: #EAF4FF; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; border: 1px solid rgba(21, 101, 192, 0.15); }
.pzk-toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.pzk-toggle-text { font-size: 0.85rem; font-weight: 600; color: #0B2A4A; }

/* Upload */
.pzk-upload-zone {
    border: 2px dashed #cbd5e1; border-radius: 14px;
    padding: 28px; text-align: center; cursor: pointer;
    background: #f8fafc;
    transition: border-color .2s, background .2s;
}
.pzk-upload-zone:hover, .pzk-upload-zone.pzk-dragover { border-color: #1565C0; background: #EAF4FF; }
.pzk-upload-inner .pzk-upload-icon { font-size: 2rem; display: block; margin-bottom: 8px; color: #1565C0; }
.pzk-upload-inner p { margin: 0 0 4px; font-weight: 700; color: #334155; font-size: 0.9rem; }
.pzk-upload-inner small { color: #64748b; font-size: 0.8rem; }
.pzk-file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pzk-file-item { display: flex; align-items: center; gap: 6px; background: #EAF4FF; color: #0B2A4A; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(21, 101, 192, 0.2); }
.pzk-file-item.pzk-file-uploading { background: #f8fafc; color: #64748b; border: 1px dashed #cbd5e1; }
.pzk-file-item button { background: none; border: none; cursor: pointer; color: inherit; padding: 0 0 0 2px; font-size: 0.8rem; line-height: 1; opacity: 0.7; transition: opacity 0.15s; }
.pzk-file-item button:hover { opacity: 1; color: #D64545; }

/* Practitioner cards (psychology) */
.pzk-practitioner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.pzk-practitioner-card { border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 16px; cursor: pointer; transition: all .2s ease; background: #fff; }
.pzk-practitioner-card input { display: none; }
.pzk-practitioner-card:has(input:checked), .pzk-practitioner-card.pzk-selected { border-color: #1E8E5A; background: #EAFBF2; box-shadow: 0 4px 12px rgba(30, 142, 90, 0.1); }
.pzk-prac-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; background: #f1f5f9; border: 2px solid #e2e8f0; }
.pzk-prac-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pzk-prac-avatar-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: #64748b; background: #f1f5f9; }
.pzk-prac-info { text-align: center; }
.pzk-prac-info strong { display: block; font-size: 0.85rem; color: #1e293b; }
.pzk-prac-spec { font-size: 0.75rem; color: #1E8E5A; font-weight: 700; }

/* Communication type cards */
.pzk-comm-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.pzk-comm-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    border: 1.5px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 12px 8px; 
    cursor: pointer; 
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1); 
    background: #fff; 
    position: relative; 
    user-select: none; 
}
.pzk-comm-card:hover:not(.pzk-disabled) { border-color: #cbd5e1; transform: translateY(-1px); }
.pzk-comm-card input { display: none; }
#pzkPsychWizard .pzk-comm-card.pzk-selected,
#pzkPsychWizard .pzk-comm-card:has(input:checked) { border-color: #1E8E5A; background: #EAFBF2; box-shadow: 0 4px 12px rgba(30, 142, 90, 0.12); }
#pzkMedicalWizard .pzk-comm-card.pzk-selected,
#pzkMedicalWizard .pzk-comm-card:has(input:checked) { border-color: #1565C0; background: #EAF4FF; box-shadow: 0 4px 12px rgba(21, 101, 192, 0.12); }
.pzk-comm-card.pzk-disabled { opacity: 0.5; cursor: not-allowed; background: #f8fafc; border-color: #e2e8f0; }
.pzk-comm-card.pzk-disabled:hover { transform: none; box-shadow: none; border-color: #e2e8f0; }
.pzk-comm-badge-soon { position: absolute; top: 4px; left: 4px; font-size: 0.6rem; font-weight: 700; color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; padding: 1px 5px; border-radius: 4px; line-height: 1.2; }
.pzk-comm-icon { display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 4px; line-height: 1; }
#pzkPsychWizard .pzk-comm-icon { color: #1E8E5A; }
#pzkMedicalWizard .pzk-comm-icon { color: #1565C0; }
.pzk-comm-card.pzk-disabled .pzk-comm-icon { color: #94a3b8 !important; }
.pzk-comm-name { display: block; font-weight: 800; font-size: 0.82rem; line-height: 1.3; margin-bottom: 2px; text-align: center; }
#pzkPsychWizard .pzk-comm-name { color: #0F3D2E; }
#pzkMedicalWizard .pzk-comm-name { color: #0B2A4A; }
.pzk-comm-card.pzk-disabled .pzk-comm-name { color: #64748b !important; }
.pzk-comm-desc { display: block; font-size: 0.68rem; color: #64748b; line-height: 1.2; text-align: center; }

/* Time slots */
.pzk-slot-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 12px; 
}
.pzk-slot-btn { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px; 
    border: 1.5px solid #e2e8f0; 
    border-radius: 12px; 
    background: #ffffff; 
    cursor: pointer; 
    font-family: inherit; 
    font-size: 0.86rem; 
    font-weight: 600; 
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1); 
    color: #334155; 
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.pzk-slot-btn:hover { 
    border-color: #cbd5e1; 
    background: #f8fafc; 
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}
.pzk-slot-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}
.pzk-slot-date i,
.pzk-slot-time i {
    font-size: 0.95rem;
    opacity: 0.75;
}
.pzk-slot-divider {
    width: 1px;
    height: 14px;
    background: #cbd5e1;
    display: inline-block;
    opacity: 0.8;
}
.pzk-slot-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pzk-slot-check {
    display: none;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    margin-right: 2px;
}

/* Selected state - Psychology (Light Mint Tint matching the top doctor & comm cards) */
#pzkPsychWizard .pzk-slot-btn:hover {
    border-color: #1E8E5A;
    background: #F0FAF5;
    color: #1E8E5A;
}
#pzkPsychWizard .pzk-slot-btn.pzk-selected { 
    background: #EAFBF2; 
    border-color: #1E8E5A; 
    color: #0F3D2E; 
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(30, 142, 90, 0.15); 
}
#pzkPsychWizard .pzk-slot-btn.pzk-selected .pzk-slot-divider {
    background: rgba(30, 142, 90, 0.35);
}
#pzkPsychWizard .pzk-slot-btn.pzk-selected .pzk-slot-date i,
#pzkPsychWizard .pzk-slot-btn.pzk-selected .pzk-slot-time i {
    color: #1E8E5A;
    opacity: 1;
}
#pzkPsychWizard .pzk-slot-btn.pzk-selected .pzk-slot-check {
    display: inline-flex;
    color: #1E8E5A;
}

/* Selected state - Medical (Light Sky Tint matching doctor & comm cards) */
#pzkMedicalWizard .pzk-slot-btn:hover {
    border-color: #1565C0;
    background: #F0F7FF;
    color: #1565C0;
}
#pzkMedicalWizard .pzk-slot-btn.pzk-selected { 
    background: #EAF4FF; 
    border-color: #1565C0; 
    color: #0B2A4A; 
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.15); 
}
#pzkMedicalWizard .pzk-slot-btn.pzk-selected .pzk-slot-divider {
    background: rgba(21, 101, 192, 0.35);
}
#pzkMedicalWizard .pzk-slot-btn.pzk-selected .pzk-slot-date i,
#pzkMedicalWizard .pzk-slot-btn.pzk-selected .pzk-slot-time i {
    color: #1565C0;
    opacity: 1;
}
#pzkMedicalWizard .pzk-slot-btn.pzk-selected .pzk-slot-check {
    display: inline-flex;
    color: #1565C0;
}
.pzk-no-slots { color: #64748b; font-size: 0.85rem; }

/* Summary card */
.pzk-summary-card { 
    border: 1px solid #cbd5e1; 
    border-radius: 16px; 
    overflow: hidden; 
    margin-bottom: 20px; 
    background: #f1f5f9; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pzk-summary-header { 
    background: #e2e8f0; 
    padding: 14px 18px; 
    border-bottom: 1px solid #cbd5e1; 
}
.pzk-summary-header h3 { 
    margin: 0; 
    font-size: 0.95rem; 
    font-weight: 800; 
    color: #0B2A4A; 
}
.pzk-summary-rows { 
    padding: 6px 0; 
}
.pzk-summary-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 11px 18px; 
    border-bottom: 1px solid #e2e8f0; 
    font-size: 0.88rem; 
}
.pzk-summary-row:last-child { 
    border-bottom: none; 
}
.pzk-summary-row span:first-child { 
    color: #475569; 
    font-weight: 600; 
}
.pzk-summary-row span:last-child { 
    font-weight: 700; 
    color: #0f172a; 
}
.pzk-summary-total { 
    display: flex; 
    justify-content: space-between; 
    padding: 15px 18px; 
    background: #e0f2fe; 
    border-top: 1px solid #bae6fd;
    font-weight: 800; 
    font-size: 0.98rem; 
    color: #0369a1; 
}

.pzk-open-channel-note { background: #EAFBF2; border: 1px solid rgba(30, 142, 90, 0.25); border-radius: 10px; padding: 12px 16px; font-size: 0.85rem; color: #0F3D2E; margin-bottom: 16px; display: flex; gap: 8px; font-weight: 600; }
.pzk-info-icon { font-size: 1.1rem; flex-shrink: 0; }
.pzk-terms-box { display: flex; align-items: center; padding: 12px 0; }
.pzk-terms-box .pzk-checkbox-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #334155; cursor: pointer; user-select: none; }
.pzk-terms-link { color: #1565C0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.pzk-terms-link:hover { color: #0d47a1; }

/* ── Psychology Flow (Green Theme) ───────────── */
#pzkPsychWizard .pzk-progress-step.pzk-active .pzk-step-num {
    background: #1E8E5A;
    color: #ffffff;
    border-color: #1E8E5A;
    box-shadow: 0 0 0 4px rgba(30, 142, 90, 0.15), 0 4px 12px rgba(30, 142, 90, 0.25);
}
#pzkPsychWizard .pzk-progress-step.pzk-done .pzk-step-num {
    background: #1E8E5A;
    color: #ffffff;
    border-color: #1E8E5A;
    box-shadow: 0 2px 8px rgba(30, 142, 90, 0.2);
}
#pzkPsychWizard .pzk-progress-step.pzk-active .pzk-step-label {
    color: #1E8E5A;
    font-weight: 800;
}
#pzkPsychWizard .pzk-progress-step.pzk-done + .pzk-progress-line {
    background: #1E8E5A;
}

#pzkPsychWizard .pzk-doctor-card.pzk-selected,
#pzkPsychWizard .pzk-doctor-card:has(input:checked) {
    border-color: #1E8E5A;
    background: #F0FAF5;
    box-shadow: 0 4px 16px rgba(30, 142, 90, 0.12);
}
#pzkPsychWizard .pzk-doctor-card.pzk-selected .pzk-doctor-check,
#pzkPsychWizard .pzk-doctor-card:has(input:checked) .pzk-doctor-check {
    border-color: #1E8E5A;
    background: #1E8E5A;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 142, 90, 0.3);
}
#pzkPsychWizard .pzk-doctor-avatar {
    background: #EAFBF2;
    color: #1E8E5A;
}
#pzkPsychWizard .pzk-save-profile-bar {
    background: #EAFBF2;
    border: 1px solid rgba(30, 142, 90, 0.2);
}
#pzkPsychWizard .pzk-toggle-text {
    color: #0F3D2E;
}
#pzkPsychWizard .pzk-upload-zone:hover,
#pzkPsychWizard .pzk-upload-zone.pzk-dragover {
    border-color: #1E8E5A;
    background: #EAFBF2;
}
#pzkPsychWizard .pzk-upload-inner .pzk-upload-icon {
    color: #1E8E5A;
}
#pzkPsychWizard .pzk-file-item {
    background: #EAFBF2;
    color: #0F3D2E;
    border: 1px solid rgba(30, 142, 90, 0.2);
}

#pzkPsychWizard .pzk-summary-total {
    background: #EAFBF2;
    border-top: 1px solid #C4F1DB;
    color: #0F3D2E;
}
#pzkPsychWizard .pzk-terms-link {
    color: #1E8E5A;
}
#pzkPsychWizard .pzk-terms-link:hover {
    color: #0F3D2E;
}
#pzkPsychWizard .pzk-btn-primary,
#pzkPsychWizard .pzk-btn-pay,
#pzkPsychWizard .pzk-btn-secondary {
    background: #1E8E5A;
    border-color: #1E8E5A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 142, 90, 0.2);
}
#pzkPsychWizard .pzk-btn-primary:hover,
#pzkPsychWizard .pzk-btn-pay:hover,
#pzkPsychWizard .pzk-btn-secondary:hover {
    background: #177549;
    border-color: #177549;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(23, 117, 73, 0.25);
}
#pzkPsychWizard .pzk-discount-btn {
    background: #0F3D2E !important;
}
#pzkPsychWizard .pzk-discount-btn:hover {
    background: #1E8E5A !important;
}
#pzkPsychWizard .pzk-input:focus {
    border-color: #1E8E5A;
    box-shadow: 0 0 0 3px rgba(30, 142, 90, 0.15);
}

/* ── User Panel ──────────────────────────────── */
.pzk-panel-wrap { display: flex; min-height: 70vh; gap: 0; }
.pzk-panel-sidebar { width: 240px; flex-shrink: 0; background: #f8fafc; border-radius: 16px 0 0 16px; border: 1px solid #e2e8f0; border-left: none; }
.pzk-panel-content { flex: 1; min-width: 0; border: 1px solid #e2e8f0; border-radius: 0 16px 16px 0; padding: 28px 24px; background: #fff; }

.pzk-panel-user { padding: 24px 16px 16px; text-align: center; border-bottom: 1px solid #e2e8f0; }
.pzk-panel-avatar { width: 56px; height: 56px; border-radius: 50%; background: #EAF4FF; color: #1565C0; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 1.5rem; }
.pzk-panel-mobile { font-size: 0.85rem; color: #64748b; font-weight: 700; direction: ltr; }

.pzk-panel-nav { padding: 12px 0; }
.pzk-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 18px; color: #475569; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; border-radius: 0; }
.pzk-nav-item:hover { background: #f1f5f9; color: #1565C0; }
.pzk-nav-item.pzk-active { background: #EAF4FF; color: #1565C0; font-weight: 800; border-radius: 8px; margin: 0 8px; padding: 10px 14px; }
.pzk-nav-badge { background: #1565C0; color: #fff; border-radius: 20px; padding: 2px 8px; font-size: 0.75rem; margin-right: auto; font-weight: 700; }

.pzk-panel-title { font-size: 1.25rem; font-weight: 900; margin: 0 0 20px; color: #0B2A4A; }

.pzk-consultation-list { display: flex; flex-direction: column; gap: 16px; }
.pzk-cons-card { border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); transition: border-color .2s; }
.pzk-cons-card:hover { border-color: rgba(21, 101, 192, 0.3); }
.pzk-cons-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pzk-cons-number { font-size: 0.85rem; font-weight: 700; color: #0B2A4A; }
.pzk-cons-type { background: #f1f5f9; color: #475569; padding: 3px 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 700; margin-right: 8px; }
.pzk-cons-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: #64748b; margin-bottom: 12px; font-weight: 500; }

/* ── Standardized Status Badges ─────────────── */
.pzk-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.pzk-status-active, .pzk-status-pending { background: #FFF7E3; color: #854d0e; border: 1px solid rgba(217, 119, 6, 0.25); }
.pzk-status-paid, .pzk-status-in_progress { background: #EAFBF2; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.25); }
.pzk-status-pending_payment { background: #FFF7E3; color: #6B4A12; border: 1px solid rgba(209, 139, 13, 0.25); }
.pzk-status-awaiting_practitioner, .pzk-status-awaiting_patient { background: #EAF4FF; color: #0B2A4A; border: 1px solid rgba(21, 101, 192, 0.25); }
.pzk-status-completed { background: #EAFBF2; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.25); }
.pzk-status-cancelled { background: #FFF0F0; color: #5C1F1F; border: 1px solid rgba(214, 69, 69, 0.25); }

.pzk-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.pzk-table th, .pzk-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #f1f5f9; }
.pzk-table th { background: #f8fafc; font-weight: 800; color: #334155; }
.pzk-tracking-code { font-family: monospace; font-size: 0.82rem; background: #f1f5f9; padding: 3px 8px; border-radius: 6px; color: #0B2A4A; }

.pzk-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.pzk-review-card { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; background: #fff; }
.pzk-review-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.85rem; color: #334155; font-weight: 700; }
.pzk-review-content { margin: 0 0 10px; font-size: 0.85rem; color: #475569; }
.pzk-review-response { background: #EAFBF2; border-radius: 10px; padding: 10px 14px; font-size: 0.85rem; margin-bottom: 8px; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.2); }
.pzk-review-status { color: #64748b; font-size: 0.78rem; }

.pzk-empty-state { text-align: center; padding: 40px; color: #64748b; }
.pzk-empty-state p { margin: 0 0 20px; font-size: 0.9rem; font-weight: 600; }

/* ── Chat Overlay ────────────────────────────── */
.pzk-chat-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 20px; z-index: 9999;
}
.pzk-chat-window {
    background: #fff; border-radius: 20px;
    width: 440px; max-width: 100%;
    max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    direction: rtl;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.pzk-chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.pzk-chat-close { color: #64748b; font-size: 1.2rem; text-decoration: none; }
.pzk-chat-close:hover { color: #D64545; }
.pzk-chat-body {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    min-height: 300px;
}
.pzk-chat-empty { text-align: center; color: #64748b; padding: 30px; font-size: 0.85rem; font-weight: 600; }
.pzk-msg { display: flex; flex-direction: column; }
.pzk-msg-patient { align-items: flex-start; }
.pzk-msg-practitioner { align-items: flex-end; }
.pzk-msg-system { align-items: center; }
.pzk-msg-bubble { max-width: 75%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.6; word-break: break-word; }
.pzk-msg-patient .pzk-msg-bubble { background: #EAF4FF; color: #0B2A4A; border-radius: 14px 2px 14px 14px; border: 1px solid rgba(21, 101, 192, 0.15); }
.pzk-msg-practitioner .pzk-msg-bubble { background: #EAFBF2; color: #0F3D2E; border-radius: 2px 14px 14px 14px; border: 1px solid rgba(30, 142, 90, 0.15); }
.pzk-msg-system .pzk-msg-bubble { background: #f1f5f9; font-size: 0.8rem; color: #64748b; border-radius: 8px; }
.pzk-msg-bubble p { margin: 0 0 4px; }
.pzk-msg-time { font-size: 0.7rem; color: #94a3b8; margin-top: 4px; display: block; text-align: left; }
.pzk-msg-label { font-size: 0.72rem; color: #64748b; margin-top: 3px; font-weight: 600; }
.pzk-chat-footer { border-top: 1px solid #e2e8f0; padding: 12px; background: #fff; }
.pzk-chat-attach-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pzk-chat-attach-list { display: flex; flex-wrap: wrap; gap: 4px; }
.pzk-chat-input-row { display: flex; gap: 8px; align-items: stretch; }
.pzk-chat-input { 
    flex: 1; 
    border: 1.5px solid #cbd5e1; 
    border-radius: 12px; 
    padding: 10px 14px; 
    font-family: inherit; 
    font-size: 0.9rem; 
    line-height: 1.5;
    resize: none; 
    min-height: 48px;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.pzk-chat-input:focus { outline: none; border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1); }
#pzkChatSend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    align-self: stretch;
    height: auto;
    cursor: pointer;
}

/* ── Discount Code ───────────────────────────── */
.pzk-discount-section { 
    margin: 18px 0; 
    padding: 0; 
    background: transparent; 
    border: none; 
}
.pzk-discount-group { 
    display: flex; 
    align-items: stretch; 
    background: #f8fafc; 
    border: 1.5px solid #cbd5e1; 
    border-radius: 12px; 
    overflow: hidden; 
    transition: all .2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.pzk-discount-group:focus-within { 
    border-color: #1565C0; 
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12); 
}
.pzk-discount-input { 
    flex: 1; 
    border: none !important; 
    background: transparent !important; 
    padding: 12px 16px !important; 
    font-size: 0.9rem !important; 
    color: #1e293b; 
    outline: none !important; 
    box-shadow: none !important; 
    font-family: inherit; 
    direction: ltr; 
    text-align: right; 
}
.pzk-discount-input::placeholder { 
    direction: rtl; 
    text-align: right; 
    color: #94a3b8; 
    font-size: 0.85rem; 
}
.pzk-discount-btn { 
    background: #0B2A4A !important; 
    color: #fff !important; 
    border: none !important; 
    border-radius: 0 !important; 
    padding: 0 22px !important; 
    font-size: 0.88rem !important; 
    font-weight: 700 !important; 
    cursor: pointer; 
    white-space: nowrap; 
    transition: background .2s ease; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}
.pzk-discount-btn:hover { 
    background: #1565C0 !important; 
    color: #fff !important; 
}
.pzk-discount-result { 
    margin-top: 8px; 
    padding: 8px 14px; 
    border-radius: 10px; 
    font-size: 0.85rem; 
    font-weight: 700; 
}
.pzk-discount-ok { background: #EAFBF2; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.25); }
.pzk-discount-err { background: #FFF0F0; color: #5C1F1F; border: 1px solid rgba(214, 69, 69, 0.25); }
.pzk-discount-val { color: #1E8E5A; font-weight: 800; }
.pzk-discount-row-summary span:last-child { color: #1E8E5A; }

/* ── Admin discount badges ───────────────────── */
.pzk-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }
.pzk-badge-active { background: #EAFBF2; color: #0F3D2E; border: 1px solid rgba(30, 142, 90, 0.25); }
.pzk-badge-inactive { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 720px) {
    .pzk-hub-cards  { grid-template-columns: 1fr; }
    .pzk-form-row   { grid-template-columns: 1fr; }
    .pzk-panel-wrap { flex-direction: column; }
    .pzk-panel-sidebar { width: 100%; border-radius: 16px 16px 0 0; border-left: 1px solid #e2e8f0; border-bottom: none; }
    .pzk-panel-content { border-radius: 0 0 16px 16px; padding: 20px 16px; }
    .pzk-step-card { padding: 20px 16px; }
    .pzk-chat-overlay { padding: 0; align-items: stretch; }
    .pzk-chat-window { width: 100%; border-radius: 0; max-height: 100vh; }
    .pzk-practitioner-grid { grid-template-columns: 1fr 1fr; }
    /* Mobile Wizard Progress */
    .pzk-wizard { padding-top: 100px; }
    .pzk-wizard-progress {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 24px;
        padding: 0 4px;
    }
    .pzk-progress-step {
        gap: 0;
    }
    .pzk-progress-step .pzk-step-label {
        display: none;
    }
    .pzk-step-num {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .pzk-progress-step.pzk-active .pzk-step-num {
        transform: scale(1.06);
    }
    .pzk-progress-line {
        position: static;
        top: 0;
        margin: 0 6px;
    }
}

/* ── Modal Overlay ───────────────────────────── */
.pzk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.pzk-modal-overlay.pzk-active {
    opacity: 1;
    pointer-events: auto;
}
.pzk-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 16px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.pzk-modal-overlay.pzk-active .pzk-modal-content {
    transform: scale(1);
}
.pzk-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.pzk-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.pzk-btn-link.pzk-trigger-login {
    background: #1565C0;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(21, 101, 192, 0.2);
}
.pzk-btn-link.pzk-trigger-login:hover {
    background: #0B2A4A;
}

/* ═══════════════════════════════════════════════
   Hub Cards — Aligned to Official Palette
   ═══════════════════════════════════════════════ */

.pzk-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 100px;
    background: #EAF4FF;
    color: #0B2A4A;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(21, 101, 192, 0.2);
}
.pzk-user-greeting { font-size: .875rem; font-weight: 600; color: #475569; }

.pzk-hub-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s, border-color .3s;
}
.pzk-hub-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.pzk-hub-card-medical:hover  { border-color: rgba(21, 101, 192, 0.3); }
.pzk-hub-card-psych:hover    { border-color: rgba(30, 142, 90, 0.3); }

/* Decorative corner */
.pzk-hub-card-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    border-radius: 0 24px 0 100%;
    transition: transform .5s ease;
    pointer-events: none;
}
.pzk-hub-card-medical  .pzk-hub-card-deco      { background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), transparent); }
.pzk-hub-card-psych    .pzk-hub-card-deco-psych { background: linear-gradient(135deg, rgba(30, 142, 90, 0.1), transparent); }
.pzk-hub-card:hover .pzk-hub-card-deco { transform: scale(1.1); }

/* Inner content */
.pzk-hub-card-inner {
    position: relative;
    z-index: 1;
    padding: 36px 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Icon */
.pzk-hub-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .3s, color .3s;
}
.pzk-hub-card-icon svg { width: 28px; height: 28px; }
.pzk-hub-icon-medical { color: #1565C0; }
.pzk-hub-icon-psych   { color: #1E8E5A; }
.pzk-hub-card-medical:hover  .pzk-hub-icon-medical { background: #1565C0; color: #fff; border-color: #1565C0; }
.pzk-hub-card-psych:hover    .pzk-hub-icon-psych   { background: #1E8E5A; color: #fff; border-color: #1E8E5A; }

/* Title & desc */
.pzk-hub-card-inner h2 {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0B2A4A;
    margin: 0 0 10px;
}
.pzk-hub-card-inner p {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.65;
    margin: 0 0 20px;
}

/* Feature list */
.pzk-hub-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.pzk-hub-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: #334155;
    font-weight: 500;
}
.pzk-hub-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.pzk-hub-check-medical { background: #EAF4FF; color: #1565C0; }
.pzk-hub-check-psych   { background: #EAFBF2; color: #1E8E5A; }

/* Price */
.pzk-hub-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 0;
}
.pzk-hub-price-amount   { font-size: 1.25rem; font-weight: 900; color: #0B2A4A; }
.pzk-hub-price-sep      { color: #94a3b8; }
.pzk-hub-price-duration { font-size: .85rem; color: #64748b; }

/* CTA button */
.pzk-hub-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background .25s, color .25s;
}
.pzk-hub-cta-medical {
    background: #fff;
    color: #1565C0;
    border-color: #e2e8f0;
}
.pzk-hub-cta-medical:hover {
    background: #1565C0;
    color: #fff;
    border-color: #1565C0;
}
.pzk-hub-cta-psych {
    background: #fff;
    color: #1E8E5A;
    border-color: #e2e8f0;
}
.pzk-hub-cta-psych:hover {
    background: #1E8E5A;
    color: #fff;
    border-color: #1E8E5A;
}
.pzk-hub-cta-arrow {
    transition: transform .3s;
}
.pzk-hub-cta:hover .pzk-hub-cta-arrow { transform: translateX(-4px); }

/* ── Chat lock notice ────────────────────────── */
.pzk-chat-locked-notice {
    background: #FFF7E3;
    border: 1px solid rgba(209, 139, 13, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #6B4A12;
    font-weight: 700;
}
.pzk-chat-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}
.pzk-lock-icon { font-size: 2.2rem; margin-bottom: 14px; color: #D18B0D; }
.pzk-chat-locked p { margin: 0; font-size: 0.9rem; }

/* ── File attachments in chat (public) ───────── */
.pzk-msg-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.pzk-attach-img-wrap { display: block; }
.pzk-attach-img {
    max-width: 180px;
    max-height: 140px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: block;
    object-fit: cover;
    cursor: pointer;
}
.pzk-attach-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #334155;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}
.pzk-attach-file:hover { background: #EAF4FF; color: #1565C0; border-color: rgba(21, 101, 192, 0.2); }
.pzk-attach-icon { flex-shrink: 0; }

/* ── Chat in-bubble upload card & progress bar ── */
.pzk-chat-upload-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    max-width: 260px;
    padding: 2px 0;
}
.pzk-chat-upload-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pzk-chat-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(21, 101, 192, 0.12);
    color: #1565C0;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.pzk-chat-upload-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(21, 101, 192, 0.2);
}
.pzk-chat-upload-meta {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}
.pzk-chat-upload-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0B2A4A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.pzk-chat-upload-size {
    font-size: 0.68rem;
    color: #64748b;
    display: block;
}
.pzk-chat-upload-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pzk-chat-upload-bar-bg {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.pzk-chat-upload-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1565C0, #2563eb);
    border-radius: 10px;
    transition: width 0.15s ease-out;
    width: 0%;
}
.pzk-chat-upload-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}
.pzk-chat-upload-error {
    color: #dc2626;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* ── Chat file upload preview in attach bar ──── */
.pzk-chat-file-preview {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #EAF4FF;
    color: #0B2A4A;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid rgba(21, 101, 192, 0.2);
    font-weight: 600;
}
.pzk-chat-file-preview button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0 0 0 2px;
    font-size: .8rem;
    line-height: 1;
    opacity: 0.7;
}
.pzk-chat-file-preview button:hover {
    opacity: 1;
    color: #D64545;
}
.pzk-chat-file-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px dashed #cbd5e1;
    font-weight: 600;
}
.pzk-btn-icon#pzkChatAttach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #64748b;
    font-size: 1.25rem;
    transition: all .15s ease;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.pzk-btn-icon#pzkChatAttach:hover {
    color: #1565C0;
    background: #EAF4FF;
    border-color: rgba(21, 101, 192, 0.3);
}

@media (max-width: 720px) {
    .pzk-hub-cards { grid-template-columns: 1fr; }
    .pzk-hub-card-inner { padding: 24px 20px 20px; }
}

/* ── Floating Toast Alert ── */
.pzk-toast-alert {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
}
.pzk-toast-alert.pzk-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.pzk-toast-warning {
    background: #FFFBEB;
    color: #92400E;
    border: 1.5px solid rgba(245, 158, 11, 0.35);
}
.pzk-toast-warning i {
    font-size: 1.25rem;
    color: #D97706;
}
.pzk-toast-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1.5px solid rgba(239, 68, 68, 0.35);
}
.pzk-toast-error i {
    font-size: 1.25rem;
    color: #DC2626;
}
.pzk-toast-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1.5px solid rgba(16, 185, 129, 0.35);
}
.pzk-toast-success i {
    font-size: 1.25rem;
    color: #059669;
}
