.mot-hero {
    text-align: center;
    padding: 40px 20px;
    background: #f5f7fa;
}

/* ============================
   REALISTIC UK NUMBER PLATE
   ============================ */

.reg-plate {
    display: flex;
    align-items: center;
    width: 360px;
    height: 80px;
    background: #F3DD4E;      /* Yellow plate */
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0px 6px 22px rgba(0,0,0,0.35);
    overflow: hidden;
    margin: 25px auto 30px;
}

/* LEFT BLUE EU STRIP */
.reg-left {
    width: 70px;
    height: 100%;
    background: #1C2A78;     /* Perfect EU blue */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* EU 12 STAR CIRCLE */
.eu-stars {
    width: 36px;
    height: 36px;
    background: url('/assets/img/eu-stars.svg') no-repeat center;
    background-size: contain;
    margin-bottom: 4px;
}

/* UK text */
.uk-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* MOT INPUT FIELD (updated) */
#motRegInput {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 34px;
    font-weight: 800;
    color: #2A2A2A;
    text-transform: uppercase;
    padding-left: 22px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

/* Placeholder same style */
#motRegInput::placeholder {
    color: #555;
    opacity: 0.55;
}

/* MOT BUTTON */
.mot-btn {
    width: 360px;
    margin: 0 auto;
    display: block;
    padding: 14px 20px;
    font-size: 20px;
    border-radius: 10px;
    background: #0057ff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* Error message */
.mot-error {
    color: red;
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
}


.mot-results {
    padding: 20px;
}

.mot-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 8px solid green;
}

.mot-card.fail {
    border-left-color: red;
}

.defects li.dangerous {
    color: red;
    font-weight: bold;
}

.defects li.advisory {
    color: orange;
}

.hidden {
    display: none;
}
/* ============================
   MOT TEST HEADER
   ============================ */

.mot-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.mot-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
}

.mot-status.pass {
    background: #16a34a;
}

.mot-status.fail {
    background: #dc2626;
}

/* ============================
   ADVISORY DROPDOWN
   ============================ */

.advisory-toggle {
    background: none;
    border: none;
    color: #0057ff;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
}


/* ============================
   SEO CONTENT SECTION
   ============================ */

.mot-seo {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 16px;
}

.mot-seo h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.mot-seo p {
    line-height: 1.7;
    color: #555;
}
/* ============================
   FAQ SECTION
   ============================ */

.mot-faq {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 16px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding-bottom: 16px;
    color: #555;
}

.faq-answer.open {
    display: block;
}
/* ============================
   MOT SEO SECTION
   ============================ */

.mot-seo {
    text-align: center;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 16px;
}

.mot-seo h2 {
    font-size: 26px;
    margin-bottom: 16px;
}

.mot-seo p {
    max-width: 720px;
    margin: 0 auto 18px;
    line-height: 1.6;
    color: #444;
}
/* ============================
   MOT DEFECT LIST STYLES
   ============================ */

.defects {
    margin-top: 10px;
    padding-left: 18px;
    list-style: disc;
}

/* Hide by default (collapse) */
.defects.collapsed {
    display: none;
}

/* Defect severity colours */
.defects li.dangerous {
    color: #b00000;
    font-weight: 700;
}

.defects li.major {
    color: #e67e00;
    font-weight: 600;
}

.defects li.advisory {
    color: #555;
}

/* ============================
   ADVISORY TOGGLE BUTTON
   ============================ */

.advisory-toggle {
    margin-top: 10px;
    background: #eef3ff;
    border: none;
    color: #0057ff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.advisory-toggle:hover {
    background: #dde7ff;
}
/* ============================
   MOT RESULT CARDS (IMPROVED)
   ============================ */

.mot-results {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 0;
}

/* Individual MOT test */
.mot-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-left: 8px solid #22c55e; /* pass default */
}

/* Fail override */
.mot-card.fail {
    border-left-color: #dc2626;
}

/* Header */
.mot-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mot-test-header div:first-child {
    font-size: 15px;
    font-weight: 600;
}

/* PASS / FAIL badge */
.mot-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mot-status.pass {
    background: #16a34a;
    color: #fff;
}

.mot-status.fail {
    background: #dc2626;
    color: #fff;
}

/* Mileage */
.mot-card p {
    margin: 6px 0;
    font-size: 14px;
    color: #333;
}

/* ============================
   DEFECT LIST
   ============================ */

.defect-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.defect-section strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.defects {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

/* Defect severity */
.defects li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.45;
}

/* Advisory */
.defects li.advisory {
    color: #555;
}

/* Major */
.defects li.major {
    color: #e67e00;
    font-weight: 600;
}

/* Dangerous */
.defects li.dangerous {
    color: #b00000;
    font-weight: 700;
}

/* ============================
   VEHICLE HEADER CARD
   ============================ */

.vehicle-card {
    background: #f5f7ff;
    border: 1px solid #d6ddff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.vehicle-card h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.vehicle-card p {
    margin: 2px 0;
    font-size: 14px;
    color: #333;
}

/* ============================
   MOBILE TWEAKS
   ============================ */

@media (max-width: 520px) {
    .mot-test-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .mot-status {
        align-self: flex-start;
    }
}
/* ============================
   MOT SEO CONTENT – PREMIUM BOX
   ============================ */

.mot-seo {
    max-width: 960px;
    margin: 80px auto;
    padding: 40px 36px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* Headings */
.mot-seo h2 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #111827;
}

/* Sub-headings (FAQ titles) */
.mot-seo h3 {
    font-size: 20px;
    margin: 28px 0 10px;
    color: #1f2937;
}

/* Paragraph text */
.mot-seo p {
    max-width: 780px;
    margin: 0 auto 18px;
    line-height: 1.7;
    font-size: 16px;
    color: #374151;
}

/* Lists */
.mot-seo ul {
    max-width: 720px;
    margin: 16px auto 24px;
    padding-left: 22px;
    text-align: left;
}

.mot-seo li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #374151;
}

/* Horizontal separators */
.mot-seo hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 40px 0;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .mot-seo {
        padding: 28px 20px;
        margin: 60px 12px;
    }

    .mot-seo h2 {
        font-size: 24px;
    }
}
.mot-btn.loading {
    pointer-events: none;
    opacity: 0.85;
    position: relative;
}

.mot-btn.loading span {
    visibility: hidden;
}

.mot-btn.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    inset: 0;
    margin: auto;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* ============================
   ULEZ SELL CTA SECTION
   ============================ */

.ulez-sell-wrapper {
    max-width: 520px;
    margin: 40px auto;
    padding: 22px;

    background: #f9fafb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    text-align: center;
}

/* Button (enhanced) */
.ulez-sell-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;

    background: #16A34A;
    color: #fff;

    padding: 16px 20px;
    border-radius: 999px;

    font-size: 18px;
    font-weight: 700;
    text-decoration: none;

    transition: transform 0.15s ease, background 0.15s ease;
}

.ulez-sell-btn:hover {
    background: #2BFF6A;
    transform: translateY(-1px);
}

/* Mobile spacing */
@media (max-width: 768px) {
    .ulez-sell-wrapper {
        margin: 30px 16px;
        padding: 20px;
    }

    .ulez-sell-btn {
        font-size: 17px;
    }
}