/* ==========================================================================
   Odino Golden Partners Club — Luxury Public UI (RTL Gold, Burgundy & Ivory)
   ========================================================================== */

:root {
	--ogc-burgundy: #6B0F1A;
	--ogc-burgundy-dark: #480811;
	--ogc-gold: #C8A24A;
	--ogc-gold-light: #E8CF88;
	--ogc-gold-soft: #FAF4E4;
	--ogc-ivory: #FBF8F3;
	--ogc-surface: #FFFFFF;
	--ogc-text: #1F191A;
	--ogc-muted: #6C5F61;
	--ogc-border: #EAE0D5;
	--ogc-success: #16794B;
	--ogc-danger: #B42318;
	--ogc-radius: 16px;
	--ogc-shadow: 0 12px 32px rgba(72, 8, 17, 0.08);
	--ogc-font: 'Vazirmatn', 'IRANSans', 'Tahoma', system-ui, -apple-system, sans-serif;
}

.ogc-wrap {
	font-family: var(--ogc-font);
	color: var(--ogc-text);
	direction: rtl;
	text-align: right;
	max-width: 1160px;
	margin: 0 auto;
	padding: 20px 16px 48px;
	box-sizing: border-box;
	line-height: 1.75;
}

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

/* Badges & Buttons */
.ogc-pill-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	background: rgba(200, 162, 74, 0.18);
	color: var(--ogc-gold-light);
	border: 1px solid rgba(200, 162, 74, 0.45);
	margin-bottom: 14px;
}

.ogc-auth-card .ogc-pill-badge {
	color: var(--ogc-burgundy);
	background: var(--ogc-gold-soft);
}

.ogc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ogc-btn:hover {
	transform: translateY(-1px);
}

.ogc-btn--gold {
	background: linear-gradient(135deg, #D8B45A 0%, #B88E34 100%);
	color: #2A1205;
	box-shadow: 0 8px 20px rgba(200, 162, 74, 0.35);
}

.ogc-btn--gold:hover {
	color: #2A1205;
	box-shadow: 0 10px 24px rgba(200, 162, 74, 0.45);
}

.ogc-btn--burgundy {
	background: linear-gradient(135deg, var(--ogc-burgundy) 0%, var(--ogc-burgundy-dark) 100%);
	color: #FFFFFF;
	box-shadow: 0 8px 20px rgba(107, 15, 26, 0.25);
}

.ogc-btn--burgundy:hover {
	color: #FFFFFF;
}

.ogc-btn--outline {
	background: transparent;
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.45);
}

.ogc-btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

.ogc-btn--outline-dark {
	background: transparent;
	color: var(--ogc-burgundy);
	border-color: var(--ogc-border);
}

.ogc-btn--full {
	width: 100%;
}

.ogc-btn--sm {
	padding: 8px 14px;
	font-size: 13px;
}

.ogc-link-btn {
	background: none;
	border: none;
	color: var(--ogc-burgundy);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}

/* Landing Hero */
.ogc-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 15% 20%, #8C1B2B 0%, var(--ogc-burgundy) 45%, var(--ogc-burgundy-dark) 100%);
	color: #FFFFFF;
	border-radius: 24px;
	padding: 52px 40px;
	box-shadow: 0 20px 50px rgba(72, 8, 17, 0.22);
	margin-bottom: 42px;
}

.ogc-hero__decor {
	position: absolute;
	inset: -40% auto auto -15%;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(200, 162, 74, 0.25) 0%, transparent 70%);
	pointer-events: none;
}

.ogc-hero__content {
	position: relative;
	max-width: 780px;
}

.ogc-hero__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.35;
}

.ogc-hero__slogan {
	font-size: clamp(17px, 2.4vw, 22px);
	font-weight: 700;
	color: var(--ogc-gold-light);
	margin: 0 0 16px;
}

.ogc-hero__desc {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 28px;
}

.ogc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.ogc-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

/* Sections */
.ogc-section {
	margin-bottom: 44px;
}

.ogc-section__header {
	text-align: center;
	margin-bottom: 26px;
}

.ogc-section__header h2 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	color: var(--ogc-burgundy);
}

.ogc-section__header p {
	margin: 0;
	color: var(--ogc-muted);
	font-size: 15px;
}

.ogc-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}

.ogc-feature-card {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: var(--ogc-radius);
	padding: 28px;
	box-shadow: var(--ogc-shadow);
}

.ogc-feature-card--accent {
	background: linear-gradient(180deg, #FFFDF7 0%, #FAF3E3 100%);
	border-color: rgba(200, 162, 74, 0.5);
}

.ogc-feature-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ogc-burgundy);
	color: var(--ogc-gold-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 16px;
}

.ogc-feature-card h3 {
	margin: 0 0 10px;
	font-size: 19px;
	color: var(--ogc-burgundy);
}

/* Calculator */
.ogc-calc-box {
	background: var(--ogc-ivory);
	border: 1px solid var(--ogc-border);
	border-radius: 20px;
	padding: 32px;
}

.ogc-calc-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 28px;
	align-items: center;
}

.ogc-range-group {
	margin-bottom: 18px;
}

.ogc-range-group label {
	display: block;
	font-size: 14px;
	margin-bottom: 8px;
}

.ogc-range-group input[type="range"] {
	width: 100%;
	accent-color: var(--ogc-burgundy);
}

.ogc-calc-note {
	font-size: 12px;
	color: var(--ogc-muted);
	margin: 0;
}

.ogc-calc-result {
	background: linear-gradient(135deg, var(--ogc-burgundy) 0%, var(--ogc-burgundy-dark) 100%);
	color: #FFFFFF;
	border-radius: 18px;
	padding: 28px 22px;
	text-align: center;
}

.ogc-calc-result__label {
	display: block;
	font-size: 13px;
	color: var(--ogc-gold-light);
	margin-bottom: 6px;
}

.ogc-calc-result__value {
	display: block;
	font-size: 30px;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 10px;
}

.ogc-calc-result__yearly {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

/* Steps */
.ogc-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.ogc-step {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: var(--ogc-radius);
	padding: 22px;
	text-align: center;
}

.ogc-step__num {
	display: inline-flex;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ogc-gold-soft);
	color: var(--ogc-burgundy);
	font-weight: 800;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	border: 1px solid var(--ogc-gold);
}

.ogc-step h4 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--ogc-burgundy);
}

.ogc-step p {
	margin: 0;
	font-size: 13px;
	color: var(--ogc-muted);
}

/* FAQ */
.ogc-faq {
	display: grid;
	gap: 12px;
	max-width: 860px;
	margin: 0 auto;
}

.ogc-faq details {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: 14px;
	padding: 16px 20px;
}

.ogc-faq summary {
	font-weight: 700;
	color: var(--ogc-burgundy);
	cursor: pointer;
}

.ogc-faq details p {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--ogc-muted);
}

/* Auth Card */
.ogc-auth-card {
	max-width: 560px;
	margin: 0 auto;
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: 22px;
	padding: 34px 30px;
	box-shadow: var(--ogc-shadow);
}

.ogc-auth-card__header {
	text-align: center;
	margin-bottom: 24px;
}

.ogc-auth-card__header h2 {
	margin: 0 0 6px;
	color: var(--ogc-burgundy);
}

.ogc-auth-card__header p {
	margin: 0;
	font-size: 14px;
	color: var(--ogc-muted);
}

.ogc-field {
	margin-bottom: 16px;
}

.ogc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.ogc-field input[type="text"],
.ogc-field input[type="tel"],
.ogc-field input[type="number"],
.ogc-field input[type="month"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ogc-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	background: #FFFDFB;
}

.ogc-field input:focus {
	outline: none;
	border-color: var(--ogc-gold);
	box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.2);
}

.ogc-field-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.ogc-otp-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	font-size: 12px;
	color: var(--ogc-muted);
}

.ogc-terms-box {
	background: var(--ogc-ivory);
	border: 1px solid var(--ogc-border);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 18px;
	font-size: 13px;
}

.ogc-terms-content {
	max-height: 140px;
	overflow-y: auto;
	margin: 10px 0;
	padding: 10px;
	background: #FFFFFF;
	border-radius: 8px;
	font-size: 12px;
	color: var(--ogc-muted);
}

.ogc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	cursor: pointer;
}

.ogc-alert {
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
}

.ogc-alert--success {
	background: #ECFDF3;
	color: var(--ogc-success);
	border: 1px solid #ABEFC6;
}

.ogc-alert--error {
	background: #FEF3F2;
	color: var(--ogc-danger);
	border: 1px solid #FECDCA;
}

/* Dashboard Hero & Digital Gold Card */
.ogc-announcement {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--ogc-gold-soft);
	border: 1px solid rgba(200, 162, 74, 0.5);
	color: var(--ogc-burgundy-dark);
	padding: 12px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 22px;
}

.ogc-announcement__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ogc-burgundy);
	flex-shrink: 0;
}

.ogc-dash-hero {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 22px;
	margin-bottom: 26px;
}

.ogc-gold-card {
	position: relative;
	background: linear-gradient(135deg, #2D060D 0%, #6B0F1A 52%, #A67C2E 100%);
	color: #FFFFFF;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 18px 36px rgba(72, 8, 17, 0.25);
	border: 1px solid rgba(232, 207, 136, 0.45);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 215px;
}

.ogc-gold-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ogc-gold-card__brand {
	font-size: 11px;
	letter-spacing: 1.4px;
	font-weight: 700;
	color: var(--ogc-gold-light);
}

.ogc-gold-card__chip {
	background: rgba(232, 207, 136, 0.2);
	border: 1px solid rgba(232, 207, 136, 0.5);
	color: #FFF8E1;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.ogc-gold-card__code {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 2px;
	color: var(--ogc-gold-light);
	margin: 18px 0;
	direction: ltr;
	text-align: center;
}

.ogc-gold-card__bottom {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding-top: 12px;
}

.ogc-gold-card__bottom small {
	display: block;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.7);
}

.ogc-gold-card__bottom strong {
	font-size: 13px;
}

.ogc-share-panel {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: 20px;
	padding: 24px 26px;
	box-shadow: var(--ogc-shadow);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ogc-share-panel h3 {
	margin: 0 0 6px;
	color: var(--ogc-burgundy);
	font-size: 18px;
}

.ogc-share-panel p {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--ogc-muted);
}

.ogc-copy-row {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}

.ogc-copy-row input {
	flex: 1;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid var(--ogc-border);
	background: var(--ogc-ivory);
	font-size: 13px;
}

.ogc-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ogc-chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--ogc-border);
	background: var(--ogc-ivory);
	color: var(--ogc-text);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.ogc-chip-btn--wa { background: #E9FBF0; border-color: #B4ECCB; color: #126A3A; }
.ogc-chip-btn--tg { background: #EAF6FD; border-color: #BCE2F9; color: #0B6194; }
.ogc-chip-btn--et { background: #FFF3E8; border-color: #FAD3B0; color: #A64B00; }

/* KPI Grid */
.ogc-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
	gap: 16px;
	margin-bottom: 26px;
}

.ogc-kpi-card {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 6px 18px rgba(72, 8, 17, 0.04);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ogc-kpi-card--highlight {
	background: linear-gradient(145deg, #FFFDF6 0%, #F9EED3 100%);
	border-color: var(--ogc-gold);
}

.ogc-kpi-label {
	font-size: 12px;
	color: var(--ogc-muted);
	font-weight: 600;
}

.ogc-kpi-value {
	font-size: 20px;
	font-weight: 800;
	color: var(--ogc-burgundy);
}

.ogc-kpi-value--sm {
	font-size: 14px;
	direction: ltr;
	text-align: right;
}

.ogc-kpi-sub {
	font-size: 12px;
	color: var(--ogc-muted);
}

/* Tabs & Tables */
.ogc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.ogc-tab {
	padding: 10px 18px;
	border-radius: 12px;
	border: 1px solid var(--ogc-border);
	background: var(--ogc-surface);
	color: var(--ogc-muted);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.ogc-tab.is-active {
	background: var(--ogc-burgundy);
	color: #FFFFFF;
	border-color: var(--ogc-burgundy);
}

.ogc-tab-panel {
	display: none;
}

.ogc-tab-panel.is-active {
	display: block;
}

.ogc-card {
	background: var(--ogc-surface);
	border: 1px solid var(--ogc-border);
	border-radius: 18px;
	padding: 24px;
	box-shadow: var(--ogc-shadow);
}

.ogc-card h3 {
	margin: 0 0 14px;
	color: var(--ogc-burgundy);
	font-size: 18px;
}

.ogc-card__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.ogc-table-wrap {
	overflow-x: auto;
}

.ogc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.ogc-table th,
.ogc-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--ogc-border);
	text-align: right;
}

.ogc-table th {
	background: var(--ogc-ivory);
	color: var(--ogc-burgundy);
	font-weight: 700;
}

.ogc-pos { color: var(--ogc-success); font-weight: 700; }
.ogc-neg { color: var(--ogc-danger); font-weight: 700; }

.ogc-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: #F3EFE9;
	color: var(--ogc-text);
}

.ogc-badge--payable, .ogc-badge--paid { background: #ECFDF3; color: var(--ogc-success); }
.ogc-badge--pending, .ogc-badge--requested { background: #FEF6E4; color: #9A6700; }
.ogc-badge--reversed, .ogc-badge--rejected { background: #FEF3F2; color: var(--ogc-danger); }

.ogc-report-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.ogc-report-stat {
	background: var(--ogc-ivory);
	border: 1px solid var(--ogc-border);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
}

.ogc-report-stat span {
	display: block;
	font-size: 12px;
	color: var(--ogc-muted);
	margin-bottom: 6px;
}

.ogc-report-stat strong {
	font-size: 18px;
	color: var(--ogc-burgundy);
}

/* WooCommerce Product & Cart Integrations */
.ogc-product-member-price {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--ogc-burgundy);
}

.ogc-badge-gold {
	display: inline-block;
	background: var(--ogc-gold-soft);
	border: 1px solid var(--ogc-gold);
	color: var(--ogc-burgundy);
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	margin-left: 6px;
}

.ogc-cart-banner {
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ogc-cart-banner--active {
	background: #ECFDF3;
	border: 1px solid #ABEFC6;
	color: #125836;
}

.ogc-cart-banner--invite {
	background: var(--ogc-gold-soft);
	border: 1px solid var(--ogc-gold);
	color: var(--ogc-burgundy-dark);
}

.ogc-cart-banner-btn {
	background: var(--ogc-burgundy);
	color: #FFFFFF !important;
	padding: 6px 14px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
}

@media (max-width: 860px) {
	.ogc-dash-hero,
	.ogc-calc-grid {
		grid-template-columns: 1fr;
	}
	.ogc-hero {
		padding: 34px 22px;
	}
}
