/* =====================================================
   SCANTOOL – STRONG INPUT OVERRIDES
   Forces visible textbox color changes
   ===================================================== */

/* ---------- PAGE BACKGROUND ---------- */

body {
    background-color: #0f172a;
    background-image: none;
    color: #e5e7eb;
}

/* ---------- HEADINGS ---------- */

.steps-wrapper h1 {
    color: #ffffff;
}

.steps-wrapper label {
    color: #cbd5f5;
}

/* ---------- FORM CONTROLS (AGGRESSIVE) ---------- */

input.form-control,
select.form-control,
textarea.form-control {
    background-color: #020617 !important;
    color: #e5e7eb !important;
    border: 2px solid #2563eb !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
}

/* ---------- PLACEHOLDER (ALL BROWSERS) ---------- */

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

input.form-control::-webkit-input-placeholder {
    color: #94a3b8 !important;
}

input.form-control::-moz-placeholder {
    color: #94a3b8 !important;
}

input.form-control:-ms-input-placeholder {
    color: #94a3b8 !important;
}

/* ---------- FOCUS STATE ---------- */

input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    background-color: #020617 !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35) !important;
    color: #ffffff !important;
}

/* ---------- DISABLED / READONLY ---------- */

input.form-control:disabled,
input.form-control[readonly] {
    background-color: #020617 !important;
    border-color: #475569 !important;
    color: #94a3b8 !important;
}

/* ---------- CHROME AUTOFILL FIX ---------- */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #020617 inset !important;
}

/* ---------- BUSINESS TYPE TEXT ---------- */

.location span,
.small-control {
    color: #cbd5f5;
}

.location:hover span,
.on-select span {
    color: #22c55e;
}

/* ---------- STEP TEXT ---------- */

.steps-control span {
    color: #94a3b8;
}

/* ---------- PRIMARY CTA ---------- */

.btn-status {
    background-color: #22c55e;
    color: #022c22;
    border-radius: 999px;
    font-weight: 700;
}

.btn-status:hover {
    background-color: #16a34a;
}

/* ---------- SCAN RESULT PANEL ---------- */

.chart-analyse {
    background-color: #020617;
    border: 1px solid #1e293b;
    border-radius: 16px;
}

.chart-details {
    color: #e5e7eb;
}

/* ---------- FIX NOW BUTTON ---------- */

.btn-fix {
    background-color: #2563eb;
    border-radius: 999px;
}

.btn-fix:hover {
    background-color: #1d4ed8;
}

/* ---------- FOOTER ---------- */

.bg-green {
    background-color: #020617;
}
