﻿/* ---------------------------------------------
   GLOBAL
--------------------------------------------- */

body {
    font-family: Inter, Arial, sans-serif;
    background: #f7f7f9;
    margin: 0;
    padding: 20px;
}

.form-container {
    max-width: 650px;
    margin: auto;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

h2 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
}

/* ---------------------------------------------
   FORM FIELDS
--------------------------------------------- */

label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    font-size: 15px;
}

input::-ms-clear,
input::-ms-reveal,
input::-webkit-clear-button {
    display: none !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #c9cdd4;
    font-size: 16px;
    background: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

/* Remove native dropdown arrow */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    padding-right: 14px; /* optional: keeps spacing consistent */
}


   

    input[type="date"]::-moz-focus-inner {
        border: 0;
    }

    input:focus,
    textarea:focus,
    select:focus {
        border-color: #0052cc;
        outline: none;
    }

textarea {
    height: 90px;
    resize: vertical;
}

.input-error {
    border: 2px solid #d93025 !important;
    border-radius: 6px;
    background-color: #fff8f8;
}

.input-error:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.25);
}

/* ---------------------------------------------
   BUTTONS
--------------------------------------------- */

input[type="submit"],
button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

input[type="submit"].next-btn,
button.next-btn {
    background: var(--brand-primary);
    color: white;
}

.prev-btn {
    background: #d0d3d8;
}

.button-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* ---------------------------------------------
   MULTI-STEP
--------------------------------------------- */

.form-step {
    display: none;
}

    .form-step.active {
        display: block;
    }

.progress {
    width: 100%;
    height: 6px;
    background: #e4e7eb;
    border-radius: 3px;
    margin-bottom: 24px;
}

.progress-bar {
    height: 6px;
    width: 0%;
    background: #0052cc;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ---------------------------------------------
   RESPONSIVE
--------------------------------------------- */

@media (max-width: 480px) {
    .button-row {
        flex-direction: column;
        gap: 12px;
    }

    .charge-card {
        height: 130px;
    }
}
