/* ==========================================================================
   tc-modern: Shared design system for restyled footer pages
   ========================================================================== */

.tc-modern {
	--vs-primary: #EE4437;
	--vs-primary-dark: #C23F37;
	--vs-radius: 8px;
	--vs-radius-lg: 12px;
	--vs-shadow: 0 2px 12px rgba(0,0,0,0.06);
	--vs-shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
	--vs-border: #ddd;
	--vs-bg: #f4f2ef;
	--vs-bg-dark: #1e2328;
	--vs-text: #2a2a2a;
	--vs-text-light: #555;
	--vs-text-muted: #888;
	--vs-blue: #2889BD;
	--vs-green: #2d6a30;
}
.tc-modern { margin-bottom: 30px; }
.tc-modern * { box-sizing: border-box; }

/* Header */
.tc-header {
	background: #fff;
	border: 1px solid var(--vs-border);
	border-left: 4px solid var(--vs-primary);
	border-radius: var(--vs-radius-lg);
	padding: 28px 28px 22px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
	box-shadow: var(--vs-shadow);
}
.tc-header-decor {
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 150px;
	height: 150px;
	border: 3px solid rgba(238, 68, 55, 0.08);
	border-radius: 50%;
	box-shadow: inset 0 0 0 22px rgba(238, 68, 55, 0.04);
	pointer-events: none;
}
.tc-header-badge {
	display: inline-block;
	background: var(--vs-primary);
	color: #fff;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.tc-header-badge i { margin-right: 4px; }
.tc-header h1 {
	font-family: 'Barlow Condensed', sans-serif;
	color: var(--vs-text);
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 8px 0;
	line-height: 1.15;
	position: relative;
}
.tc-header h1 span { color: var(--vs-primary); font-weight: 600; }
.tc-header p {
	color: var(--vs-text-light);
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
	max-width: 650px;
	position: relative;
}
.tc-header p strong { color: var(--vs-text); }

/* Tabs */
.tc-tabs {
	display: flex;
	gap: 0;
	padding: 0;
	background: transparent;
	border-bottom: 2px solid var(--vs-border);
	margin-bottom: 14px;
	margin-top: 8px;
}
.tc-tab {
	padding: 11px 24px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border: none;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--vs-text-muted);
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: -2px;
}
.tc-tab:hover:not(.tc-tab-active) {
	color: var(--vs-text);
	border-bottom-color: #ccc;
}
.tc-tab-active {
	border-bottom: 3px solid var(--vs-primary);
	color: var(--vs-primary);
}
.tc-tab-content { display: none; }
.tc-tab-content.tc-active { display: block; }

/* Cards */
.tc-card {
	background: #fff;
	border: 1px solid var(--vs-border);
	border-left: 3px solid var(--vs-primary);
	border-radius: var(--vs-radius);
	padding: 18px 20px;
	margin-bottom: 10px;
	box-shadow: var(--vs-shadow);
	transition: box-shadow 0.2s, border-color 0.2s;
}
.tc-card:hover { box-shadow: var(--vs-shadow-lg); }
.tc-card-label {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--vs-primary);
	margin: 0 0 10px 0;
}

/* Form fields */
.tc-field { margin-bottom: 12px; }
.tc-field:last-child { margin-bottom: 0; }
.tc-field label {
	display: block;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--vs-text-muted);
	margin-bottom: 4px;
}
.tc-input-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tc-select, .tc-input {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: 700;
	border: 2px solid #e8e8e8;
	border-radius: var(--vs-radius);
	background: var(--vs-bg);
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-moz-appearance: textfield;
}
.tc-select:focus, .tc-input:focus {
	outline: none;
	border-color: var(--vs-primary);
	box-shadow: 0 0 0 3px rgba(238, 68, 55, 0.12);
	background: #fff;
}
.tc-input::-webkit-outer-spin-button,
.tc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-input::placeholder { color: #ccc; font-weight: 400; font-size: 14px; }
.tc-input.tc-invalid { border-color: #a94442; background: #f2dede; box-shadow: 0 0 0 3px rgba(169,68,66,0.12); animation: tcShake 0.35s ease; }
.tc-input.tc-invalid::placeholder { color: #a94442; }
.tc-input-hint {
	font-size: 11px;
	color: var(--vs-text-muted);
	margin: 6px 0 0 0;
}

/* Buttons */
.tc-btn-compare {
	display: block;
	width: 100%;
	padding: 10px;
	background: linear-gradient(180deg, #f04a3e 0%, var(--vs-primary-dark) 100%);
	color: #fff;
	border: none;
	border-radius: var(--vs-radius);
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.2s;
	margin-top: 12px;
	box-shadow: 0 3px 10px rgba(238, 68, 55, 0.25);
}
.tc-btn-compare:hover {
	background: linear-gradient(180deg, #f55a4e 0%, var(--vs-primary) 100%);
	box-shadow: 0 5px 18px rgba(238, 68, 55, 0.35);
	transform: translateY(-1px);
}
.tc-btn-compare:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(238, 68, 55, 0.2);
}

/* Educational content */
.tc-edu {
	background: #fff;
	border: 1px solid var(--vs-border);
	border-left: 3px solid var(--vs-primary);
	border-radius: var(--vs-radius);
	padding: 22px 26px;
	margin-top: 16px;
	box-shadow: var(--vs-shadow);
}
.tc-edu h2 {
	font-family: 'Barlow Condensed', sans-serif;
	color: var(--vs-text);
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 10px 0;
}
.tc-edu p {
	color: var(--vs-text-light);
	font-size: 14px;
	line-height: 1.65;
	margin: 0 0 10px 0;
}
.tc-edu p:last-child { margin-bottom: 0; }
.tc-edu:last-child { margin-bottom: 0; }
.tc-edu strong { color: var(--vs-text); }
.tc-edu h3 {
	font-family: 'Barlow Condensed', sans-serif;
	color: var(--vs-text);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin: 20px 0 8px 0;
	padding-top: 14px;
	border-top: 1px solid #f0f0f0;
}
.tc-edu h3:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.tc-edu h4 {
	font-family: 'Barlow Condensed', sans-serif;
	color: var(--vs-text-light);
	font-size: 14px;
	font-weight: 700;
	margin: 14px 0 6px 0;
}
.tc-edu ul, .tc-edu ol {
	color: var(--vs-text-light);
	font-size: 14px;
	line-height: 1.65;
	padding-left: 20px;
	margin: 0 0 10px 0;
}
.tc-edu li { margin-bottom: 4px; }
.tc-edu a { color: var(--vs-primary); font-weight: 600; }
.tc-edu a:hover { text-decoration: underline; }
.tc-edu address, .tc-edu .tc-address {
	font-style: italic;
	color: var(--vs-text-muted);
	font-size: 13px;
	line-height: 1.6;
}

/* Verdict badges */
.tc-verdict {
	padding: 14px 20px;
	border-radius: var(--vs-radius);
	text-align: center;
	font-size: 14px;
	margin: 14px 0 0;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 600;
}
.tc-verdict.tc-visible { display: flex; animation: tcFadeIn 0.3s ease; }
.tc-verdict i { font-size: 18px; }
.tc-verdict strong { font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.3px; }
.tc-verdict-ok { background: linear-gradient(135deg, #dff0d8, #eaf5e6); border: 1px solid #c3e6cb; color: #2d6a30; }
.tc-verdict-warn { background: linear-gradient(135deg, #fcf8e3, #fef9e7); border: 1px solid #f5e79e; color: #856404; }
.tc-verdict-bad { background: linear-gradient(135deg, #f2dede, #f8e8e8); border: 1px solid #f0c4c4; color: #8b2d2d; }

/* Status banners (open/closed) */
.tc-status {
	padding: 14px 20px;
	border-radius: var(--vs-radius);
	font-size: 14px;
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	animation: tcFadeIn 0.3s ease;
}
.tc-status i { font-size: 18px; flex-shrink: 0; }
.tc-status strong {
	font-family: 'Barlow Condensed', sans-serif;
	letter-spacing: 0.3px;
}
.tc-status-open {
	background: linear-gradient(135deg, #dff0d8, #eaf5e6);
	border: 1px solid #c3e6cb;
	color: #2d6a30;
}
.tc-status-closed {
	background: linear-gradient(135deg, #f2dede, #f8e8e8);
	border: 1px solid #f0c4c4;
	color: #8b2d2d;
}

/* Error messages */
.tc-error {
	display: none;
	padding: 12px 16px;
	background: linear-gradient(135deg, #f2dede, #f8e8e8);
	border: 1px solid #f0c4c4;
	border-radius: var(--vs-radius);
	color: #8b2d2d;
	font-size: 13px;
	font-weight: 600;
	margin-top: 10px;
	text-align: center;
}
.tc-error.tc-visible { display: block; animation: tcFadeIn 0.3s ease; }
.tc-error i { margin-right: 4px; }

/* Animations */
@keyframes tcFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tcShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }

/* Responsive - shared breakpoints */
@media (max-width: 480px) {
	.tc-header { padding: 20px 20px 16px; }
	.tc-header h1 { font-size: 22px; }
	.tc-header-decor { width: 100px; height: 100px; right: -20px; }
	.tc-tab { padding: 10px 16px; font-size: 13px; letter-spacing: 0.5px; }
	.tc-edu { padding: 16px 18px; }
	.tc-edu h2 { font-size: 16px; }
}
