/* =====================================================
   FINTECH BALANCE CARDS
   ===================================================== */

.ubm-balance-cards {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 600px;
}

.ubm-balance-card {
	background: #ffffff;
	border: 1px solid #f0f0f0;
	border-radius: 16px;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color 150ms ease;
}

.ubm-balance-card:hover {
	border-color: #e5e5e5;
}

.ubm-balance-card-main {
	padding: 32px 32px;
}

.ubm-balance-card-label {
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	letter-spacing: -0.01em;
}

.ubm-balance-card-value {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: -0.02em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.ubm-balance-card-main .ubm-balance-card-value {
	font-size: 48px;
}

.ubm-balance-card-value-accent {
	color: #2563eb;
}

.ubm-balance-cards-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ubm-balance-card-secondary {
	padding: 20px 24px;
}

.ubm-balance-card-secondary .ubm-balance-card-value {
	font-size: 28px;
}

@media (max-width: 600px) {
	.ubm-balance-cards {
		gap: 12px;
	}

	.ubm-balance-cards-row {
		grid-template-columns: 1fr;
	}

	.ubm-balance-card {
		border-radius: 14px;
	}

	.ubm-balance-card-main {
		padding: 24px;
	}

	.ubm-balance-card-main .ubm-balance-card-value {
		font-size: 40px;
	}

	.ubm-balance-card-secondary {
		padding: 18px 20px;
	}

	.ubm-balance-card-secondary .ubm-balance-card-value {
		font-size: 24px;
	}

	.ubm-balance-card-label {
		font-size: 13px;
	}
}

/* Legacy card style (kept for compatibility) */
.user-balance-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ubm-widget {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ubm-history-widget {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(17, 24, 39, 0.10);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
	background: #fff;
}

.ubm-theme-dark.ubm-history-widget {
	background: #000;
	border-color: rgba(255, 255, 255, 0.10);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ubm-history-header {
	padding: 18px 18px 10px;
}

.ubm-history-title {
	font-weight: 800;
	font-size: 16px;
	color: #111827;
}

.ubm-theme-dark .ubm-history-title {
	color: rgba(255, 255, 255, 0.92);
}

.ubm-history-subtitle {
	margin-top: 4px;
	font-size: 13px;
	color: #6b7280;
}

.ubm-theme-dark .ubm-history-subtitle {
	color: rgba(255, 255, 255, 0.60);
}

.ubm-theme-dark .user-balance-card {
	background: linear-gradient(135deg, #000000 0%, #070707 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.10);
}

.ubm-theme-light .user-balance-card {
	background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
	color: #111827;
	border: 1px solid #e5e7eb;
}

.ubm-theme-light .user-balance-card p {
	color: #374151;
}

.ubm-history-table {
	width: 100%;
	border-collapse: collapse;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	overflow-x: auto;
}

.ubm-history-table thead th {
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #6b7280;
	background: rgba(17, 24, 39, 0.03);
}

.ubm-theme-dark .ubm-history-table thead th {
	color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.06);
}

.ubm-theme-dark .ubm-history-table {
	color: #e5e7eb;
}

.ubm-history-table th,
.ubm-history-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #e5e7eb;
}

.ubm-theme-dark .ubm-history-table th,
.ubm-theme-dark .ubm-history-table td {
	border-bottom-color: rgba(255, 255, 255, 0.10);
}

.ubm-history-table tr:nth-child(odd) {
	background: #f9fafb;
}

.ubm-history-table tr:nth-child(even) {
	background: #ffffff;
}

.ubm-theme-dark .ubm-history-table tr:nth-child(odd) {
	background: rgba(255, 255, 255, 0.04);
}

.ubm-theme-dark .ubm-history-table tr:nth-child(even) {
	background: rgba(0, 0, 0, 0.38);
}

.ubm-history-table tr:hover {
	background: #eef2ff;
}

.ubm-theme-dark .ubm-history-table tr:hover {
	background: rgba(79, 70, 229, 0.14);
}

.ubm-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 12px;
	font-size: 12px;
}
.ubm-badge.pending { background: #fbbf24; color: #212529; }
.ubm-badge.completed { background: #10b981; color: #fff; }
.ubm-badge.cancelled { background: #ef4444; color: #fff; }

.ubm-balance-amount {
	font-size: 2.5rem;
	font-weight: 600;
}

.ubm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 10px;
	border: none;
	background: #4361ee;
	color: #fff;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ubm-withdraw-button {
	background: #4361ee;
}

.ubm-button:hover {
	background: #3a0ca3;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(67, 97, 238, 0.25);
}

.ubm-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ubm-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.ubm-date-toggle {
	margin-left: 0;
	margin-right: 10px;
	border: none;
	background: transparent;
	color: #4361ee;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.ubm-date-toggle:hover {
	text-decoration: underline;
}

.ubm-date-toggle:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
	border-radius: 8px;
}

.ubm-history-table td:last-child {
	white-space: nowrap;
}

.ubm-theme-dark .ubm-date-toggle {
	color: #93c5fd;
}



@media (max-width: 600px) {
	.user-balance-card {
		padding: 1rem;
	}

	.ubm-history-table {
		min-width: 0;
	}

	.ubm-date-toggle {
		display: inline-flex;
		margin-left: 12px;
		font-size: 12px;
	}
}

/* =====================================================
   FINTECH MODERN WIDGET - Transaction History
   ===================================================== */

.ubm-fintech-widget {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.ubm-fintech-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 24px 28px 20px;
	gap: 16px;
	flex-wrap: wrap;
}

.ubm-fintech-header-left {
	flex: 1;
	min-width: 180px;
}

.ubm-fintech-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: -0.02em;
}

.ubm-fintech-subtitle {
	margin: 6px 0 0;
	font-size: 14px;
	color: #6b7280;
	font-weight: 400;
}

.ubm-fintech-header-right {
	flex-shrink: 0;
}

.ubm-fintech-tabs {
	display: flex;
	gap: 4px;
	background: #f5f5f5;
	padding: 4px;
	border-radius: 10px;
}

.ubm-fintech-tab {
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 150ms ease;
	white-space: nowrap;
}

.ubm-fintech-tab:hover {
	color: #374151;
	background: rgba(0, 0, 0, 0.04);
}

.ubm-fintech-tab.is-active {
	color: #1a1a1a;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ubm-fintech-list-header {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 100px;
	gap: 12px;
	padding: 12px 28px;
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
}

.ubm-fintech-list-header span {
	font-size: 11px;
	font-weight: 600;
	color: #9ca3af;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ubm-fintech-list {
	background: #ffffff;
}

.ubm-fintech-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 100px;
	gap: 12px;
	align-items: center;
	padding: 16px 28px;
	border-bottom: 1px solid #f5f5f5;
	transition: background 150ms ease;
}

.ubm-fintech-row:last-child {
	border-bottom: none;
}

.ubm-fintech-row:hover {
	background: #fafbfc;
}

.ubm-fintech-col {
	display: flex;
	align-items: center;
}

.ubm-fintech-col-type {
	gap: 14px;
}

.ubm-fintech-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ubm-icon-deposit {
	background: rgba(16, 185, 129, 0.10);
	color: #10b981;
}

.ubm-icon-withdrawal {
	background: rgba(239, 68, 68, 0.10);
	color: #ef4444;
}

.ubm-fintech-type-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ubm-fintech-type-label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.ubm-fintech-type-date {
	font-size: 12px;
	color: #9ca3af;
}

.ubm-fintech-col-amount {
	justify-content: flex-start;
}

.ubm-fintech-amount {
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.ubm-amount-positive {
	color: #10b981;
}

.ubm-amount-negative {
	color: #ef4444;
}

.ubm-fintech-col-status {
	justify-content: flex-start;
}

.ubm-fintech-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	text-transform: capitalize;
}

.ubm-fintech-badge-pending {
	background: #fef3c7;
	color: #92400e;
}

.ubm-fintech-badge-completed {
	background: #d1fae5;
	color: #065f46;
}

.ubm-fintech-badge-cancelled {
	background: #fee2e2;
	color: #991b1b;
}

.ubm-fintech-col-action {
	justify-content: flex-end;
}

.ubm-fintech-details-btn {
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	min-width: 90px;
	text-align: center;
	color: #6b7280;
	background: transparent;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: all 150ms ease;
}

.ubm-fintech-details-btn:hover {
	color: #374151;
	border-color: #d1d5db;
	background: #f9fafb;
}

.ubm-fintech-details-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ubm-fintech-empty {
	padding: 48px 28px;
	text-align: center;
}

.ubm-fintech-empty p {
	margin: 0;
	font-size: 14px;
	color: #9ca3af;
}

.ubm-fintech-footer {
	padding: 16px 28px 24px;
	text-align: center;
	border-top: 1px solid #f0f0f0;
}

.ubm-fintech-load-more {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: all 150ms ease;
}

.ubm-fintech-load-more:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.ubm-fintech-modal-overlay {
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
}

.ubm-fintech-modal {
	background: #ffffff;
	border-radius: 16px;
	max-width: 400px;
	border: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ubm-fintech-modal .ubm-modal-header {
	padding: 20px 24px 0;
	border: none;
}

.ubm-fintech-modal .ubm-modal-header h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
}

.ubm-fintech-modal .ubm-modal-body {
	padding: 16px 24px 24px;
}

.ubm-fintech-modal-label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 500;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ubm-fintech-modal-value {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: #1a1a1a;
}

.ubm-fintech-modal-close-btn {
	width: 100%;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #ffffff;
	background: #1a1a1a;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all 150ms ease;
	margin-top: 16px;
}

.ubm-fintech-modal-close-btn:hover {
	background: #374151;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
	.ubm-fintech-header {
		flex-direction: column;
		padding: 20px;
	}

	.ubm-fintech-header-right {
		width: 100%;
	}

	.ubm-fintech-tabs {
		width: 100%;
		justify-content: center;
	}

	.ubm-fintech-list-header {
		display: none;
	}

	.ubm-fintech-row {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 20px;
	}

	.ubm-fintech-col {
		justify-content: space-between;
	}

	.ubm-fintech-col-type {
		justify-content: flex-start;
	}

	.ubm-fintech-col-amount {
		order: -1;
		justify-content: flex-end;
		position: absolute;
		right: 20px;
		top: 16px;
	}

	.ubm-fintech-row {
		position: relative;
	}

	.ubm-fintech-col-status {
		justify-content: flex-start;
	}

	.ubm-fintech-col-action {
		justify-content: flex-start;
	}

	.ubm-fintech-details-btn {
		width: 100%;
		justify-content: center;
	}

	.ubm-fintech-footer {
		padding: 16px 20px 20px;
	}
}

/* Responsive - Mobile */
@media (max-width: 480px) {
	.ubm-fintech-widget {
		border-radius: 12px;
	}

	.ubm-fintech-header {
		padding: 16px;
	}

	.ubm-fintech-title {
		font-size: 18px;
	}

	.ubm-fintech-tab {
		padding: 6px 12px;
		font-size: 12px;
	}

	.ubm-fintech-row {
		padding: 14px 16px;
	}

	.ubm-fintech-icon {
		width: 36px;
		height: 36px;
	}

	.ubm-fintech-icon svg {
		width: 14px;
		height: 14px;
	}

	.ubm-fintech-type-label {
		font-size: 13px;
	}

	.ubm-fintech-amount {
		font-size: 13px;
	}

	.ubm-fintech-badge {
		padding: 5px 10px;
		font-size: 11px;
	}
}

/* =====================================================
   DARK THEME - Balance Cards
   ===================================================== */

.ubm-theme-dark.ubm-balance-cards .ubm-balance-card {
	background: #1a1a1a;
	border-color: rgba(255, 255, 255, 0.10);
}

.ubm-theme-dark.ubm-balance-cards .ubm-balance-card:hover {
	border-color: rgba(255, 255, 255, 0.20);
}

.ubm-theme-dark.ubm-balance-cards .ubm-balance-card-label {
	color: rgba(255, 255, 255, 0.60);
}

.ubm-theme-dark.ubm-balance-cards .ubm-balance-card-value {
	color: #ffffff;
}

.ubm-theme-dark.ubm-balance-cards .ubm-balance-card-value-accent {
	color: #60a5fa;
}

/* =====================================================
   DARK THEME - Fintech Widget (History)
   ===================================================== */

.ubm-theme-dark.ubm-fintech-widget {
	background: #0a0a0a;
	border-color: rgba(255, 255, 255, 0.10);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-title {
	color: #ffffff;
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-subtitle {
	color: rgba(255, 255, 255, 0.60);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-tabs {
	background: rgba(255, 255, 255, 0.06);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-tab {
	color: rgba(255, 255, 255, 0.60);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-tab:hover {
	color: rgba(255, 255, 255, 0.80);
	background: rgba(255, 255, 255, 0.08);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-tab.is-active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-list-header {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-list-header span {
	color: rgba(255, 255, 255, 0.50);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-list {
	background: transparent;
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-row {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-row:hover {
	background: rgba(255, 255, 255, 0.04);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-type-label {
	color: #ffffff;
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-type-date {
	color: rgba(255, 255, 255, 0.50);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-details-btn {
	color: rgba(255, 255, 255, 0.70);
	border-color: rgba(255, 255, 255, 0.15);
	background: transparent;
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-details-btn:hover {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.06);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-empty p {
	color: rgba(255, 255, 255, 0.50);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-footer {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-load-more {
	color: rgba(255, 255, 255, 0.80);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
}

.ubm-theme-dark.ubm-fintech-widget .ubm-fintech-load-more:hover {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.20);
}

.ubm-theme-dark .ubm-fintech-modal {
	background: #1a1a1a;
}

.ubm-theme-dark .ubm-fintech-modal .ubm-modal-header h3 {
	color: #ffffff;
}

.ubm-theme-dark .ubm-fintech-modal-label {
	color: rgba(255, 255, 255, 0.50);
}

.ubm-theme-dark .ubm-fintech-modal-value {
	color: #ffffff;
}

.ubm-theme-dark .ubm-fintech-modal-close-btn {
	background: #ffffff;
	color: #1a1a1a;
}

.ubm-theme-dark .ubm-fintech-modal-close-btn:hover {
	background: #e5e5e5;
}

/* =====================================================
   PLATFORM TAGS
   ===================================================== */

.ubm-platform-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 6px;
	vertical-align: middle;
}

.ubm-platform-Amazon {
	background: #ff9900;
	color: #000000;
}

.ubm-platform-SHEIN {
	background: #000000;
	color: #ffffff;
}

.ubm-platform-AliExpress {
	background: #e62e04;
	color: #ffffff;
}

.ubm-platform-Temu {
	background: #fb7701;
	color: #ffffff;
}

/* Dark theme adjustments */
.ubm-theme-dark .ubm-platform-tag {
	opacity: 0.95;
}

/* =====================================================
   DETAILS MODAL - IMPROVED
   ===================================================== */

.ubm-details-modal .ubm-modal-body {
	padding: 0;
}

.ubm-details-grid {
	padding: 20px;
}

.ubm-details-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ubm-details-row:last-child {
	border-bottom: none;
}

.ubm-details-label {
	font-size: 13px;
	font-weight: 500;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ubm-details-value {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.ubm-detail-platform {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #fff;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}

/* Dark theme for details modal */
.ubm-theme-dark .ubm-details-row {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ubm-theme-dark .ubm-details-label {
	color: rgba(255, 255, 255, 0.5);
}

.ubm-theme-dark .ubm-details-value {
	color: #fff;
}

/* Hidden utility class */
.ubm-hidden {
	display: none !important;
}

/* Platform row styles */
.ubm-details-platform-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ubm-details-platform-row.ubm-hidden {
	display: none !important;
}

.ubm-details-platform-row.ubm-visible {
	display: flex !important;
}

.ubm-details-platform-row .ubm-detail-platform {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	padding: 4px 12px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 20px;
}

.ubm-theme-dark .ubm-details-platform-row {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ubm-theme-dark .ubm-details-platform-row .ubm-detail-platform {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

/* Platform tag in row */
.ubm-fintech-platform-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 12px;
	margin-left: 8px;
}

/* =====================================================
   PNL MODAL STYLES - MINIMAL
   ===================================================== */

.ubm-pnl-modal-minimal {
	max-width: 500px;
	width: 90%;
	padding: 32px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.ubm-pnl-preview-wrap {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
}

#ubm-pnl-preview {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	box-shadow: none;
	border: none;
}

.ubm-pnl-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ubm-pnl-loading span {
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
}

.ubm-pnl-loading::before {
	content: '';
	width: 32px;
	height: 32px;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: #1a1a1a;
	border-radius: 50%;
	animation: ubm-pnl-spin 0.8s linear infinite;
}

@keyframes ubm-pnl-spin {
	to {
		transform: rotate(360deg);
	}
}

.ubm-pnl-loading.ubm-pnl-error::before {
	display: none;
}

.ubm-pnl-loading.ubm-pnl-error span {
	color: #ef4444;
}

.ubm-pnl-share-btn {
	width: 100%;
	padding: 18px 24px;
	background: #1a1a1a;
	color: #ffffff;
	border: none;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.ubm-pnl-share-btn:hover {
	background: #333333;
	transform: translateY(-1px);
}

.ubm-pnl-share-btn:active {
	transform: translateY(0);
}

.ubm-pnl-share-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

@media (max-width: 600px) {
	.ubm-pnl-modal-minimal {
		width: 95%;
		padding: 24px;
		border-radius: 20px;
	}

	.ubm-pnl-preview-wrap {
		min-height: 150px;
	}

	.ubm-pnl-share-btn {
		padding: 16px 20px;
		font-size: 15px;
	}
}
