/* ========== CAR BUDDY BRAND STYLES ========== */
/*
 * BRAND DESIGN SYSTEM:
 * - Primary Color: #3182ce (Brand Blue)
 * - Header/Footer: #1a202c (Dark Blue-Gray)
 * - Border Radius: 8px (Consistent across all elements)
 * - Shadows: 0 2px 8px rgba(0,0,0,0.08) (Light), 0 4px 16px rgba(0,0,0,0.12) (Enhanced)
 * - Spacing: 15px, 20px, 30px increments
 * - Font: Poppins
 * - Focus Ring: 3px rgba(49, 130, 206, 0.1)
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background-color:#f8f9fa;
}

/*This is to make the spacing if content is small nice (footer at the right place)*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}


main {
    flex: 1;
}
button, input, select, textarea {
    font-family: inherit;
}

/*funnel header*/
.funnel-header {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========== MEMBER AREA STYLES ========== */

/* Member Header */
.member-header {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.member-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.member-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Member Navigation */
.member-nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.member-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.member-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.member-nav li {
    margin: 0;
}

.member-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.member-nav a:hover {
    background-color: #f8fafc;
}

.member-nav a.active {
    background-color: #f8fafc;
}

.member-nav svg {
    width: 20px;
    height: 20px;
}

/* Main Content Area */
.member-content {
    flex: 1;
}

.member-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.dashboard-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-btn-primary {
    background: #1a202c;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
}

.member-btn-primary:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

/* Info boxes */
.info-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h3 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.info-box p {
    color: #475569;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Support grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.support-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.support-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.support-card h3 {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.support-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Styles */
.faq-container {
    margin-top: 2rem;
}

.faq-item-member {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question-member {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: background-color 0.2s;
}

.faq-question-member:hover {
    background: #f1f5f9;
}

.faq-question-member h4 {
    margin: 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: bold;
    transition: transform 0.2s;
}

.faq-content-member {
    padding: 1.25rem;
    display: none;
    border-top: 1px solid #e2e8f0;
}

.faq-content-member p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Logout Button */
.logout-btn {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: auto;
}

.logout-btn:hover {
    background: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
    .member-nav ul {
        flex-direction: column;
    }

    .member-nav a {
        padding: 0.75rem 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .member-main-container {
        padding: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }
}

/* Member Content Text Styles */
.member-welcome-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.member-help-text {
    color: #64748b;
    margin-bottom: 2rem;
}

.member-section-heading {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.member-contact-text {
    color: #475569;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.member-contact-text:last-child {
    margin-bottom: 0;
}

.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.member-stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.member-stat-item p {
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.member-quick-form {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
}

.member-form-row {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.member-form-group {
    flex: 1;
    min-width: 250px;
}

.member-form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.member-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: monospace;
    text-transform: uppercase;
    box-sizing: border-box;
}

.member-form-help {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 1rem 0 0 0;
}

.member-contact-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.member-contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem auto;
}

.member-contact-title {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.member-contact-desc {
    color: #64748b;
    margin: 0 0 1.5rem 0;
}

header img {
    height: 40px;
}
.header-contact-bar{
    color: white;
    background-color: #2b5aa8;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px #ffffff40 solid;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}
.header-contact-bar a {
    color: white;
    text-decoration: underline;
}

/*main content*/
main{
    padding:30px 16px;
}

/*funnel footer*/
.footer-contact-bar {
    background-color: #2b5aa8;
    color: white;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px #ffffff40 solid;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}

.footer-contact-bar a {
    color: white;
    text-decoration: underline;
}

.footer {
    background-color: #2b5aa8;
    color: white;
    padding: 20px 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    height: 40px;
    max-width: 80%;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-help-link {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
}

.footer-right strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-right ul li {
    margin-bottom: 1.2rem;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-logos img {
    height: 50px;
}


/* Responsive */
@media (max-width: 768px) {
    header img {
        height: 40px;
    }
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-help-link {
        text-align: center;
        margin-top:20px;
    }

    .footer-right {
        text-align: left;
        width: 100%;
    }

    .payment-logos img {
        height: 50px; /* override the smaller size */
    }
}


@media (max-width: 480px) {
    header img {
        height: 40px;
    }
}

/*MAIN CONTENT AND LAYOUT STYLE*/
.main-support-bar {
    background-color: #2b5aa8;
    color: white;
    text-align: center;
    font-size: 0.95rem;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}

.main-support-bar a {
    color: white;
    text-decoration: underline;
}
/* Navbar container */
.main-navbar {
    background-color: var(--header-bg);
    color: var(--font-color);
    padding: 10px 10px;
}
.main-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-logo {
    height: 40px;
    display: block;
}

/* Nav Sections */
.main-navbar-left,
.main-navbar-center,
.main-navbar-right {
    display: flex;
    align-items: center;
}
.main-navbar-center {
    flex: 1;
    justify-content: center;
}

/* Nav Links */
.main-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav-links li a {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

/* Right side buttons */
.main-navbar-right {
    gap: 20px;
}
.main-cancel-link {
    color: var(--font-color);
    text-decoration: none;
    font-size: 0.95rem;
}
.main-login-button {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.main-login-button:hover {
    opacity:0.8;
}
/* Hamburger menu button */
.main-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--font-color);
    cursor: pointer;
}
.menu-icon {
    display: inline-block;
    font-size: 1.6rem;
    transition: transform 0.25s ease;
}

/* Rotate when parent button is active */
.main-menu-toggle.active .menu-icon {
    transform: rotate(90deg);
}

/* Start hidden, 0 height */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--header-bg);
    text-align: center;
    padding: 0 10px; /* no vertical padding yet */
}

/* When active, expand */
.mobile-menu.active {
    max-height: 300px; /* or something larger if needed */
    padding-top: 20px;
    padding-bottom: 20px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links .mobile-nav-link {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

/* Show toggle and hide normal nav on small screens */
@media (max-width: 768px) {
    .main-navbar-container {
        flex-direction: row; /* ← updated */
        justify-content: space-between; /* ← ensures logo left, button right */
        align-items: center;
        gap: 0; /* optional, remove vertical spacing */
    }

    .main-navbar-center,
    .main-navbar-right {
        display: none;
    }

    .main-menu-toggle {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .header-logo {
        height: 40px;
    }

    .main-nav-links {
        gap: 16px;
        font-size: 0.9rem;
    }

    .main-navbar-right {
        justify-content: center;
    }
}

/* ========== MAIN PAGE CONTENT STYLES ========== */
/* Used on: home.blade.php (and other main layout pages) */
/* Purpose: Hero sections, containers, and generic page layouts */

.home-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* ensure no extra side padding; rely on main's padding */
}

/* === EU BADGE === */
.eu-badge-container {
    display: flex;
    justify-content: center;
    margin: 20px 0 0 0; /* Better spacing - more space below than above */
    height: 53px; /* Badge height + space for shadows */
    overflow: hidden; /* Hide badges outside the window */
}

.eu-badge-stack {
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease-in-out;
    transform: translateY(0); /* Start position */
}

.eu-badge-stack.step-1 {
    transform: translateY(-53px); /* Show second badge */
}

.eu-badge-stack.step-2 {
    transform: translateY(-106px); /* Show third position (which will be first badge again) */
}

.eu-badge {
    background-color: #fff;
    border-radius: 8px; /* Match feature items */
    padding: 0px 12px; /* Match feature items padding */
    display: flex;
    align-items: center;
    gap: 10px; /* Keep consistent gap */
    white-space: nowrap;
    height: 53px; /* Match container height */
    flex-shrink: 0; /* Prevent compression */
}


.eu-flag {
    height: 32px; /* Size by height for better flag proportions */
    width: auto;
    flex-shrink: 0;
}

.eu-badge-text {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1; /* Consistent line height for better alignment */
}

.eu-badge-text strong {
    color: #1a202c;
    font-weight: 700;
}
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 0 40px; /* unified vertical rhythm */
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-button {
    background-color: var(--button-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    opacity: 0.95;
}

.hero-image {
    flex: 1 1 45%;
    text-align: center;
    min-width: 300px;
    margin-top: 40px; /* adds space between button and image on mobile */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}



/* Mobile styles */
@media screen and (max-width: 768px) {
    .eu-badge-container {
        margin: 15px 0 0 0; /* Better mobile spacing */
        height: 50px; /* Badge height + space for shadows */
    }

    .eu-badge {
        gap: 10px; /* Keep consistent gap */
        height: 47px; /* Match mobile container height */
    }

    .eu-badge-stack.step-1 {
        transform: translateY(-47px); /* Show second badge on mobile */
    }

    .eu-badge-stack.step-2 {
        transform: translateY(-94px); /* Show third position on mobile */
    }

    .eu-flag {
        height: 28px; /* Size by height for mobile */
    }

    .eu-badge-text {
        font-size: 0.9rem;
    }


    .hero-section {
        flex-direction: column;
        padding: 20px 0 20px; /* rely on main container gutters */
    }

    .hero-heading {
        font-size: 1.8rem; /* smaller heading */
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 60px; /* more space from the button */
    }
}


/*Main page content style reviews and trust badges section*/
.trust-section {
    background-color: #fff;
    padding: 20px 0; /* unified vertical rhythm */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.trust-header {
    margin-bottom: 40px;
}

.trust-title {
    font-size: 2.5rem;   /* Match hero-heading */
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 10px 0; /* remove default top margin to balance top spacing */
}

.trust-rating {
    font-size: 1.2rem;
    color: #555;
}

/* Review stars sizing and spacing */
.trust-rating .rating-star {
    width: 20px;
    height: 20px;
    vertical-align: -3px;
    margin-right: 0; /* spacing handled by .rating-stars */
}

.rating-stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
    margin-right: 6px; /* space before the numeric rating */
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}


.trust-badge {
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .trust-title{
        font-size:1.8rem;
    }
    .trust-rating{
        font-size:1rem;
    }
    /* Reduce padding on mobile to feel less boxed-in */
    .trust-section {
        padding: 20px 0; /* rely on main container gutters */
    }
    .trust-badges {
        flex-direction: row; /* Force horizontal on mobile */
        justify-content: center;
        gap: 20px;
    }

    .trust-badge {
        max-width: 80px;
    }

}

/* Trust Logos Section - Desktop and Mobile */
.trust-logos-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 10px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.trust-logos-mobile {
    display: none; /* Hidden on desktop */
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 8px 20px 0;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* Mobile responsiveness for trust logos */
@media screen and (max-width: 768px) {
    .trust-logos-desktop {
        display: none; /* Hide desktop logos on mobile */
    }

    .trust-logos-mobile {
        display: flex; /* Show mobile logos on mobile/tablet */
        gap: 20px;
        padding: 5px 10px 0;
    }

    .trust-logo {
        max-height: 50px;
    }
}

/* Extra small screens */
@media screen and (max-width: 500px) {
    .trust-logos-mobile {
        gap: 15px;
        padding: 5px 5px 0;
    }

    .trust-logo {
        max-height: 40px;
    }
}

/* Comparison Section - VINMaster vs Carfax */
.comparison-section {
    padding: 40px 0px;
    margin: 0 auto;
    max-width: 1200px;
}

.comparison-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1c1c1c;
    margin-bottom: 40px;
}

.comparison-brand-bold {
    font-weight: 700;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.comparison-header {
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.comparison-header-primary {
    background-color: var(--button-color);
}

.comparison-header-secondary {
    background-color: #4a5568;
}

.comparison-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.comparison-brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-features {
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    align-items: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1c;
    width: 100%;
    min-width: 0;
}

.comparison-feature span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.comparison-checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.comparison-checkmark path {
    fill: #1db050;
}

.comparison-pricing {
    padding: 10px 20px 40px 20px;
    text-align: center;
    position: relative;
    background-color: #ffffff;
}

.comparison-best-price {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #1db050;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 8px 0 0;
}

.comparison-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.comparison-price-primary {
    color: var(--button-color);
}

.comparison-price-secondary {
    color: #e53e3e;
}

.comparison-price-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
    display: inline-block;
    margin-right: 8px;
}

.comparison-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.comparison-price-strikethrough {
    font-size: 2.5rem;
    font-weight: 400;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Mobile responsiveness for comparison section */
@media screen and (max-width: 768px) {
    .comparison-section {
        padding: 40px 0px;
    }

    .comparison-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-header {
        padding: 15px 15px;
        min-height: 60px;
    }

    .comparison-logo {
        max-height: 40px;
    }

    .comparison-brand-name {
        font-size: 1.5rem;
    }

    .comparison-features {
        padding: 25px 15px 15px 15px;
        gap: 14px;
        max-width: 200px;
        margin: 0 auto;
    }

    .comparison-feature {
        font-size: 15px;
    }

    .comparison-pricing {
        padding: 10px 15px 50px 15px;
    }

    .comparison-price {
        font-size: 2rem;
    }

    .comparison-price-strikethrough {
        font-size: 2rem;
    }

    .comparison-best-price {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

@media screen and (max-width: 500px) {
    .comparison-section {
        padding: 30px 0px;
    }

    .comparison-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .comparison-header {
        padding: 12px 10px;
        min-height: 50px;
    }

    .comparison-logo {
        max-height: 35px;
    }

    .comparison-brand-name {
        font-size: 1.3rem;
    }

    .comparison-features {
        padding: 20px 10px 10px 10px;
        gap: 12px;
        max-width: 200px;
        margin: 0 auto;
    }

    .comparison-feature {
        font-size: 15px;
    }

    .comparison-pricing {
        padding: 8px 10px 45px 10px;
    }

    .comparison-price {
        font-size: 1.8rem;
    }

    .comparison-price-strikethrough {
        font-size: 1.8rem;
    }

    .comparison-best-price {
        font-size: 1.1rem;
        padding: 8px 16px;
    }
}

/* Extra-small devices: even tighter sides */
@media screen and (max-width: 360px) {
    .trust-section {
        padding: 16px 0; /* rely on main container gutters */
    }
}
/*Main Page Content Features Sectino*/
.features-section {
    text-align: center;
    margin: 40px 0; /* unified vertical rhythm */
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.features-subtext {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/*Main Page Content - 3 Steps Section*/
.steps-section {
    text-align: center;
    margin: 20px 0; /* reduce top gap below header */
    padding: 16px 0;
}

.steps-title {
    font-size: 2.5rem; /* match trust-title and features-title */
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.steps-subtext {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto 40px;
    max-width: 800px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.step-icon {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 6px 0;
}

.step-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .steps-title { font-size: 1.8rem; }
    .steps-subtext { font-size: 1rem; margin-bottom: 30px; }
    .step-icon { height: 36px; }
}

/*Main Page Content - Insight Section (Text/Image split)*/
.insight-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* slightly larger text column */
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto; /* unified vertical rhythm */
    padding: 20px 0;
}

.insight-title {
    font-size: 2.5rem; /* match other H2s */
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.insight-subtext {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
}

.insight-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media screen and (max-width: 900px) {
    .insight-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto;
    }
    .insight-title { font-size: 1.8rem; }
    .insight-subtext { font-size: 1rem; }
}

/* (removed) Global mobile side paddings override — rely on main container gutters */

/* Subtext visibility toggles */
.subtext-desktop { display: block; }
.subtext-mobile { display: none; }
@media screen and (max-width: 768px) {
    .subtext-desktop { display: none !important; }
    .subtext-mobile { display: block !important; }
}

/*Main Page Content - Expect Section (6 feature boxes)*/
.expect-section {
    text-align: center;
    margin: 40px 0; /* unified vertical rhythm */
    padding: 20px 0;
}

.expect-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.expect-subtext {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto 40px;
    max-width: 900px;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.expect-card {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.expect-icon {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
}

.expect-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 8px 0;
}

.expect-card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .expect-title { font-size: 1.8rem; }
    .expect-subtext { font-size: 1rem; }
    .expect-icon { height: 36px; }
}

/* Force 3 columns on desktop for a 3x2 layout */
@media screen and (min-width: 992px) {
    .expect-grid { grid-template-columns: repeat(3, 1fr); }
}

/*Main Page Content - VIN CTA Section*/
.cta-vin-section {
    margin: 40px 0; /* unified vertical rhythm */
    padding: 20px 0;
}

.cta-vin-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.08);
    max-width: 700px; /* align with hero form width */
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.cta-vin-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 8px 0;
}

.cta-vin-subtext {
    font-size: 1.05rem;
    color: #555;
    margin: 0 0 18px 0;
}

.cta-vin-form {
    display: grid;
    grid-template-columns: 1fr; /* stack like the top form */
    gap: 12px;
    max-width: 600px; /* similar to hero form width */
    margin: 0 auto;
    align-items: stretch;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Match primary CTA button styling to the VIN form button */
.cta-vin-form .hero-button,
.cta-vin-card .hero-button,
.pricing-cta-button {
    width: 100%;
    padding: 12px 0; /* mirror top form button for identical height */
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--button-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    display: block;
}

@media screen and (max-width: 768px) {
    .cta-vin-title { font-size: 1.8rem; }
    .cta-vin-subtext { font-size: 1rem; }
    .cta-vin-form { grid-template-columns: 1fr; }
}

/* Reviews Section */
.reviews-section { margin: 40px 0; padding: 20px 0; }
.reviews-title { font-size: 2.5rem; font-weight: 700; color: #1c1c1c; text-align:center; margin: 0 0 20px 0; }
.reviews-viewport { position: relative; overflow-x: hidden; overflow-y: visible; padding: 8px 0; }
.reviews-viewport::before, .reviews-viewport::after { content:""; position:absolute; top:0; width:24px; height:100%; z-index:2; pointer-events:none; }
.reviews-viewport::before { left:0; background: linear-gradient(to right, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%); }
.reviews-viewport::after { right:0; background: linear-gradient(to left, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%); }
.reviews-track { display: flex; gap: 20px; align-items: stretch; will-change: transform; }
.review-card { flex: 0 0 360px; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); padding: 16px; }
.review-header { display:flex; align-items:center; gap:12px; margin-bottom:10px; background: transparent; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-meta { display:flex; flex-direction: column; }
.review-name { font-weight: 700; color:#1c1c1c; }
.review-text { color:#555; line-height:1.6; margin:0; font-size: 0.98rem; }

/* Stepwise slide: show ~3 cards on desktop, move by one at intervals */
.reviews-track { transition: transform 600ms ease; }

@media screen and (max-width: 768px) {
  .review-card { flex-basis: calc(100% - 32px); } /* one full card visible, small breathing room */
  .reviews-title { font-size: 1.8rem; }
  .reviews-viewport { padding: 6px 0; }
  .reviews-viewport::before, .reviews-viewport::after { width: 12px; }
}

/* Support Section */
.support-section { padding: 20px 0; background:#fff; border-radius:10px; box-shadow:0 2px 6px rgba(0,0,0,0.08); margin:40px 0; }
.support-wrapper { max-width: 1200px; margin: 0 auto; text-align: center; }
.support-avatars { display: flex; justify-content: center; align-items: center; gap: 0; margin-bottom: 14px; }
.support-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--custom-elements-color); box-shadow: 0 2px 6px rgba(0,0,0,0.08); margin-left: -10px; }
.support-avatar:first-child { margin-left: 0; }
.support-title { font-size: 2.2rem; font-weight: 700; color:#1c1c1c; margin: 0 0 6px 0; }
.support-subtext { font-size: 1.05rem; color:#555; margin: 0 0 16px 0; }
.support-cta { margin-top: 16px; }
.support-inline-link { color: #1c1c1c; font-weight: 700; text-decoration: underline; }
.support-inline-link:hover { text-decoration: underline; opacity: 0.9; }
.support-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; max-width: 900px; margin: 10px auto 0; }
.support-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 6px 0; background: transparent; box-shadow: none; }
.support-icon { width: 56px; height: 56px; object-fit: contain; }
.support-stat-strong { font-weight: 800; color:#1c1c1c; font-size: 1.8rem; line-height:1; }
.support-stat-sub { color:#666; font-size: 1rem; }

@media screen and (max-width: 768px) {
  .support-title { font-size: 1.8rem; }
  .support-wrapper { padding: 0; }
  .support-avatars { margin-bottom: 10px; }
  .support-avatar { width: 44px; height: 44px; margin-left: -8px; border-width: 2px; }
  .support-stats { grid-template-columns: 1fr; gap: 16px; }
  .support-icon { width: 44px; height: 44px; }
  .support-stat-strong { font-size: 1.6rem; }
}
.feature-card {
    background-color: #f9fbff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.feature-icon {
    height: 40px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1c1c1c;
}

.feature-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .features-title {
        font-size: 1.8rem;  /* match .hero-heading */
    }

    .features-subtext {
        font-size: 1rem;    /* match .hero-subtext */
    }
}

/*Main content trusted section*/
.trusted-section {
    text-align: center;
    padding: 60px 0px;
    margin:0;
}

.trusted-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trusted-subtext {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}
.trusted-logos-wrapper {
    margin: 0 auto;
    padding: 0px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.trusted-logos-wrapper::before,
.trusted-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trusted-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.trusted-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}
.trusted-logos-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */

}

.trusted-logos {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    align-items: center;
    min-width: fit-content;
    padding: 10px 10px;
    animation: scroll-logos 40s linear infinite;

}
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trusted-logos img {
    height: 40px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin:0;
    padding:0;
}

.trusted-logos img:hover {
    opacity: 1;
}

/* Optional: auto-scrolling animation on mobile */
@media screen and (max-width: 768px) {
    .trusted-logos {
        animation: scroll-logos 70s linear infinite;
    }

    @keyframes scroll-logos {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    .trusted-title {
        font-size: 1.8rem;
    }

    .trusted-subtext {
        font-size: 1rem;
    }
}
.cta-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom:40px;
}

.cta-button {
    background-color: #2b5aa8;
    color: white;
    padding: 16px 40px; /* bigger button */
    font-size: 1.1rem;   /* larger text */
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: inline-block;
    min-width: 220px;    /* make it wider */
}

.cta-button:hover {
    opacity:0.8;
}

/* ========== COMPLIANCE/PRICING PAGE STYLES ========== */
/* Used on: pricing.blade.php, legal pages */
/* Purpose: Pricing cards, compliance content, simple page layouts */
.compliance-pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compliance-pricing-box {
    background-color: #ffffff;
    border: none; /* align with brand card style */
    max-width: 500px;
    width: 100%;
    padding: 20px 10px;
    border-radius: 10px; /* match other white cards */
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.compliance-pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.compliance-pricing-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.compliance-pricing-price-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.compliance-pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
}

.compliance-pricing-period {
    font-size: 1rem;
    color: #555;
}

.compliance-pricing-trial-note {
    font-size: 1rem;
    color: #777;
    margin-bottom: 24px;
}

.compliance-pricing-trial {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 8px;
}

.compliance-pricing-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.compliance-pricing-features {
    text-align: left;
    margin: 0 auto 30px;
    padding-left: 0;
    list-style: none;
    max-width: 400px; /* narrower */
}

.compliance-pricing-features li {
    margin-bottom: 14px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.emoji {
    font-size: 1.1rem;
    line-height: 1.4;
    flex-shrink: 0;
}

/* Pricing CTA button */
.pricing-cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: var(--button-color);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}
.pricing-cta-button:hover { opacity: 0.95; }
.checkout-box-modern-header {
    margin-bottom: 24px;
    text-align:center;
}

.checkout-box-modern-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1c1c1c;
}

.checkout-box-modern-price-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.checkout-box-modern-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1c1c1c;
}

.checkout-box-modern-period {
    font-size: 1rem;
    color: #666;
}

.checkout-box-modern-trial {
    display: inline-block;
    background-color: #f1f5f9;
    color: #444;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 500;
}

/*main help section and simple pages */
.simple-page-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

/* Cancel page list uses global typography (match help). Only normalize list spacing */
.cancel-list { list-style: disc inside; margin: 0 0 10px 0; padding: 0; font-size: 1.2rem; line-height: 1.6; }
.cancel-list li { margin: 6px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.tc-updated-field {
    text-align: right;
    width: 100%;
    display: block;
}

.help-subtext {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.faq-heading {
    margin-top:40px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    background: #f9f9f9;
    border: none;
    width: 100%;
    text-align: left;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 16px;
}
.intextemail{
    color:#000;
    font-weight:600;
}
@media screen and (max-width: 768px) {
.section-title, .faq-heading {
    font-size:1.8rem;
}
}
/*UPSELL*/
.upsell-step-indicator {
    font-size: 0.9rem;
    padding: 5px;
    text-align: center;
    background-color:#fff8db;
    color: #7a5800;
    border-bottom:#ffe58f 1px solid;
    background-color:#e6f0fa;
    color: #406089;
    border-bottom:#c9e0f5 1px solid;
}

.itainfoupsellwrapper {
    padding: 30px 10px 30px 10px;
    box-sizing: border-box;
}

.upsell-product-card {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
    border: none; /* align with brand card style */
    border-radius: 10px; /* match other white cards */
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.upsell-headline {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.upsell-image-wrapper {
    width: 100%;
    text-align: center;
}

.upsell-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.upsell-description {
    font-size: 1rem;
    color: #333;
    text-align: left;
    line-height: 1.5;
}
.upsell-pricing-box {
    text-align: center;
    margin: 50px 0 20px 0;
}

.payment-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
}

.original-price {
    font-size: 0.95rem;
    color: #c44;
    margin-top: 5px;
}

.strikethrough {
    text-decoration: line-through;
    color: #c44;
}

.fixed-btn-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
}

.fixed-btn-wrapper .btn-accept {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    margin: 0; /* ✅ Ensure it's not adding any weird offset */
}

.btn-accept {
    position: relative;
}

.fixed-btn-wrapper.unfixed {
    position: static;
    box-sizing:border-box;
    box-shadow: none;
    padding: 0;
}
.btn-decline{
    padding-bottom:50px;
}

/* ========== THANK YOU PAGE STYLES ========== */
/* Used on: thankyou.blade.php */
/* Purpose: Order confirmation, success messages, product status */

.thankyou-wrapper {
    box-sizing: border-box;
}
.thankyou-product-card {
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}
.thankyou-title {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8rem;
}

.order-details {
    margin-bottom: 20px;
    font-size: 1rem;
}

.order-details p {
    margin: 4px 0;
}
.order-details .order-label {
    font-weight: bold;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-block {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding:0px;
    font-weight:700;
}

.status-tag {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

/*login box */
.login-access-box {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    margin-bottom: 15px;
}

.login-access-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.login-button {
    display: inline-block;
    background-color: #1d2b53;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(29, 43, 83, 0.15);
}

.login-button:hover {
    opacity: 0.8;
}

.vin-info-box {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.vin-info-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.vin-info-box p {
    margin: 5px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.vin-info-box strong {
    color: #333;
    font-weight: 600;
}

.vin-info-box span {
    color: #666;
    font-family: monospace;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.vin-note {
    font-size: 0.85rem !important;
    color: #666 !important;
    font-style: italic;
    margin-top: 8px !important;
}

.vin-number-display {
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.license-plate-display {
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vin-highlight {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--custom-elements-color, #1a202c);
    background: rgba(26, 32, 44, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
}

.login-note {
    margin-top: 18px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Enhanced VIN Report Styling */
#vin-decoded {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vin-loading-box {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e0f2fe;
    border-top: 3px solid #0284c7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    text-align: left;
}

.loading-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.loading-subtitle {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.no-vin-message {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Global responsive helper */
.responsive-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 12px !important;
}

/* Debug Interface Styles */
.debug-toggle-container {
    text-align: center;
    margin: 20px 0;
}

.debug-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.debug-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.debug-interface {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.debug-header h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
}

.debug-header p {
    margin: 0 0 20px 0;
    color: #64748b;
    font-size: 14px;
}

.debug-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.debug-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.debug-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.debug-btn.active {
    background: #2b6cb0;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.debug-content {
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    max-height: 600px;
    overflow-y: auto;
}

.debug-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.debug-json-container {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.debug-stats {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.debug-stats h5 {
    margin: 0 0 8px 0;
    color: #2b6cb0;
    font-size: 14px;
    font-weight: 600;
}

.debug-stat-item {
    margin: 4px 0;
    font-size: 12px;
    color: #4a5568;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #vin-decoded {
        padding: 0 4px;
    }

    .vin-info-box {
        margin-bottom: 16px;
        padding: 16px;
        border-radius: 12px;
    }

    .vin-info-box h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .debug-buttons {
        flex-direction: column;
    }

    .debug-btn {
        width: 100%;
        text-align: center;
    }

    .debug-interface {
        padding: 16px;
    }

    .debug-json-container {
        font-size: 10px;
    }

    .responsive-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .vin-info-box {
        padding: 12px;
        margin-bottom: 12px;
    }

    .vin-info-box h3 {
        font-size: 16px;
    }
}

/* Yellow/amber tech style for pending */
.status-tag.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Green/blue tech style for ready */
.status-tag.ready {
    background: #e0f8f4;
    color: #10685b;
    border: 1px solid #b3e8dd;
}
.delivery-info {
    padding: 10px 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
}

.delivery-info.pending {
    padding: 10px 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
}

.delivery-info.ready {
    padding: 10px 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
}

/* VIN Gallery Viewer */
.vin-gallery-viewer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.vin-gallery-main {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
}

.vin-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
}

.vin-gallery-thumb {
    height: 72px;
    width: auto;
    border-radius: 6px;
    cursor: pointer;
    flex: 0 0 auto;
    opacity: 0.9;
    border: 1px solid #eee;
}

.vin-gallery-thumb.active {
    outline: 2px solid var(--button-color);
    opacity: 1;
}

@media (max-width: 480px) {
    .vin-gallery-thumb { height: 56px; }
    .vin-gallery-main { max-height: 320px; }
}

/* VIN Summary UI */
.vin-summary-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.vin-summary-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.vin-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.vin-spec-item {
    background: #f8f9fb;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 10px;
}

.vin-spec-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.vin-spec-value {
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    font-size: 14px;
}

/* VIN Report Sections */
.vin-section {
    border: 1px solid #dcdcdc;
    background: #ffffff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-top: 12px;
}

.vin-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
}

.vin-section-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.chips { display:flex; flex-wrap: wrap; gap:8px; margin-top: 6px; }
.chip { background:#f1f5f9; border:1px solid #e2e8f0; color:#334155; font-weight:600; font-size:12px; padding:4px 8px; border-radius:999px; }
.muted-note { color:#6b7280; font-size:12px; margin-top:8px; }
.status-chip { display:inline-block; font-size:12px; padding:2px 6px; border-radius:999px; border:1px solid #e5e7eb; background:#f9fafb; }
.status-chip.open { background:#fff1f2; color:#9f1239; border-color:#ffe4e6; }
.status-chip.closed { background:#ecfdf5; color:#065f46; border-color:#d1fae5; }
.low-confidence { text-decoration: underline dotted; }

/* Simple table */
.vin-table { width:100%; border-collapse: collapse; }
.vin-table th, .vin-table td { text-align:left; padding:8px 10px; border-bottom: 1px solid #eef2f7; }
.vin-table th { color:#6b7280; font-size:12px; text-transform:uppercase; letter-spacing: .4px; }
/* Responsive fixes for everything */
@media (max-width: 450px) {
    .thankyou-title {
        font-size: 1.3rem;
    }

    .product-header h3 {
        font-size: 1rem;
    }

    .status-tag {
        font-size: 0.8rem;
    }

    .delivery-info,
    .order-details {
        font-size: 0.8rem !important;
    }

    .order-details .order-label {
        font-size: 0.8rem !important;
    }
}

/* CRIF STYLE */
/* === CRIF Form Unified Styling === */
.itainfolpinput-wrapper{
    width:100%;
    max-width:600px;
    margin:auto;
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;

}

.form-container {
    max-width: 100%;
    margin:auto;
}

/* Labels + Inputs */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #fff;
    color: #111;
    box-sizing: border-box;
}

input::placeholder {
    color: #6b6b6b;
}

input:focus {
    border-color: #999;
    outline: none;
}

/* Persona / Azienda Buttons */
.inline-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.inline-button {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: #333;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    border-radius: 4px;
}

.inline-button.active {
    background-color: var(--button-color);
    color: #fff;
}

/* Main Submit Button */
.submitform-button {
    width: 100%;
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--button-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.submitform-button:hover {
    opacity:0.95;
}

.hidden {
    display: none;
}

/* Responsive Layouts */
@media (max-width: 750px) {
    .form-group-inline {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .half-width {
        width: 100%;
    }
}

@media (min-width: 751px) {
    .form-group-inline {
        display: flex;
        gap: 2%; /* better than px, scales with container */
    }

    .half-width {
        width: 49%;
    }
}


/*LPCRIF CHECKOUT */

    /* ========== GENERAL LAYOUT ========== */
    body.loading {
        overflow: hidden;
    }

    .funnel-center-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .loader-reveal {
        display: flex;
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.6s ease;
    }

    .loader-reveal.visible {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    /* ========== LOADER SECTION ========== */
    #loader-wrapper {
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .loader-box {
        width: 100%;
        padding: 20px;
        border: none;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        text-align: center;
        box-sizing: border-box;
    }

    .header-title {
        font-size: 20px;
        font-weight: 600;
        padding: 0px;
        margin-top: 0px;
    }

    .horizontal-loader-container {
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .progress-feedback {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .progress-percentage {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        padding-top: 3px;
        padding-bottom: 4px;
        width: 40px;
        display: inline-block;
        text-align: center;
    }

    .tick {
        display: none;
        width: 24px;
        height: 24px;
        width: 40px;
        text-align: center;
    }

    .progress-bar-bg {
        width: 100%;
        height: 10px;
        background-color: #f0f0f0;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        margin-top: 10px;
    }

    .progress-bar-fill {
        height: 100%;
        width: 0%;
        transition: width 0.1s linear;
    }

    /* ========== LOADING ITEMS ========== */
    .loading-items {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .loading-item {
        display: flex;
        align-items: center;
        gap: 12px;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .loading-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .mini-loader {
        width: 16px;
        height: 16px;
        border: 2px solid #e5e7eb;
        border-top: 2px solid var(--custom-elements-color);
        border-radius: 50%;
        animation: mini-spin 1.4s linear infinite;
        flex-shrink: 0;
        position: relative;
        margin-right: 5px;
    }

    .loading-item.completed .mini-loader {
        background-color: var(--custom-elements-color);
        animation: none;
        border: none;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .loading-item.completed .mini-loader .item-tick {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        z-index: 2;
    }

    .loading-text {
        font-size: 14px;
        font-weight: 500;
        color: #000;
    }

    @keyframes mini-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* ========== PRICING BOX ========== */

    .pricingbox {
        text-align: center;
        padding: 10px 0;
        margin-bottom: 10px;
        height: auto;
    }

    .pricing-title {
        color: #000;
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 6px 0;
    }

    .discount-badge {
        border: 1px solid red;
        background-color: #FFE6ED;
        color: red;
        font-weight: 700;
        font-size: 10px;
        border-radius: 5px;
        width: fit-content;
        padding: 2px 6px;
        margin: 0 auto 8px auto;
    }

    .pricing-amount {
        color: #000;
        font-weight: 600;
        font-size: 16px;
        margin: 0;
    }

    .original-price {
        color: #cfcfcf;
        text-decoration: line-through;
        font-weight: 600;
        margin-left: 6px;
    }

    /* ========== REPORT SUMMARY BOX ========== */
    .report-summary-box {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        margin-top: 10px;
        border: none;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .report-image {
        height: 120px;
        width: auto;
        max-width: 120px;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .report-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        flex: 1;
        padding: 0;
    }

    .report-title {
        font-size: 20px;
        font-weight: 600;
        color: #000;
        margin: 0 0 8px 0;
    }

    .report-subtext {
        font-size: 15px;
        font-weight: 500;
        color: #000;
        margin: 0;
        line-height: 1.4;
    }

    .report-subtext-mobile {
        display: none;
    }

    /* ========== CHECKOUT BOX ========== */
    #reportgeneratedappear {
        width: 100%;
    }

    .checkout-box-wrapper {
        width: 100%;
        max-width: 600px;
        padding: 20px; /* match brand white card padding */
        border: none; /* remove border for consistency */
        border-radius: 10px; /* match other white cards */
        background: #ffffff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
        margin: 10px auto 0;
    }
    .checkout-security-title{
        margin-top:10px;
        font-weight:600;
        font-size:14px;
    }
    .checkout-security-subtitle{
        margin-top:10px;
        font-weight:400;
        font-size:12px;
        margin-bottom:10px;
    }

.trialdisclaimerbox {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    margin: 14px auto 0;
    font-size: 0.92rem;
    color:#555;
}

.trial-disclaimer-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #888;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.trialfeaturelist {
    list-style: none;
    padding-left: 8px;
    margin: 0;
}

.trialfeaturelist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
    line-height: 1.45;
    font-size:0.8rem;
}

.trialfeaturelist .trialtick {
    color: #888;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}
    /* ========== MEDIA QUERIES ========== */
    @media (max-width: 768px) {
        .header-title {
            font-size: 18px;
        }
    }

    @media (max-width: 480px) {
        .report-title {
            font-size: 18px;
        }

        .report-subtext-desktop {
            display: none;
        }

        .report-subtext-mobile {
            display: block;
        }

        .report-image {
            height: 90px;
            margin-right: 14px;
        }
    }

    @media (max-width: 350px) {
        .report-title {
            font-size: 16px;
        }

        .report-subtext {
            font-size: 13px;
        }
    }

/* END COMMENTED OUT LPCRIF SECTION */

/* ========== VIN BRAND SPECIFIC STYLES ========== */

/* === VIN CHECKOUT FORM STYLES === */
/* Stripe-Like Font */
.checkout-wrapper body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

/* Centered Checkout Box */
.checkout-wrapper .checkout-container {
    background: white;
    width: 100%;
    box-sizing: border-box;
    padding:0px;
}

/* Section Titles */
.checkout-section-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #444A4F !important; /* Grey color */
    margin: 10px 0 10px; /* Spacing for all except first */
}

/* Remove extra space at the top of the first section */
.checkout-section-title:first-of-type {
    margin-top: 0;
}

/* Input Fields */
.input-group {
    margin-bottom: 12px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    box-sizing: border-box;
    color: #111; /* Darker text for better readability */
}

/* Placeholder Text */
.input-group input::placeholder,
.input-group select {
    color: #6B6B6B; /* Darker placeholder text */
}

/* Side-by-Side Inputs */
.input-row {
    display: flex;
    gap: 10px;
}

.input-row .input-group {
    flex: 1;
}

/* Error Message Box */
.checkout-error {
    background-color: #fef6f6; /* Light red background */
    color: #400404; /* Text color */
    border: 1px solid #fdd8d8;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    font-weight:500;
}

/*Country Selection*/
select {
    font-size: 14px;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: white !important;
}

/* Expiry & CVV Side by Side */
.expiry-cvv-container {
    display: flex;
    gap: 10px; /* Keep spacing between expiry & CVV */
    align-items: center; /* Ensure fields and messages align properly */
}

.expiry-cvv-container .input-group {
    flex: 1;
}

/* Default card field styling */
#cardNumber, #cardExpiry, #cardSecurityCode {
    border: 1px solid #dcdcdc;
    transition: border 0.3s ease-in-out;
}

/* Standardized error messages for all fields */
.validation-message {
    color: #dc2727;
    font-size: 12px; /* Matches name validation */
    margin-top: 0px;
    padding:0px;
}

/* Fix error message positioning */
#card-error-message {
    font-size: 12px;
    color: #dc2727;
    text-align: left;
    position: relative; /* No forced margins, just proper positioning */
    margin-top:-5px;
    margin-bottom:5px;
}

/* Softer red border for invalid fields */
.invalid-field {
    border: 1px solid #e74c3c !important; /* Softer red */
    background-color: rgba(231, 76, 60, 0.05); /* Light red background */
    transition: border 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Submit Button */
/* Button Styling */
#checkout-btn,
.loading-btn {
    position: relative;
    width: 100%;
    height: 48px;
    background-color: var(--button-color);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#checkout-btn:hover {
    opacity: 0.8;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    animation: spin 0.8s linear infinite;
    pointer-events: none;
    z-index: 2;
}

#checkout-btn.loading .btn-text {
    opacity: 0.4;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === VIN HOME PAGE - HERO SECTION === */
/* Used on: home.blade.php */
/* Layout: Two-column hero with VIN form on left, features on right */

.vin-form-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.vin-form-wrapper .hero-button {
    width: 100%;
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--button-color); /* From brands.php */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

.vin-form-wrapper .hero-button:hover {
    opacity: 0.95;
}

.vin-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    background-color: #fff;
    color: #1c1c1c;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vin-input:focus {
    outline: none;
    border-color: var(--button-color); /* From brands.php */
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1); /* Consistent brand shadow */
}

.vin-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

/* Search Toggle Bar - Tech Savvy Design */
.search-toggle-bar {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 20px auto;
    padding: 16px 15px;
    background: rgba(107, 114, 128, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    color: #1c1c1c;
    width: fit-content;
}

.search-toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    line-height: 1;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.search-toggle-options {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.search-toggle-option {
    display: inline-flex;
    align-items: baseline;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
}

.search-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.search-toggle-text {
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.search-toggle-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.search-toggle-input:checked + .search-toggle-text {
    color: #1c1c1c;
    font-weight: 600;
}

.search-toggle-input:checked + .search-toggle-text::after {
    background: var(--button-color);
    box-shadow: 0 0 8px rgba(43, 90, 168, 0.3);
}

.search-toggle-option:hover .search-toggle-text {
    color: #1c1c1c;
}

.search-toggle-separator {
    color: #cbd5e0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    opacity: 0.6;
}

/* License Plate Split Input Container */
.license-plate-split-input {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
}

.license-plate-split-input:focus-within {
    border-color: var(--button-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.license-plate-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1c1c1c;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    margin: 0;
}

.license-plate-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.license-plate-divider {
    width: 1px;
    height: 30px;
    background: #e1e8ed;
    margin: 0 15px;
    flex-shrink: 0;
}

.license-plate-state-select {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 120px;
    border: none;
    outline: none;
    padding: 0;
    font-size: 20px;
    font-weight: 400;
    color: #6b7280;
    background: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 25px;
    margin: 0;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.license-plate-state-select.has-value {
    font-weight: 700;
    color: #1c1c1c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c1c1c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}

.license-plate-state-select:focus {
    outline: none;
}

/* Mobile: Limit state select width */
@media screen and (max-width: 768px) {
    .license-plate-state-select {
        max-width: 140px;
        min-width: 100px;
    }
}

/* Small screens (below 500px) - remove min-width constraints */
@media screen and (max-width: 500px) {
    /* Remove ALL min-width constraints that cause overflow */
    .hero-content,
    .hero-image,
    .hero-features {
        min-width: 0 !important;
    }

    /* Ensure inputs and buttons can shrink - ALL forms including CTA */
    .vin-input,
    #vinInput,
    #vinInputCta,
    .license-plate-split-input,
    .license-plate-input,
    #licensePlateInput,
    #licensePlateInputCta,
    #ctaForm .vin-input,
    #ctaForm .license-plate-split-input,
    #ctaForm .license-plate-input,
    #ctaForm input[type="text"],
    #ctaForm select {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        flex: 1 1 0% !important;
    }

    .vin-form-wrapper .hero-button,
    .cta-vin-form .hero-button,
    .hero-button,
    #heroForm .hero-button,
    #ctaForm .hero-button {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Ensure split input container can shrink */
    .license-plate-split-input {
        flex-shrink: 1 !important;
    }

    /* Ensure form containers don't constrain - ALL forms */
    .vin-form-wrapper,
    .cta-vin-form,
    .cta-vin-card,
    .cta-vin-section,
    .form-group,
    #heroForm,
    #ctaForm,
    #vinInputGroupCta,
    #licensePlateInputGroupCta {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Fix CTA form and card max-width constraints - AGGRESSIVE */
    .cta-vin-form,
    .cta-vin-card,
    .cta-vin-section {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cta-vin-card {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .cta-vin-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Ensure ALL CTA form elements are constrained - REMOVE ALL MIN-WIDTH */
    .cta-vin-form,
    .cta-vin-form *,
    .cta-vin-form input,
    .cta-vin-form select,
    .cta-vin-form button,
    .cta-vin-form .form-group,
    .cta-vin-form .vin-input,
    .cta-vin-form .license-plate-split-input,
    .cta-vin-form .license-plate-input,
    .cta-vin-form .hero-button {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cta-vin-form input,
    .cta-vin-form select,
    .cta-vin-form button,
    .cta-vin-form .vin-input,
    .cta-vin-form .license-plate-split-input {
        width: 100% !important;
        flex: 1 1 0% !important;
    }

    /* Override grid min-width */
    .cta-vin-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Ensure CTA form groups don't constrain */
    #ctaForm .form-group {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure feature items can shrink and wrap text properly - but NOT full width */
    .hero-features {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .feature-list {
        min-width: 0 !important;
        max-width: 500px !important;
        box-sizing: border-box;
    }

    .feature-item {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        flex-wrap: wrap !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .feature-text {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
    }
}

/* Very small screens (below 350px) - reduce padding and sizes */
@media screen and (max-width: 350px) {
    /* Reduce main container padding */
    main {
        padding: 20px 8px;
    }

    /* Remove ALL min-width constraints */
    .hero-content,
    .hero-image,
    .hero-features {
        min-width: 0 !important;
    }

    /* Reduce ONLY horizontal padding on inputs - keep font size */
    .vin-input,
    .license-plate-split-input,
    .license-plate-input {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 16px;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        flex: 1 1 0% !important;
    }

    /* Ensure split input container doesn't constrain */
    .license-plate-split-input {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    /* Remove min-width from button */
    .vin-form-wrapper .hero-button,
    .cta-vin-form .hero-button,
    .hero-button {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Remove min-width from feature items and containers - but NOT force full width */
    .hero-features {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .feature-list {
        min-width: 0 !important;
        max-width: 500px !important;
    }

    .feature-item {
        min-width: 0 !important;
        max-width: 100% !important;
        flex-shrink: 1 !important;
        box-sizing: border-box;
        flex-wrap: wrap !important;
    }

    .feature-text {
        min-width: 0 !important;
        flex-shrink: 1 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Make toggle bar full width and fix all issues */
    .search-toggle-bar {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto 20px auto !important;
        padding: 12px 16px !important;
        gap: 10px !important;
        box-sizing: border-box !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .search-toggle-label {
        font-size: 14px !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
        white-space: nowrap !important;
    }

    .search-toggle-options {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    .search-toggle-option {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    .search-toggle-text {
        font-size: 14px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .search-toggle-separator {
        font-size: 14px !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Reduce divider margins */
    .license-plate-divider {
        margin: 0 8px;
    }

    /* Further reduce state select width */
    .license-plate-state-select {
        max-width: 90px;
        min-width: 0 !important;
        font-size: 16px;
        padding-right: 20px;
    }

    /* Ensure form wrapper doesn't add extra width */
    .vin-form-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0 !important;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    /* Ensure hero content doesn't constrain width */
    .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ensure form-group doesn't constrain */
    .form-group {
        min-width: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    /* Reduce hero section padding */
    .hero-section {
        padding: 20px 0 30px;
    }
}

/* Extra small screens (below 300px) - reduce ONLY horizontal padding */
@media screen and (max-width: 300px) {
    /* Reasonable main container horizontal padding for breathing room */
    main {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Remove ALL min-width constraints */
    .hero-content,
    .hero-image,
    .hero-features {
        min-width: 0 !important;
    }

    /* Further reduce ONLY horizontal padding on inputs - keep font size */
    .vin-input,
    .license-plate-split-input,
    .license-plate-input {
        padding-left: 4px;
        padding-right: 4px;
        box-sizing: border-box;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 0% !important;
    }

    /* Remove min-width from button */
    .vin-form-wrapper .hero-button,
    .cta-vin-form .hero-button {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Reduce divider margins */
    .license-plate-divider {
        margin-left: 3px;
        margin-right: 3px;
    }

    /* Further reduce state select horizontal space */
    .license-plate-state-select {
        max-width: 70px;
        min-width: 0 !important;
        padding-right: 14px;
    }

    /* Ensure form wrapper doesn't add extra width */
    .vin-form-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0 !important;
    }

    /* Ensure hero content doesn't constrain width */
    .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0 !important;
    }

    /* Ensure form-group doesn't constrain */
    .form-group {
        min-width: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    /* Ensure toggle bar stays full width */
    .search-toggle-bar {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto 20px auto !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    /* Hide "Search by:" label below 300px */
    .search-toggle-label {
        display: none !important;
    }

    /* Keep font size same since we have more space without the label */
    .search-toggle-options {
        gap: 6px !important;
    }
}

.license-plate-state-select option {
    font-weight: 400;
    padding: 10px;
}

/* License Plate Input Group - Hidden by default */
#licensePlateInputGroup,
#licensePlateInputGroupCta {
    display: none;
}

/* Debug Interface - Hidden by default */
.debug-interface,
.debug-content,
#tick,
.item-tick {
    display: none;
}

/* VIN Decoded - Hidden by default */
#vin-decoded,
#plate-decoded {
    display: none;
}

/* Error Messages */
.error-message {
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
}

.debug-error-message {
    color: #e53e3e;
    font-weight: 600;
}

.debug-error-subtext {
    color: #666;
    margin-top: 10px;
}

.debug-error-text {
    color: #e53e3e;
}

/* === VIN HOME PAGE - FEATURE LIST === */
/* Used on: home.blade.php */
/* Purpose: Right-side feature list with blue checkmarks */

.hero-features {
    flex: 1 1 45%;
    min-width: 300px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Consistent spacing */
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px; /* Consistent brand radius */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Consistent brand shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

.feature-tick {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px; /* Consistent px units */
    font-weight: 500;
    color: #1c1c1c;
    line-height: 1.5;
}

/* === RESPONSIVE DESIGN - VIN HOME PAGE === */
@media screen and (max-width: 768px) {
    .hero-features {
        margin-top: 15px;
        margin-bottom: 10px;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .feature-list {
        gap: 8px;
        max-width: 500px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .feature-item {
        padding: 10px 16px;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        flex-wrap: wrap !important;
    }

    .feature-text {
        font-size: 15px; /* Consistent px units */
        min-width: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .vin-input {
        padding: 12px 20px;
        font-size: 20px; /* Keep same size on mobile */
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ========== END VIN BRAND SPECIFIC STYLES ========== */

/*LANDING PAGE HEADER AND DESCRIPTION*/

.lp-heading-wrapper {
    text-align: center;
    margin-top:10px;
    margin-bottom:20px;
}

.lp-heading-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom:10px;
}

.lp-heading-subtext {
    font-size: 14px;
    color: #666;
    margin-top:10px;
    margin-bottom: 10px;
}

.lp-heading-divider {
    width: 100%;
    max-width:120px;
    height: 3px;
    background-color: #ccc;
    margin: 0 auto;
    border-radius: 1px;
}

/* ========== MEMBER AREA STYLES ========== */
/* Used on: member/*.blade.php pages */
/* Purpose: Member dashboard, navigation, profile management */

/* Member Header */
.member-header {
    color: var(--font-color);
    background-color: var(--header-bg);
    padding: 10px 0;
}

.member-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Member Navigation - Separate section with white background */
.member-nav {
    background: white;
    border-bottom: 1px solid #e0e6ed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
}

.member-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.member-nav li {
    margin: 0;
}

.member-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
    border-radius: 6px;
    margin: 0 4px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

.member-nav a:hover {
    background: #edf2f7;
    color: #2d3748;
}

.member-nav a.active {
    background: var(--button-color);
    color: white;
}

.member-profile {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 15px;
}

.member-email {
    background: #f7fafc;
    color: #4a5568;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.logout-btn {
    background: #e53e3e;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 14px;
    border: 1px solid #e53e3e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    background: #c53030;
}

/* Member Content */
.member-content {
    padding: 40px 20px;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .member-content.member-content-compact {
        padding: 0;
    }
}

.member-footer {
    background: white;
    color: #6a737d;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e1e4e8;
    font-size: 14px;
    margin-top: auto;
}

.member-footer a {
    color: #6a737d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-footer a:hover {
    color: var(--button-color);
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e0e6ed;
}

.content-title {
    color: #2d3748;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-primary {
    background: #edf2f7;
    color: #4a5568;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--button-color);
    color: white;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.dashboard-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.dashboard-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: var(--button-color);
}

.dashboard-card h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
}

.dashboard-card p {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Business Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.tool-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.tool-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.tool-card h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tool-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Template Categories */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.template-category {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.template-category-header {
    color: white;
    padding: 20px;
}

.template-category-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.template-category-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.template-list {
    padding: 20px;
}

.template-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-item:last-child {
    border-bottom: none;
}

.template-item span {
    font-weight: 500;
}

.download-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* Search and Filter */
.search-filter-bar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.search-filter-content {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-filter-content input,
.search-filter-content select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-filter-content input {
    flex: 1;
    min-width: 250px;
}

/* Help/Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.support-card {
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.support-card svg {
    width: 48px;
    height: 48px;
    fill: white;
    margin-bottom: 15px;
}

.support-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.support-card p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 14px;
}

.support-card button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* FAQ Styles */
.faq-item-member {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question-member {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-member h4 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: #666;
}

.faq-content-member {
    padding: 20px;
    background: white;
    display: none;
}

.faq-content-member p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-member {
    margin-bottom: 20px;
}

.form-group-member label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group-member input,
.form-group-member select,
.form-group-member textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group-member textarea {
    resize: vertical;
}

/* Stats Display */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.stat-item p {
    margin: 0;
    color: #666;
}

/* Background Colors for Template Categories */
.template-legal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.template-commercial { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.template-hr { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.template-finance { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

/* Tool Icon Backgrounds */
.tool-icon-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tool-icon-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.tool-icon-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.tool-icon-4 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.tool-icon-5 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.tool-icon-6 { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }

/* Support Card Backgrounds */
.support-chat { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.support-email { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.support-phone { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

/* Success/Error Messages */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Info Boxes */
.info-box {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.info-box-gray {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

/* Mobile Responsiveness for Member Area */
@media (max-width: 768px) {
    .member-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .member-nav a {
        padding: 12px 16px;
        margin: 2px 4px;
        font-size: 13px;
        justify-content: center;
    }

    .member-profile {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .member-email {
        margin-right: 0;
        font-size: 12px;
        text-align: center;
    }

    .member-header {
        padding: 2rem 0;
    }

    .member-title {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .member-header-content {
        flex-direction: column;
        gap: 10px;
    }

    .content-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .tools-grid,
    .template-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        padding: 20px;
    }
}

/* LOGIN PAGE STYLING - Matching checkout error design exactly */
.login-error-box {
    background-color: #fef6f6; /* Light red background - matches checkout-error */
    color: #400404; /* Text color - matches checkout-error */
    border: 1px solid #fdd8d8; /* Border - matches checkout-error */
    padding: 12px; /* Padding - matches checkout-error */
    border-radius: 6px; /* Border radius - matches checkout-error */
    font-size: 14px; /* Font size - matches checkout-error */
    margin-bottom: 15px; /* Margin - matches checkout-error */
    text-align: center; /* Text align - matches checkout-error */
    font-weight: 500; /* Font weight - matches checkout-error */
}

.login-success-box {
    background-color: #f0f9ff;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* Field validation messages - matching checkout form validation */
.field-validation-message {
    color: #dc2727; /* Matches validation-message in checkout */
    font-size: 12px; /* Matches validation-message in checkout */
    margin-top: 5px;
    display: block;
}

/* Login help box styling */
.login-help-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.login-help-title {
    font-weight: 600;
    font-size: 16px;
    color: #1c1c1c;
    margin-bottom: 12px;
    margin-top: 0;
}

.login-help-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.login-help-contact {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

.support-email-link {
    color: #2b5aa8;
    text-decoration: none;
    font-weight: 500;
}

.support-email-link:hover {
    text-decoration: underline;
}

.report-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.report-history-header .content-title {
    margin: 0;
}

.member-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.member-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    color: #64748b;
    margin: 0 0 1.5rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.reports-table-container {
    overflow-x: auto;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.reports-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.reports-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.reports-table tbody tr:hover {
    background: #f8fafc;
}

.vin-cell {
    font-family: monospace;
}

.vin-number {
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.025em;
}

.plate-number {
    font-weight: 600;
    color: #0369a1;
    background: #e0f2fe;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.state-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.date-cell {
    white-space: nowrap;
}

.time-sub {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.text-muted {
    color: #94a3b8;
}

.view-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #1a202c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.view-btn:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: #64748b;
    font-size: 0.875rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover:not(.disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.pagination-btn.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.pagination-current {
    padding: 0.5rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .report-history-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reports-table th,
    .reports-table td {
        padding: 0.75rem 0.5rem;
    }

    .pagination-container {
        flex-direction: column;
        text-align: center;
    }

    .pagination-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Report History Card Layout */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px), 1fr));
    gap: 1rem;
}

.report-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s;
}

.report-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.report-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.report-identifier {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.report-type-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.report-type-label.plate {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.report-vin {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.025em;
}

.report-plate {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #1d4ed8;
}

.report-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.report-detail {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.detail-value {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 500;
}

.view-report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #1a202c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.view-report-btn:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

.view-report-btn.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
}

.view-report-btn.disabled:hover {
    transform: none;
}

/* Update status-badge for card layout */
.report-card .status-badge {
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.report-card .time-sub {
    display: inline;
    color: #94a3b8;
    font-weight: 400;
}

@media (max-width: 640px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .pagination-current {
        order: -1;
        width: 100%;
        text-align: center;
    }
}

/* New Feature Badge */
.dashboard-card-highlight {
    position: relative;
}

.new-feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
    }
}

.dashboard-card-highlight {
    position: relative;
}

.new-feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
    }
}
