/**
 * Front-end Styling for Top 10 Blog Writer - Affiliate
 * Designed for Parking Management Network UK
 */

.ttbwa-overview-box {
    background: rgba(0, 200, 150, 0.08);
    border-left: 4px solid #00c896;
    padding: 20px 24px;
    border-radius: 0 16px 16px 0;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ttbwa-overview-badge {
    font-size: 13px;
    font-weight: 800;
    color: #00c896;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttbwa-overview-text {
    font-size: 16.5px;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0;
    font-style: italic;
}

.ttbwa-intro {
    font-size: 17px;
    line-height: 1.85;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.ttbwa-products-wrapper {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin: 40px 0;
}

.ttbwa-product-card {
    background: #0d121c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ttbwa-product-card:hover {
    border-color: rgba(0, 200, 150, 0.35);
    transform: translateY(-2px);
}

.ttbwa-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ttbwa-rank-badge {
    background: #00c896;
    color: #05140f;
    font-weight: 900;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

.ttbwa-award-badge {
    background: rgba(0, 200, 150, 0.12);
    border: 1px solid rgba(0, 200, 150, 0.3);
    color: #00c896;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ttbwa-product-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.35 !important;
}

.ttbwa-product-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ttbwa-product-title a:hover {
    color: #00c896 !important;
}

.ttbwa-review-body {
    font-size: 16px;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 24px;
}

/* Pros and Cons */
.ttbwa-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .ttbwa-pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.ttbwa-pros-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 18px 20px;
}

.ttbwa-cons-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 14px;
    padding: 18px 20px;
}

.ttbwa-box-title {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.ttbwa-pros-title {
    color: #34d399;
}

.ttbwa-cons-title {
    color: #f87171;
}

.ttbwa-pros-box ul, .ttbwa-cons-box ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style-type: square;
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.6;
}

.ttbwa-pros-box ul li, .ttbwa-cons-box ul li {
    margin-bottom: 6px;
}

/* Specs Table */
.ttbwa-specs-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.ttbwa-specs-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.ttbwa-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ttbwa-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ttbwa-specs-table tr:last-child {
    border-bottom: none;
}

.ttbwa-specs-table th {
    padding: 10px 16px;
    text-align: left;
    color: #94a3b8;
    width: 35%;
    font-weight: 600;
}

.ttbwa-specs-table td {
    padding: 10px 16px;
    color: #f1f5f9;
    font-weight: 500;
}

/* CTA Button */
.ttbwa-cta-container {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ttbwa-amazon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00c896 0%, #00a37a 100%);
    color: #05140f !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 15.5px;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 200, 150, 0.3);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 420px;
}

.ttbwa-amazon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 150, 0.45);
    background: linear-gradient(135deg, #10db9e 0%, #00c896 100%);
    color: #020b08 !important;
}

.ttbwa-prime-note {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Sections */
.ttbwa-section-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 48px 0 24px 0 !important;
    border-bottom: 2px solid rgba(0, 200, 150, 0.3);
    padding-bottom: 12px;
}

.ttbwa-buyers-guide-section {
    font-size: 16.5px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.ttbwa-buyers-guide-section h3 {
    font-size: 20px !important;
    color: #f1f5f9 !important;
    margin: 24px 0 12px 0 !important;
}

/* FAQs */
.ttbwa-faq-section {
    margin: 40px 0;
}

.ttbwa-faq-item {
    background: #0d121c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.ttbwa-faq-q {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #00c896 !important;
    margin: 0 0 10px 0 !important;
}

.ttbwa-faq-a {
    font-size: 15.5px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0;
}

/* Verdict */
.ttbwa-verdict-box {
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(0, 200, 150, 0.4);
    border-radius: 18px;
    padding: 28px;
    margin: 40px 0;
}

.ttbwa-verdict-box h3 {
    font-size: 22px !important;
    color: #ffffff !important;
    margin-top: 0 !important;
}

/* Compliance Disclaimer */
.ttbwa-affiliate-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 48px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   LEGACY HOSTINGER RETROFIT STYLING (Instantly fixes older blog posts)
   ========================================================================== */
.wp-box {
    background: #0d121c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 26px !important;
    margin: 32px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

.wp-box .wp-ctrl h2, .wp-box h2.wp-ctrl {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}

.wp-box .wp-ctrl a, .wp-box h2.wp-ctrl a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.wp-box .wp-ctrl a:hover, .wp-box h2.wp-ctrl a:hover {
    color: #00c896 !important;
}

.wp-box .wed-field-text.name {
    font-size: 15px !important;
    color: #00c896 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 10px 0 !important;
}

.wp-box .wed-field-text.review {
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #cbd5e1 !important;
}

.wp-box .wed-field label.sketch {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-top: 14px !important;
    margin-bottom: 4px !important;
}

.wp-box .wed-field:has(.pros) label.sketch {
    color: #34d399 !important;
}

.wp-box .wed-field:has(.cons) label.sketch {
    color: #f87171 !important;
}

.wp-box .wed-field-text.pros {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #e2e8f0 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
}

.wp-box .wed-field-text.cons {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #e2e8f0 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
}

.wp-box .wed-field-text.specifications {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-top: 14px !important;
}

.wp-box .wed-field.sketch a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #00c896 0%, #00a37a 100%) !important;
    color: #05140f !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    margin: 16px 0 !important;
    box-shadow: 0 4px 14px rgba(0, 200, 150, 0.25) !important;
    border: none !important;
}

.wp-box .wed-field.sketch a.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.4) !important;
}

