/* ============================================
   NordenAuto Valuation – Redesigned Theme
   Matching nordenauto.no branding
   ============================================ */

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

/* ─── Container ─── */
.nordenauto-valuation-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

/* ─── Title ─── */
.nordenauto-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1f2c;
    margin: 0 0 6px 0;
    padding: 0;
    letter-spacing: -0.3px;
}

.nordenauto-form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
    padding: 0;
    font-weight: 400;
}

/* ─── Form Layout: fields on left, action on right ─── */
.nordenauto-form-layout {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

/* ─── Fields box with border ─── */
.nordenauto-fields-box {
    flex: 1;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.nordenauto-fields-box:focus-within {
    border-color: #1a1f2c;
}

/* ─── Rows inside the fields box ─── */
.nordenauto-row {
    display: flex;
}

.nordenauto-row .nordenauto-input-field {
    flex: 1;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    transition: background 0.2s ease;
}

.nordenauto-row .nordenauto-input-field:hover {
    background: #fafafa;
}

.nordenauto-row .nordenauto-input-field:not(:last-child) {
    border-right: 1.5px solid #e5e7eb;
}

/* ─── Bottom row border ─── */
.nordenauto-row.bottom-row {
    border-top: 1.5px solid #e5e7eb;
}

/* ─── Labels ─── */
.nordenauto-input-field label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Inputs ─── */
.nordenauto-input-field input {
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a1f2c;
    padding: 4px 0;
    background: transparent;
    width: 100%;
    box-shadow: none !important;
    -moz-appearance: textfield;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.nordenauto-input-field input::-webkit-outer-spin-button,
.nordenauto-input-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nordenauto-input-field input::placeholder {
    color: #d1d5db;
    font-weight: 400;
}

/* ─── Phone wrapper with +47 prefix ─── */
.nordenauto-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nordenauto-phone-wrapper .phone-prefix {
    font-size: 15px;
    color: #1a1f2c;
    font-weight: 500;
    white-space: nowrap;
}

.nordenauto-phone-wrapper input {
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a1f2c;
    padding: 4px 0;
    background: transparent;
    width: 100%;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* ─── Action box: button only (toggle removed) ─── */
.nordenauto-action-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    flex-shrink: 0;
}

/* ─── Submit button – nordenauto.no black style ─── */
.nordenauto-submit-btn {
    background: #1a1f2c;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    height: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nordenauto-submit-btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nordenauto-submit-btn:active {
    transform: translateY(0);
}

.nordenauto-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Disclaimer text ─── */
.nordenauto-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1.6;
}

.nordenauto-disclaimer strong {
    font-weight: 600;
    color: #1a1f2c;
}

/* ─── Error message ─── */
.nordenauto-error {
    color: #ef4444;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

/* ============================================
   Success results styling
   ============================================ */
.nordenauto-success-wrapper {
    text-align: left;
    margin-top: 24px;
    padding: 28px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.nordenauto-vehicle-details {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.nordenauto-vehicle-details h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a1f2c;
    font-size: 18px;
}

.nordenauto-vehicle-details p {
    font-family: 'Inter', sans-serif;
    color: #374151;
    font-size: 14px;
}

.nordenauto-vehicle-details p strong {
    color: #6b7280;
    font-weight: 600;
}

.nordenauto-inspection-member {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nordenauto-inspection-member .member-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nordenauto-inspection-member img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.nordenauto-ok-btn {
    background: #1a1f2c;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 200px;
    align-self: flex-start;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nordenauto-ok-btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Step 2 (public-form.php) – NordenAuto Theme
   ============================================ */

.nav-valuation-wrapper {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 0 16px;
}

/* Steps – show/hide */
.nav-step {
    display: none;
}

.nav-step--active {
    display: block;
}

/* Step header */
.nav-step-header {
    margin-bottom: 28px;
}

.nav-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1f2c;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.nav-title--sm {
    font-size: 20px;
}

.nav-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Form row – inline fields */
.nav-form-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

/* Field styling */
.nav-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-field label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.nav-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.nav-input-wrap:focus-within {
    border-color: #1a1f2c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 31, 44, 0.08);
}

.nav-input-icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    flex-shrink: 0;
    margin-right: 10px;
}

.nav-input-wrap input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #1a1f2c;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.nav-input-wrap input::placeholder {
    color: #d1d5db;
    font-weight: 400;
}

/* Button field */
.nav-field--btn {
    flex: 0 0 auto;
}

/* Primary button */
.nav-btn {
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.nav-btn--primary {
    background: #1a1f2c;
    color: #fff;
}

.nav-btn--primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nav-btn--primary:active {
    transform: translateY(0);
}

.nav-btn--primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nav-btn--full {
    width: 100%;
    padding: 16px;
}

.nav-btn--outline {
    background: transparent;
    color: #1a1f2c;
    border: 1.5px solid #e5e7eb;
}

.nav-btn--outline:hover {
    border-color: #1a1f2c;
    background: #f9fafb;
}

/* Spinner */
.nav-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nav-spin 0.6s linear infinite;
}

@keyframes nav-spin {
    to { transform: rotate(360deg); }
}

/* Trust badges */
.nav-trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.nav-badge svg {
    width: 16px;
    height: 16px;
    color: #1a1f2c;
}

/* Error */
.nav-error {
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

/* Back button */
.nav-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

.nav-back-btn:hover {
    color: #1a1f2c;
}

.nav-back-btn svg {
    width: 18px;
    height: 18px;
}

/* Vehicle card (step 2) */
.nav-vehicle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.nav-vehicle-icon {
    width: 48px;
    height: 48px;
    background: #1a1f2c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-vehicle-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.nav-vehicle-info {
    flex: 1;
    min-width: 0;
}

.nav-vehicle-name {
    font-weight: 700;
    font-size: 16px;
    color: #1a1f2c;
    display: block;
}

.nav-vehicle-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.nav-vehicle-reg {
    font-size: 13px;
    font-weight: 700;
    color: #1a1f2c;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    letter-spacing: 1px;
}

/* Contact fields */
.nav-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Privacy text */
.nav-privacy {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
    text-align: center;
}

/* Success (step 3) */
.nav-success-icon {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.nav-success-icon svg {
    width: 32px;
    height: 32px;
    color: #22c55e;
}

#nav-step-3 {
    text-align: center;
}

#nav-step-3 .nav-title {
    font-size: 22px;
}

#nav-step-3 .nav-subtitle {
    max-width: 400px;
    margin: 0 auto 24px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .nordenauto-valuation-container {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .nordenauto-form-layout {
        flex-direction: column;
        gap: 16px;
    }

    .nordenauto-fields-box {
        width: 100%;
    }

    .nordenauto-row {
        flex-direction: column;
    }

    .nordenauto-row .nordenauto-input-field:not(:last-child) {
        border-right: none;
        border-bottom: 1.5px solid #e5e7eb;
    }

    .nordenauto-action-box {
        align-items: stretch;
        width: 100%;
    }

    .nordenauto-submit-btn {
        width: 100%;
        height: auto;
        padding: 16px;
    }

    .nav-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .nav-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .nordenauto-form-title {
        font-size: 19px;
    }
}
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea
 {
    padding: 10px !important;
	 padding-left:15px !important;
}
