/* =========================================
   LICENSE PLATE FORM (FORCED NUNITO)
   ========================================= */

/* --- 1. CORE FORM STRUCTURE --- */
.license-plate-form {
    display: flex !important;
    align-items: stretch !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    max-width: 600px !important;
    font-family: 'Nunito', sans-serif !important; /* Explicitly set Nunito */
}

/* --- 2. INPUT BLOCK CONTAINER --- */
.license-plate-form .reg-container {
    display: flex !important;
    align-items: stretch !important;
    flex-grow: 1 !important;
    background-color: #ffffff !important;
    margin-right: 8px !important;
    border-radius: 10px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #cccccc !important;
}

/* --- 3. THE BLUE UK BADGE --- */
.license-plate-form .uk-badge {
    background-color: #0033a1 !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
    border-radius: 10px 0 0 10px !important;
}

.license-plate-form .uk-badge img {
    height: 30px !important;
    width: 30px !important;
    margin: 0 !important;
    display: block !important;
}

.uk-text {
    font-family: 'Nunito', sans-serif !important; /* Explicitly set Nunito */
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    color: white !important;
}

/* --- 4. INPUT FIELD STYLING --- */
.license-plate-form input[name="reg"],
.license-plate-form input[name="postcode"] {
    border: none !important;
    /* Keep Reg Plate font for input, fallback to sans-serif */
    font-family: 'Charles Wright', sans-serif !important; 
    font-size: 32px !important;
    color: #333333 !important;
    padding: 0 48px 0 0 !important;
    background: transparent !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* --- 5. BUTTON STYLING (The Fix) --- */
.license-plate-form button {
    background-color: #24544C !important;
    
    /* FORCE NUNITO SPECIFICALLY */
    font-family: 'Nunito', sans-serif !important; 
    font-weight: 800 !important;
    text-transform: none !important;  /* No Caps */
    letter-spacing: normal !important;
    
    font-size: 24px !important;
    border: 1px solid #1a3834 !important;
    color: white !important;
    cursor: pointer !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease !important;
    padding: 0 24px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.license-plate-form button:hover {
    background-color: #D9F3A3 !important;
    color: #333 !important;
}

/* --- 6. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .license-plate-form {
        flex-direction: column !important;
        align-items: flex-start !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .license-plate-form .reg-container,
    .license-plate-form button {
        width: 100% !important;
        height: auto !important;
        min-height: 50px !important;
    }
    .license-plate-form .reg-container {
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }
    .license-plate-form button {
        padding: 16px 8px !important;
    }
}