/* ==========================================================================
   Soltech – nadzorna plošča "Moj račun"
   ========================================================================== */

.soltech-dash {
	--st-green: #37c55d;
	--st-green-d: #2aa64b;
	--st-green-l: #eaf9ef;
	--st-blue: #007bc4;
	--st-yellow: #fbbc34;
	--st-ink: #1f2d24;
	--st-muted: #6b7a71;
	--st-line: #e6ebe7;
	color: var(--st-ink);
}

.soltech-dash a { text-decoration: none; }

/* --- Značka statusa ------------------------------------------------------ */

.soltech-badge {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 900;
	letter-spacing: .8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #eef1ef;
	color: #5d6d64;
	white-space: nowrap;
}

.soltech-badge--partner { background: var(--st-green-l); color: var(--st-green-d); }
.soltech-badge--pending { background: #fff5e0; color: #9a7411; }

/* --- Pozdrav ------------------------------------------------------------- */

.soltech-hero {
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 14px;
	padding: 22px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 18px;
}

.soltech-hero__hi { font-size: 21px; font-weight: 900; margin: 0 0 4px; line-height: 1.3; }
.soltech-hero__sub { font-size: 14px; color: var(--st-muted); }

/* --- Statistike ---------------------------------------------------------- */

.soltech-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-bottom: 18px;
}

.soltech-stat {
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 15px 17px;
}

.soltech-stat b { display: block; font-size: 23px; line-height: 1.25; }
.soltech-stat b .woocommerce-Price-amount { font-size: inherit; }
.soltech-stat span {
	font-size: 12.5px;
	color: var(--st-muted);
	text-transform: uppercase;
	letter-spacing: .5px;
	font-weight: 700;
}

/* --- Partnerski panel ---------------------------------------------------- */

.soltech-panel {
	border-radius: 14px;
	padding: 24px 26px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.soltech-panel h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.soltech-panel p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; max-width: 640px; }

.soltech-panel--no { background: linear-gradient(135deg, #12261a, #1f4a2c); color: #fff; }
.soltech-panel--no h3 { color: #fff; }
.soltech-panel--no p { color: rgba(255, 255, 255, .82); }
.soltech-panel--no::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: rgba(55, 197, 93, .18);
}

.soltech-panel__pill {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 900;
	letter-spacing: .8px;
	background: rgba(255, 255, 255, .14);
	padding: 5px 11px;
	border-radius: 999px;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}

.soltech-perks {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}

.soltech-perks li {
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #dff3e6;
	margin: 0;
}

.soltech-perks svg { width: 16px; height: 16px; stroke: var(--st-green); fill: none; stroke-width: 2.4; }

.soltech-btn {
	display: inline-block;
	background: var(--st-green);
	color: #fff;
	font-weight: 900;
	font-size: 14px;
	letter-spacing: .4px;
	padding: 13px 24px;
	border-radius: 9px;
	position: relative;
	z-index: 1;
	transition: background .15s ease;
}

.soltech-btn:hover { background: var(--st-green-d); color: #fff; }

.soltech-btn--ghost {
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, .35);
	color: #fff;
	margin-left: 10px;
}

.soltech-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.soltech-panel--yes,
.soltech-panel--wait { display: flex; align-items: center; gap: 18px; }

.soltech-panel--yes { background: var(--st-green-l); border: 1px solid #bfe8cc; }
.soltech-panel--yes h3 { color: var(--st-green-d); }
.soltech-panel--yes p { color: #3f5a48; margin: 0; }

.soltech-panel--wait { background: #fffaf0; border: 1px solid #f3e0b8; }
.soltech-panel--wait h3 { color: #8a6a12; }
.soltech-panel--wait p { color: #6d5a2c; margin: 0; }

.soltech-panel__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
}

.soltech-panel__icon--green { background: var(--st-green); }
.soltech-panel__icon--yellow { background: var(--st-yellow); }
.soltech-panel__icon svg {
	width: 26px;
	height: 26px;
	stroke: #fff;
	fill: none;
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* --- Kartice ------------------------------------------------------------- */

.soltech-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 22px;
}

.soltech-card {
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 20px;
	color: inherit;
	display: block;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.soltech-card:hover { border-color: var(--st-green); box-shadow: 0 6px 18px rgba(31, 45, 36, .07); color: inherit; }

.soltech-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--st-green-l);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 13px;
}

.soltech-card__icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--st-green-d);
	fill: none;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.soltech-card b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.soltech-card__desc { font-size: 13px; color: var(--st-muted); line-height: 1.5; }

/* --- Škatla / tabela ----------------------------------------------------- */

.soltech-box {
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
}

.soltech-box h4 {
	margin: 0;
	padding: 16px 20px;
	font-size: 15px;
	border-bottom: 1px solid var(--st-line);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.soltech-box h4 a { font-size: 13px; color: var(--st-blue); font-weight: 700; }
.soltech-box--empty { padding: 22px 20px; }
.soltech-box--empty p { margin: 0; }

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

table.soltech-table td,
table.soltech-table th {
	padding: 13px 20px;
	text-align: left;
	border: 0;
	border-bottom: 1px solid #f1f4f2;
}

table.soltech-table th {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--st-muted);
	font-weight: 700;
}

table.soltech-table tr:last-child td { border-bottom: 0; }
table.soltech-table td a { color: var(--st-blue); font-weight: 700; }

.soltech-st {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 900;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--st-green-l);
	color: var(--st-green-d);
}

.soltech-st--open { background: #fff5e0; color: #9a7411; }

.soltech-note { font-size: 13px; color: var(--st-muted); padding: 14px 20px 16px; margin: 0; }
.soltech-list { margin: 0; padding: 16px 20px 18px 38px; font-size: 14.5px; line-height: 1.7; }

/* --- Meni: zavihek Partnerstvo ------------------------------------------- */

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--partnerstvo a { font-weight: 700; }

/* --- Mobilno ------------------------------------------------------------- */

@media (max-width: 1024px) {
	.soltech-grid { grid-template-columns: repeat(2, 1fr); }
	.soltech-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
	.soltech-grid,
	.soltech-stats { grid-template-columns: 1fr; }
	.soltech-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
	.soltech-panel { padding: 20px; }
	.soltech-panel--yes,
	.soltech-panel--wait { flex-direction: column; align-items: flex-start; }
	.soltech-btn--ghost { margin: 10px 0 0; }
	.soltech-perks { gap: 10px; flex-direction: column; }
	table.soltech-table thead { display: none; }
	table.soltech-table tr { display: block; border-bottom: 1px solid #f1f4f2; padding: 6px 0; }
	table.soltech-table td { display: flex; justify-content: space-between; border: 0; padding: 7px 20px; }
}
