/* IDD Gold Card Public Stylesheet */

.iddgc-card-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2rem 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.iddgc-gold-card-badge {
	width: 100%;
	max-width: 420px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
	border: 2px solid #fbbf24;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(251, 191, 36, 0.2);
	position: relative;
	overflow: hidden;
	color: #f8fafc;
	box-sizing: border-box;
}

.iddgc-gold-card-badge::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
	pointer-events: none;
}

.iddgc-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.iddgc-card-brand {
	display: flex;
	flex-direction: column;
}

.iddgc-brand-title {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 2px;
	background: linear-gradient(90deg, #fef08a, #fbbf24, #f59e0b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
}

.iddgc-brand-subtitle {
	font-size: 10px;
	letter-spacing: 1.5px;
	color: #94a3b8;
	text-transform: uppercase;
	margin-top: 2px;
}

.iddgc-card-status-chip {
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.iddgc-chip-active {
	background: rgba(34, 197, 94, 0.2);
	color: #4ade80;
	border: 1px solid #22c55e;
}

.iddgc-chip-expired,
.iddgc-chip-inactive,
.iddgc-chip-cancelled {
	background: rgba(239, 68, 68, 0.2);
	color: #f87171;
	border: 1px solid #ef4444;
}

.iddgc-chip-pending {
	background: rgba(234, 179, 8, 0.2);
	color: #facc15;
	border: 1px solid #eab308;
}

.iddgc-card-middle {
	display: flex;
	justify-content: center;
	margin: 16px 0 24px;
}

.iddgc-qr-wrapper {
	background: #ffffff;
	padding: 12px;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
	display: inline-flex;
}

.iddgc-qr-wrapper svg {
	display: block;
}

.iddgc-card-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 16px;
}

.iddgc-card-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.iddgc-info-item {
	display: flex;
	flex-direction: column;
}

.iddgc-info-item:nth-child(2) {
	grid-column: span 2;
}

.iddgc-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #64748b;
	margin-bottom: 2px;
}

.iddgc-val {
	font-size: 14px;
	font-weight: 600;
	color: #f8fafc;
}

.iddgc-card-num {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #fef08a;
}

/* Public Registration Form Styles */
.iddgc-registration-wrapper {
	max-width: 480px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.iddgc-registration-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
}

.iddgc-card-header {
	text-align: center;
	margin-bottom: 24px;
}

.iddgc-card-header h2 {
	margin: 0 0 8px;
	font-size: 24px;
	color: #0f172a;
	font-weight: 800;
}

.iddgc-card-header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.iddgc-form-group {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
}

.iddgc-form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
}

.iddgc-form-group input {
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.iddgc-form-group input:focus {
	outline: none;
	border-color: #fbbf24;
	box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.iddgc-btn-primary {
	width: 100%;
	padding: 12px 20px;
	background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.2s;
	margin-top: 8px;
}

.iddgc-btn-primary:hover {
	background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
	box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

.iddgc-alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.iddgc-alert-success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.iddgc-alert-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.iddgc-notice {
	padding: 14px 18px;
	border-radius: 8px;
	margin: 1rem 0;
	font-size: 14px;
}

.iddgc-notice-info {
	background: #eff6ff;
	color: #1e40af;
	border: 1px solid #bfdbfe;
}

.iddgc-notice-warning {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
}

/* Public Checkout Styles */
.iddgc-checkout-wrapper {
	max-width: 520px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.iddgc-checkout-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
}

.iddgc-checkout-header {
	text-align: center;
	margin-bottom: 24px;
}

.iddgc-checkout-header h2 {
	margin: 0 0 8px;
	font-size: 22px;
	color: #0f172a;
	font-weight: 800;
}

.iddgc-checkout-header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

.iddgc-order-summary {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.iddgc-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px dashed #e2e8f0;
	font-size: 14px;
	color: #475569;
}

.iddgc-summary-row:last-child {
	border-bottom: none;
}

.iddgc-summary-total {
	font-weight: 700;
	font-size: 16px;
	color: #0f172a;
	padding-top: 12px;
}

.iddgc-price-tag {
	font-size: 20px;
	font-weight: 800;
	color: #d97706;
}

.iddgc-radio-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.iddgc-radio-option {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
}

.iddgc-radio-option:hover {
	border-color: #fbbf24;
	background-color: #fffbeb;
}

.iddgc-radio-option input[type="radio"] {
	margin-right: 12px;
}

/* Member Dashboard Styles */
.iddgc-dash-wrapper {
	max-width: 960px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.iddgc-dash-header {
	background: #0f172a;
	color: #ffffff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #1e293b;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	margin-bottom: 24px;
}

.iddgc-user-summary {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.iddgc-user-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
	color: #0f172a;
	font-size: 20px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	flex-shrink: 0;
}

.iddgc-user-meta {
	flex: 1;
}

.iddgc-user-name {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: #ffffff;
}

.iddgc-user-email {
	margin: 0;
	color: #94a3b8;
	font-size: 14px;
}

.iddgc-user-email code {
	color: #fbbf24;
	background: #1e293b;
	padding: 2px 6px;
	border-radius: 4px;
}

.iddgc-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.iddgc-stat-box {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
}

.iddgc-stat-num {
	font-size: 20px;
	font-weight: 800;
	color: #fbbf24;
}

.iddgc-stat-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
}

.iddgc-dash-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 24px;
	overflow-x: auto;
}

.iddgc-tab-btn {
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;

}

.iddgc-tab-btn:hover {
	color: #0f172a;
}

.iddgc-tab-btn.active {
	color: #d97706;
	border-bottom-color: #d97706;
}

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

.iddgc-tab-panel.active {
	display: block;
}

.iddgc-panel-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.iddgc-panel-card h3 {
	margin: 0 0 12px;
	font-size: 18px;
	color: #0f172a;
	font-weight: 800;
}

.iddgc-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 600px) {
	.iddgc-form-grid {
		grid-template-columns: 1fr;
	}
}

.iddgc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.iddgc-table th {
	background: #f8fafc;
	text-align: left;
	padding: 10px 14px;
	color: #475569;
	font-weight: 700;
	border-bottom: 1px solid #e2e8f0;
}

.iddgc-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
	color: #1e293b;
}

.iddgc-saved-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.iddgc-saved-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s;
}

.iddgc-saved-item:hover {
	border-color: #fbbf24;
}

.iddgc-saved-title {
	font-weight: 800;
	font-size: 14px;
	color: #0f172a;
	margin-bottom: 4px;
}

.iddgc-saved-deal {
	font-size: 13px;
	color: #d97706;
	font-weight: 700;
	margin-bottom: 12px;
}

.iddgc-saved-btn {
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	color: #2563eb;
	text-decoration: none;
}

.iddgc-saved-btn:hover {
	text-decoration: underline;
}

/* Membership Plan Toggle Styles */
.iddgc-plan-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 8px;
}

@media (max-width: 580px) {
	.iddgc-plan-toggle {
		grid-template-columns: 1fr;
	}
}

.iddgc-plan-card {
	position: relative;
	border: 2px solid #cbd5e1;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	background: #ffffff;
	transition: all 0.2s ease;
}

.iddgc-plan-card:hover {
	border-color: #fbbf24;
	background: #fffdf5;
}

.iddgc-plan-card input[type="radio"] {
	margin-top: 4px;
	accent-color: #d97706;
	width: 18px;
	height: 18px;
}

.iddgc-plan-card input[type="radio"]:checked + .iddgc-plan-info {
	color: #0f172a;
}

.iddgc-plan-card:has(input[type="radio"]:checked) {
	border-color: #d97706;
	background: #fffbeb;
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.iddgc-plan-info {
	display: flex;
	flex-direction: column;
}

.iddgc-plan-name {
	font-weight: 800;
	font-size: 15px;
	color: #0f172a;
}

.iddgc-plan-price {
	font-size: 20px;
	font-weight: 900;
	color: #d97706;
	margin: 4px 0;
}

.iddgc-plan-price small {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.iddgc-plan-desc {
	font-size: 12px;
	color: #64748b;
}

.iddgc-plan-recommended {
	border-color: #fbbf24;
}

.iddgc-plan-badge {
	position: absolute;
	top: -12px;
	right: 12px;
	background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
	color: #000000;
	font-size: 10px;
	font-weight: 900;
	padding: 2px 8px;
	border-radius: 20px;
	letter-spacing: 0.5px;
}

/* WooCommerce Checkout Plan Switcher */
.iddgc-checkout-plan-switcher {
	background: #0f172a;
	color: #ffffff;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 28px;
	border: 1px solid #1e293b;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	position: relative;
	transition: opacity 0.2s;
}

.iddgc-checkout-plan-switcher.iddgc-loading {
	opacity: 0.6;
	pointer-events: none;
}

.iddgc-checkout-plan-header h3 {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 800;
	color: #fbbf24;
}

.iddgc-checkout-plan-header p {
	margin: 0 0 16px 0;
	font-size: 13px;
	color: #94a3b8;
}

.iddgc-checkout-plan-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 600px) {
	.iddgc-checkout-plan-options {
		grid-template-columns: 1fr;
	}
}

.iddgc-checkout-plan-btn {
	position: relative;
	background: #1e293b;
	border: 2px solid #334155;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.iddgc-checkout-plan-btn:hover {
	border-color: #fbbf24;
}

.iddgc-checkout-plan-btn.active {
	border-color: #fbbf24;
	background: #1e293b;
	box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.iddgc-checkout-plan-btn input[type="radio"] {
	margin-top: 4px;
	accent-color: #fbbf24;
	width: 18px;
	height: 18px;
}

.iddgc-checkout-plan-info {
	display: flex;
	flex-direction: column;
}

.iddgc-checkout-plan-title {
	font-weight: 800;
	font-size: 15px;
	color: #ffffff;
}

.iddgc-checkout-plan-price {
	font-size: 20px;
	font-weight: 900;
	color: #fbbf24;
	margin: 2px 0;
}

.iddgc-checkout-plan-price small {
	font-size: 12px;
	color: #94a3b8;
}

.iddgc-checkout-plan-desc {
	font-size: 12px;
	color: #94a3b8;
}

.iddgc-checkout-plan-tag {
	position: absolute;
	top: -10px;
	right: 12px;
	background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
	color: #000000;
	font-size: 10px;
	font-weight: 900;
	padding: 2px 8px;
	border-radius: 20px;
	letter-spacing: 0.5px;
}




