/* ==========================================
   Trac-Vac Hitch Selector
   Version 1.0
   ========================================== */

/* ==========================================
   Container
   ========================================== */

.tvhs-selector {
	max-width: 550px;
	margin: 30px auto;
	padding: 28px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   Form Layout
   ========================================== */

.tvhs-selector p {
	margin: 0 0 16px;
}

.tvhs-selector label {
	display: block;
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}

/* ==========================================
   Inputs
   ========================================== */

.tvhs-selector select,
.tvhs-selector input {
	width: 100%;
	padding: 11px 12px;
	font-size: 16px;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.tvhs-selector select:focus,
.tvhs-selector input:focus {
	outline: none;
	border-color: #3d7c2d;
	box-shadow: 0 0 0 3px rgba(61, 124, 45, 0.18);
}

/* ==========================================
   Find Button
   ========================================== */

#tvhs-find-hitch {
	width: 100%;
	margin-top: 8px;
	padding: 15px;
	background: #3d7c2d;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
}

#tvhs-find-hitch:hover {
	background: #2f6423;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

#tvhs-find-hitch:active {
	transform: scale(0.98);
}

/* ==========================================
   Loading
   ========================================== */

.tvhs-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	padding: 16px;
	background: #eef7ff;
	border-left: 5px solid #2f7bdc;
	border-radius: 6px;
	font-style: italic;
	font-weight: 600;
	color: #24509a;
	animation: tvhsFadeIn 0.25s ease;
}

.tvhs-spinner {
	width: 18px;
	height: 18px;
	border: 3px solid #d9d9d9;
	border-top: 3px solid #3d7c2d;
	border-radius: 50%;
	flex-shrink: 0;
	animation: tvhsSpin 0.65s linear infinite;
}

/* ==========================================
   Result Cards
   ========================================== */

.tvhs-result {
	margin-top: 28px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	animation: tvhsFadeIn 0.35s ease;
}

.tvhs-success {
	border: 2px solid #3d7c2d;
}

.tvhs-error {
	border: 2px solid #c62828;
}

/* ==========================================
   Result Headers
   ========================================== */

.tvhs-success h3,
.tvhs-error h3 {
	margin: 0;
	padding: 18px;
	color: #fff;
	font-size: 22px;
	text-align: center;
}

.tvhs-success h3 {
	background: #3d7c2d;
}

.tvhs-error h3 {
	background: #c62828;
}

/* ==========================================
   Compatible Hitch
   ========================================== */

.tvhs-hitch-model {
	padding: 28px 20px;
	text-align: center;
}

.tvhs-hitch-model span {
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #666;
}

.tvhs-hitch-model strong {
	display: block;
	margin-top: 10px;
	font-size: 72px;
	line-height: 1;
	font-weight: 800;
	color: #3d7c2d;
}

/* ==========================================
   Summary Table
   ========================================== */

.tvhs-summary {
	width: 100%;
	border-collapse: collapse;
}

.tvhs-summary th {
	width: 160px;
	padding: 12px 18px;
	text-align: left;
	font-weight: 700;
	background: #f4f6f8;
	color: #444;
}

.tvhs-summary td {
	padding: 12px 18px;
}

.tvhs-summary tr:nth-child(even) {
	background: #fcfcfc;
}

/* ==========================================
   Footer
   ========================================== */

.tvhs-result p {
	margin: 0;
	padding: 18px 20px;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
}

/* ==========================================
   Order Button
   ========================================== */

.tvhs-order-button {
	display: inline-block;
	padding: 14px 28px;
	background: #3d7c2d;
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.25s ease;
}

.tvhs-order-button:hover {
	background: #2f6423;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.tvhs-order-button:active {
	transform: scale(0.98);
}

/* ==========================================
   Animations
   ========================================== */

@keyframes tvhsFadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tvhsSpin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.tvhs-card{
    display:flex;
    align-items:flex-start;
    gap:25px;
    padding:30px;
    margin:25px 0;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.tvhs-warning{
    background:#fff8e8;
    border-left:8px solid #f0ad00;
}

.tvhs-success{
    background:#eef8ef;
    border-left:8px solid #2e7d32;
}

.tvhs-card-icon{
    font-size:52px;
    line-height:1;
}

.tvhs-card-content{
    flex:1;
}

.tvhs-card h2{
    margin:0 0 15px;
    font-size:30px;
    line-height:1.2;
}

.tvhs-card p{
    margin-bottom:18px;
    line-height:1.7;
}

.tvhs-card ul{
    margin:20px 0;
    padding-left:22px;
}

.tvhs-card li{
    margin-bottom:8px;
}

.tvhs-button{
    display:inline-block;
    background:#d52b1e;
    color:#fff !important;
    padding:14px 28px;
    border-radius:6px;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.tvhs-button:hover{
    background:#b82016;
    color:#fff !important;
    transform:translateY(-2px);
}

.tvhs-summary{
    border-collapse:collapse;
    margin-top:20px;
}

.tvhs-summary th{
    text-align:left;
    padding:8px 20px 8px 0;
    white-space:nowrap;
    font-weight:700;
}

.tvhs-summary td{
    padding:8px 0;
}

@media (max-width:768px){

    .tvhs-card{
        flex-direction:column;
        padding:20px;
    }

    .tvhs-card-icon{
        font-size:40px;
    }

    .tvhs-card h2{
        font-size:24px;
    }

}