/* ==========================================================================
   درباره‌ی من | پلتفرم تخصصی رزومه و نمونه‌کار اهالی سینما و تئاتر
   طراحی هنری، حرفه‌ای، مدرن و راست‌به‌چپ (RTL)
   ========================================================================== */

:root {
    --bg-charcoal: #0c0d0e;
    --bg-surface: #141618;
    --bg-surface-elevated: #1a1d21;
    --bg-surface-card: #16181b;
    --bg-border: #26292e;
    --bg-border-light: #363b42;

    --color-crimson: #b91c1c;
    --color-crimson-hover: #dc2626;
    --color-crimson-subtle: rgba(185, 28, 28, 0.12);

    --text-primary: #f4f3ef;
    --text-secondary: #c2c6cb;
    --text-muted: #8b929c;
    --text-dim: #5c626c;

    --gold-accent: #d4af37;
    --badge-bg: #1c2024;

    --font-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-cinema: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

html {
    font-size: 16px;
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
}

body.site-body {
    background-color: var(--bg-charcoal);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* افکت لطیف گرین نگاتیو سینمایی */
.film-grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    opacity: 0.035;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 4px 4px;
}

/* ==========================================================================
   هدر و ناوبری اصلی
   ========================================================================== */
.site-header {
    background-color: rgba(12, 13, 14, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-clapper {
    font-size: 26px;
    filter: drop-shadow(0 2px 8px rgba(185, 28, 28, 0.4));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 2px;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background-color: var(--color-crimson);
}

.inline-form {
    display: inline;
}

.nav-btn-logout {
    background: transparent;
    border: 1px solid var(--bg-border);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn-logout:hover {
    border-color: var(--color-crimson);
    color: var(--color-crimson);
}

/* ==========================================================================
   دکمه‌ها و عناصر تعاملی (Button System)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-crimson);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-crimson-hover);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background-color: var(--bg-surface-elevated);
    border-color: var(--bg-border);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.btn-lg {
    padding: 13px 26px;
    font-size: 15px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.text-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--color-crimson);
    text-decoration: underline;
}

/* ==========================================================================
   کانتینر اصلی و سیستم چیدمان
   ========================================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    flex: 1;
    width: 100%;
}

.art-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-subtle);
    position: relative;
}

.panel-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--bg-border);
    padding-bottom: 16px;
}

.panel-header-flex > * {
    min-width: 0;
}

.panel-header-sub,
.status-help,
.quick-meta,
.quick-bio,
.media-title,
.link-name {
    overflow-wrap: anywhere;
}

.panel-header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.panel-header-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.panel-subtitle-tag {
    font-size: 12px;
    color: var(--color-crimson);
    background-color: var(--color-crimson-subtle);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* ==========================================================================
   بج‌ها و پیام‌ها (Notices & Badges)
   ========================================================================== */
.badge-stage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--badge-bg);
    border: 1px solid var(--bg-border);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-crimson);
    box-shadow: 0 0 8px var(--color-crimson);
}

.notices-wrapper {
    margin-bottom: 24px;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.notice-info {
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #bae6fd;
}

.notice-success {
    background-color: rgba(20, 83, 45, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #bbf7d0;
}

.notice-warning {
    background-color: rgba(113, 63, 18, 0.3);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: #fef08a;
}

.notice-danger {
    background-color: rgba(127, 29, 29, 0.35);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
}

/* ==========================================================================
   صفحه اصلی (Hero & Sections)
   ========================================================================== */
.hero-stage {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding: 50px 0 70px;
    border-bottom: 1px solid var(--bg-border);
}

.hero-headline {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-accent {
    font-style: normal;
    color: var(--color-crimson);
    position: relative;
}

.hero-lead {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-perks {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.perk-check {
    color: var(--color-crimson);
    font-weight: 700;
}

/* ویژوال قاب فیلم و صحنه در هیرو */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.stage-frame {
    width: 100%;
    max-width: 380px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-cinema);
    position: relative;
}

.stage-header-bar {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
    border-bottom: 1px solid var(--bg-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
    direction: ltr;
}

.stage-avatar-box {
    height: 160px;
    background: radial-gradient(circle at 50% 30%, rgba(185, 28, 28, 0.15) 0%, rgba(20, 22, 24, 0.8) 70%);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    position: relative;
    overflow: hidden;
}

.stage-info-lines {
    margin: 18px 0;
}

.line {
    height: 8px;
    border-radius: 4px;
    background-color: var(--bg-border);
    margin-bottom: 8px;
}

.line-title {
    width: 65%;
    background-color: var(--bg-border-light);
}

.line-sub {
    width: 45%;
}

.tags-row {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.mini-tag {
    font-size: 10px;
    background-color: var(--badge-bg);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid var(--bg-border);
}

.film-strip-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.film-cell {
    height: 48px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: 3px;
}

.cell-1 { background-color: #1e2227; }
.cell-2 { background-color: #24292f; }
.cell-3 { background-color: #2b3038; }

.stage-footer-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* بخش‌های معرفی سه گانه */
.narrative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 60px 0;
}

.narrative-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
}

.card-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-crimson);
    margin-bottom: 14px;
    opacity: 0.9;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.banner-stage {
    background: linear-gradient(135deg, rgba(20, 22, 24, 0.95) 0%, rgba(185, 28, 28, 0.12) 100%);
    border: 1px solid var(--bg-border-light);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-top: 20px;
}

.banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.banner-text h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.banner-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================================================
   نمایش رزومه هنرمند (Profile View)
   ========================================================================== */
.profile-hero {
    margin-bottom: 36px;
}

.profile-stage-banner {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    gap: 32px;
    align-items: center;
}

.profile-avatar-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--bg-surface-elevated);
    border: 2px solid var(--bg-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-crimson);
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.status-badge.published {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-badge.draft {
    background-color: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.profile-header-info {
    flex: 1;
}

.profile-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}

.artist-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
}

.artist-spec {
    font-size: 16px;
    color: var(--color-crimson);
    font-weight: 600;
}

.artist-meta-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    border-top: 1px solid var(--bg-border);
    padding-top: 14px;
}

.meta-item {
    display: flex;
    gap: 6px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-val {
    color: var(--text-primary);
}

.contact-val {
    color: #60a5fa;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 28px;
}

.editorial-prose {
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.media-card-frame {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-width: 0;
}

.media-viewport {
    height: 180px;
    background-color: #08090a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-viewport img, .media-viewport video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watermark-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    pointer-events: none;
}

.media-details {
    padding: 14px;
    min-width: 0;
}

.media-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.media-type-tag {
    font-size: 11px;
    color: var(--text-muted);
}

.empty-media-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.external-work-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.external-work-link:hover {
    border-color: var(--color-crimson);
}

.external-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* نوار کناری مشخصات */
.side-panel {
    position: sticky;
    top: 90px;
}

.side-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--bg-border);
    padding-bottom: 10px;
}

.specs-list dt {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.specs-list dd {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.side-contact-box {
    margin-top: 24px;
    padding: 16px;
    background-color: rgba(185, 28, 28, 0.08);
    border: 1px solid rgba(185, 28, 28, 0.25);
    border-radius: var(--radius-sm);
}

.side-contact-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-crimson);
    display: block;
    margin-bottom: 6px;
}

.side-contact-content {
    font-size: 14px;
    word-break: break-all;
    direction: ltr;
    text-align: right;
    margin-bottom: 6px;
}

.side-access-note {
    margin-top: 24px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* ==========================================================================
   داشبورد هنرمند (Dashboard)
   ========================================================================== */
.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.head-title {
    font-size: 30px;
    font-weight: 800;
    margin: 6px 0;
}

.head-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 28px;
}

.status-summary-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.status-chip.active {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-chip.draft {
    background-color: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.status-chip.pending {
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-chip.unverified {
    background-color: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-help {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.quick-profile-preview {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.quick-meta {
    font-size: 12px;
    color: var(--color-crimson);
    margin: 4px 0 8px;
}

.quick-bio {
    font-size: 13px;
    color: var(--text-secondary);
}

.sections-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.section-card {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    gap: 16px;
}

.sec-icon {
    font-size: 24px;
}

.sec-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sec-content p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* کارت مصرف حافظه */
.storage-card {
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(20, 22, 24, 0.9) 100%);
}

.storage-numbers {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0;
}

.storage-main {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.storage-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--bg-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-crimson);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar-fill.over-quota {
    background-color: #ef4444;
}

.storage-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.storage-actions {
    margin-bottom: 14px;
}

/* کارت دسترسی اشتراک */
.entitlement-badge {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.entitlement-badge.active {
    color: #4ade80;
}

.entitlement-badge.inactive {
    color: #f87171;
}

.access-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.rule-reminder {
    margin-top: 14px;
    border-top: 1px solid var(--bg-border);
    padding-top: 10px;
    color: var(--text-dim);
}

/* ==========================================================================
   کشف هنرمندان (Directory)
   ========================================================================== */
.directory-hero {
    margin-bottom: 32px;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0;
}

.page-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.search-filter-box {
    margin-bottom: 36px;
}

.search-inputs-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.artists-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.artist-card-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.artist-card-box:hover {
    transform: translateY(-3px);
    border-color: var(--bg-border-light);
}

.card-top-accent {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-border);
    background-color: var(--bg-surface-elevated);
}

.artist-city-pill {
    font-size: 11px;
    color: var(--text-muted);
}

.badge-verified {
    font-size: 10px;
    color: #4ade80;
}

.artist-card-body {
    padding: 24px 20px;
    text-align: center;
    flex: 1;
}

.artist-avatar-circle {
    width: 72px;
    height: 72px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border-light);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-crimson);
}

.artist-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.artist-specialty-line {
    font-size: 13px;
    color: var(--color-crimson);
    font-weight: 600;
    margin-bottom: 10px;
}

.artist-skills-line {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.artist-card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--bg-border);
    background-color: var(--bg-surface-card);
}

.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.page-current-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   فرم‌ها و ورودی‌ها (Form Controls)
   ========================================================================== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.required {
    color: var(--color-crimson);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--bg-border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-crimson);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}

.helptext {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

.auth-wrap {
    max-width: 540px;
    margin: 40px auto;
}

.form-art-card.wide-card {
    max-width: 820px;
    margin: 20px auto;
}

.card-badge-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-crimson);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-row-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-actions-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

/* ورودی اختصاصی OTP ۵ رقمی */
.otp-inputs-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.otp-digit {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    border: 2px solid var(--bg-border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-charcoal);
    color: var(--text-primary);
}

.timer-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   پلن‌ها و پرداخت (Plans & Checkout)
   ========================================================================== */
.plans-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.plan-art-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.plan-art-card.browse-tier {
    border-color: rgba(185, 28, 28, 0.4);
    box-shadow: 0 8px 30px rgba(185, 28, 28, 0.08);
}

.plan-kind-pill {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-crimson);
    background-color: var(--color-crimson-subtle);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 14px;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.plan-price-display {
    margin-bottom: 14px;
}

.price-num {
    font-size: 28px;
    font-weight: 800;
}

.price-unit {
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 6px;
}

.plan-summary {
    font-size: 13px;
    color: var(--text-secondary);
    min-height: 40px;
}

.plan-features-list {
    list-style: none;
    margin: 24px 0;
    flex: 1;
}

.plan-features-list li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-features-list li.negative-feature {
    color: var(--text-dim);
}

.checkout-summary-box {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.total-line {
    border-top: 1px solid var(--bg-border);
    margin-top: 10px;
    padding-top: 12px;
}

.total-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-crimson);
}

/* صفحه قفل شده (Locked Screen) */
.locked-screen-wrap {
    max-width: 720px;
    margin: 60px auto;
    text-align: center;
}

.locked-icon-badge {
    font-size: 48px;
    margin-bottom: 18px;
}

.locked-title {
    font-size: 26px;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.5;
}

.locked-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 28px;
}

.locked-rules-card {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: right;
    margin-bottom: 32px;
}

.locked-rules-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-crimson);
}

.locked-rules-card ul {
    list-style-position: inside;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 2;
}

.locked-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================================
   فوتر سایت
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--bg-border);
    background-color: #08090a;
    padding: 36px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.footer-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-quote {
    display: block;
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 4px;
}

/* ==========================================================================
   واکنش‌گرایی برای صفحات نمایش کوچک‌تر (Responsive)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-stage {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .profile-layout, .dashboard-grid-layout {
        grid-template-columns: 1fr;
    }

    .plans-tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-inputs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .narrative-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .artists-directory-grid {
        grid-template-columns: 1fr;
    }

    .plans-tier-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2col, .form-row-3col {
        grid-template-columns: 1fr;
    }

    .profile-stage-banner {
        flex-direction: column;
        text-align: center;
    }

    .profile-title-row {
        flex-direction: column;
        align-items: center;
    }

    .artist-meta-bar {
        justify-content: center;
    }

    .media-gallery-grid {
        grid-template-columns: 1fr;
    }

    .sections-quick-grid {
        grid-template-columns: 1fr;
    }

    .search-inputs-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Integration with the invitation flow and long user-authored portfolio text. */
.prose, .editorial-prose, .break-word, .side-contact-content, .artist-skills-line { overflow-wrap: anywhere; }
.dashboard-main-col, .dashboard-side-col, .profile-main-col, .profile-side-col, .hero-content, .hero-visual { min-width: 0; }
.invitation-panel .section-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.invitation-panel h2 { font-size: 1.1rem; }
.invitation-panel .eyebrow { color: var(--gold-accent); font-size: .75rem; margin-bottom: .5rem; }
.invitation-panel .muted { color: var(--text-secondary); font-size: .85rem; margin: .75rem 0; }
.invitation-panel .link-row { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.invitation-panel .link-row input { min-width: 0; width: 100%; direction: ltr; text-align: left; }
.invitation-panel .button { background: var(--color-crimson); color: var(--text-primary); border: 0; border-radius: var(--radius-sm); padding: .75rem 1rem; cursor: pointer; white-space: nowrap; font: inherit; }
.invitation-panel ul { padding-inline-start: 1.25rem; color: var(--text-secondary); }
.invitation-panel h3 { margin-top: 1.5rem; }
.invitation-panel input { background: var(--bg-charcoal); border: 1px solid var(--bg-border-light); color: var(--text-primary); padding: .75rem; border-radius: var(--radius-sm); font: inherit; }
:focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 4px; }
@media(max-width: 640px) { .invitation-panel .link-row { flex-direction: column; align-items: stretch; } }

/* ==========================================================================
   تکمیل استایل‌های هماهنگ با هویت زغالی، قرمز و طلایی «درباره‌ی من»
   (Harmonized Artistic UI Extensions & Browser Control Overrides)
   ========================================================================== */

/* ریست و هماهنگ‌سازی کنترل‌های پیش‌فرض مرورگر */
button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* اصلاح دکمه‌های حذف در داشبورد، مدیریت فایل‌ها و پیوندها */
.delete-link-btn,
.text-button.danger {
    background-color: rgba(185, 28, 28, 0.12) !important;
    color: #f87171 !important;
    border: 1px solid rgba(185, 28, 28, 0.35) !important;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    white-space: nowrap;
}

.delete-link-btn:hover,
.text-button.danger:hover {
    background-color: var(--color-crimson) !important;
    border-color: var(--color-crimson-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(185, 28, 28, 0.45);
}

.delete-link-btn:active,
.text-button.danger:active {
    transform: scale(0.97);
}

.delete-link-btn:focus-visible,
.text-button.danger:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

/* مدیریت فایل‌ها و نمونه‌کارها در داشبورد */
.media-manage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.media-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--bg-surface-elevated);
}

.file-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-border);
}

.file-size-tag {
    font-size: 11px;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--bg-border);
    direction: ltr;
    font-family: monospace, sans-serif;
}

/* مدیریت پیوندها در وب */
.links-manage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.link-manage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    min-width: 0;
    transition: border-color 0.2s ease;
}

.link-manage-row:hover {
    border-color: var(--bg-border-light);
}

.link-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.link-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.link-url-display {
    font-size: 12px;
    color: var(--color-crimson);
    direction: ltr;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.link-url-display:hover {
    color: var(--color-crimson-hover);
    text-decoration: underline;
}

.muted-note {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* پنل سیستم دعوت با رنگ‌های زغالی، قرمز و طلایی */
.invitation-panel {
    border-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(20, 22, 24, 0.96) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.invitation-panel .section-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--bg-border);
}

.invitation-panel h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.invitation-panel .eyebrow {
    color: var(--gold-accent);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.invitation-panel .muted {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0.75rem 0;
    line-height: 1.65;
}

.invitation-panel .link-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.invitation-panel .link-row input,
#invitation-url {
    min-width: 0;
    width: 100%;
    direction: ltr;
    text-align: left;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--bg-border-light);
    color: var(--text-primary);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.invitation-panel .link-row input:focus,
#invitation-url:focus {
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

.invitation-panel .button,
#copy-invitation {
    background-color: var(--color-crimson);
    color: #ffffff;
    border: 1px solid var(--color-crimson);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.invitation-panel .button:hover,
#copy-invitation:hover {
    background-color: var(--color-crimson-hover);
    border-color: var(--color-crimson-hover);
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.45);
}

.invitation-panel .button:active,
#copy-invitation:active {
    transform: scale(0.98);
}

#invitation-copy-status {
    font-size: 12px;
    color: #4ade80;
    margin-top: 6px;
    min-height: 18px;
    font-weight: 500;
}

.invitation-panel h3 {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.invitation-panel ul {
    padding-inline-start: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.invitation-panel ul li {
    padding: 4px 0;
}

/* استایل فرم‌های جنگو و لیست خطاها */
.standard-django-form,
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.standard-django-form p,
.auth-form p {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
}

.standard-django-form label,
.auth-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.errorlist {
    list-style: none;
    padding: 8px 14px;
    margin: 4px 0 10px;
    background-color: rgba(185, 28, 28, 0.15);
    border: 1px solid rgba(185, 28, 28, 0.4);
    border-radius: var(--radius-sm);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 500;
}

.errorlist li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.errorlist li::before {
    content: "⚠";
    color: var(--color-crimson);
}

/* کنترل‌های بومی ورودی فایل، سلکت و چک‌باکس */
input[type="file"] {
    background-color: var(--bg-surface-elevated);
    border: 1px dashed var(--bg-border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
}

input[type="file"]::file-selector-button {
    background: var(--bg-surface-card);
    border: 1px solid var(--bg-border-light);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-inline-end: 12px;
    transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--color-crimson);
    border-color: var(--color-crimson);
    color: #ffffff;
}

select {
    background-color: var(--bg-charcoal);
    color: var(--text-primary);
    border: 1px solid var(--bg-border-light);
}

select option {
    background-color: var(--bg-surface-card);
    color: var(--text-primary);
}

input[type="checkbox"] {
    accent-color: var(--color-crimson);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* فیلتر و جست‌وجوی کشف هنرمندان */
.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    user-select: none;
}

.empty-directory-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.empty-icon-large {
    font-size: 48px;
    color: var(--color-crimson);
    margin-bottom: 6px;
}

.empty-directory-card h2 {
    font-size: 20px;
    font-weight: 700;
}

.empty-directory-card p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 520px;
    line-height: 1.8;
}

/* پلن‌ها، فاکتور و رسید تراکنش */
.important-notice-box {
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.important-notice-box strong {
    color: var(--gold-accent);
}

.important-notice-box small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
}

.payment-status-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    margin: 20px 0 24px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.payment-status-header.status-paid {
    border-color: rgba(74, 222, 128, 0.4);
    background-color: rgba(34, 197, 94, 0.08);
}

.payment-status-header.status-pending,
.payment-status-header.status-failed {
    border-color: rgba(239, 68, 68, 0.4);
    background-color: rgba(185, 28, 28, 0.08);
}

.status-symbol {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.payment-status-header.status-paid .status-symbol {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 2px solid #4ade80;
}

.payment-status-header.status-pending .status-symbol,
.payment-status-header.status-failed .status-symbol {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.status-title {
    font-size: 20px;
    font-weight: 700;
}

.summary-divider {
    border: 0;
    border-top: 1px solid var(--bg-border);
    margin: 12px 0;
}

.total-line {
    font-weight: 700;
    font-size: 16px;
}

.total-val {
    color: var(--gold-accent);
    font-size: 20px;
}

.bold-val {
    font-weight: 700;
    color: var(--text-primary);
}

.code-font {
    font-family: monospace, sans-serif;
    letter-spacing: 0.5px;
    direction: ltr;
}

.card-footer-links,
.auth-footer-note {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--bg-border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-crimson);
}

.payment-history-section {
    margin-top: 36px;
}

.payment-records-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
    transition: border-color 0.2s ease;
}

.payment-row:hover {
    border-color: var(--bg-border-light);
}

.pay-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sandbox-tag {
    font-size: 11px;
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.pay-amount {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.pay-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.pay-status.status-paid {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.pay-status.status-pending,
.pay-status.status-failed {
    background-color: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.pay-action .text-link {
    font-size: 13px;
    color: var(--color-crimson);
}

.pay-action .text-link:hover {
    color: var(--color-crimson-hover);
}

/* ==========================================================================
   قواعد تکمیلی واکنش‌گرایی برای موبایل (Mobile 390px / 360px)
   ========================================================================== */

@media (max-width: 768px) {
    .media-manage-grid {
        grid-template-columns: 1fr;
    }
    .link-manage-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 20px;
    }
    .banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 24px 16px 60px;
    }
    .banner-stage {
        padding: 24px 18px;
    }
    .invitation-panel .link-row {
        flex-direction: column;
        align-items: stretch;
    }
    .invitation-panel .link-row .button,
    #copy-invitation {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 26px;
        line-height: 1.35;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-perks {
        flex-direction: column;
        gap: 8px;
    }
    .dashboard-head {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .dashboard-head .head-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .profile-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .profile-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .search-btn-group .btn {
        width: 100%;
    }
    .locked-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .locked-actions-row .btn {
        width: 100%;
        justify-content: center;
    }
}
