/* WooCommerce eSIM Platform - Product variants styles */

.wcesim-variant-admin-wrap {
	margin: 18px 0 4px;
	padding: 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.wcesim-variant-admin-note {
	margin-bottom: 10px;
}

.wcesim-variant-admin-wrap .wcesim-multi-mode-section {
	padding: 12px;
	background: #f6f7f7;
	border: 1px dashed #ccd0d4;
	border-radius: 8px;
}

.wcesim-variant-admin-note .description {
	display: block;
	margin-top: 4px;
	color: #646970;
}

.wcesim-single-mode-fields .description {
	font-style: italic;
}

.wcesim-variant-table {
	border-collapse: collapse;
	border: 1px solid #d0d5db;
	background: #fff;
}

.wcesim-variant-table thead th {
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-bottom: 1px solid #d0d5db;
}

.wcesim-variant-table th,
.wcesim-variant-table td {
	vertical-align: top;
}

.wcesim-variant-table input,
.wcesim-variant-table select {
	width: 100%;
	min-height: 36px;
	border-color: #c3c4c7;
	color: #111827;
	background: #ffffff;
}

.wcesim-variant-table input::placeholder {
	color: #6b7280;
	opacity: 1;
}

.wcesim-variant-row td {
	padding-top: 10px;
	padding-bottom: 10px;
}

.wcesim-variant-row:nth-child(even) {
	background: #fcfdff;
}

.wcesim-variant-selector {
	margin: 0 0 20px;
	padding: 18px;
	border: 1px solid #d7dde3;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.wcesim-variant-summary {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e8edf2;
}

.wcesim-variant-summary-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

.wcesim-variant-summary-name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #0f172a;
}

.wcesim-variant-summary-meta {
	font-size: 14px;
	color: #475569;
}

.wcesim-variant-summary-price {
	font-size: 18px;
	font-weight: 700;
	color: #0f766e;
}

.wcesim-variant-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
	border: 0;
	padding: 0;
	margin: 0;
}

.wcesim-variant-card {
	position: relative;
	display: grid;
	gap: 6px;
	padding: 14px;
	border: 1px solid #d7dde3;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wcesim-variant-card:hover {
	border-color: #94a3b8;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.wcesim-variant-card.is-selected {
	border-color: #0f766e;
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.16);
	background: linear-gradient(180deg, rgba(15, 118, 110, 0.06) 0%, #ffffff 100%);
}

.wcesim-variant-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wcesim-variant-card-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.wcesim-variant-card-meta {
	font-size: 13px;
	color: #475569;
}

.wcesim-variant-card-price {
	font-size: 15px;
	font-weight: 700;
	color: #0f766e;
}

@media (max-width: 782px) {
	.wcesim-variant-selector {
		padding: 14px;
	}

	.wcesim-variant-summary-name {
		font-size: 18px;
	}
}
