/* ============================================================
   SeaCan Power — Configure Your Power Requirement Form
   Primary: #0077FF | Background: #ffffff | Text: #1a1a1a
   ============================================================ */

/* ── SECTION WRAPPER ── */
.scpf-section {
    background: #ffffff;
    padding: 60px 20px 70px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    max-width: 860px;
    margin: 0 auto;
    box-sizing: border-box;
}

.scpf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0077FF;
    margin-bottom: 10px;
}

.scpf-heading {
    font-size: 36px;
    font-weight: 800;
    color: #0077FF;
    margin: 0 0 14px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.scpf-divider {
    width: 44px;
    height: 3px;
    background: #0077FF;
    margin-bottom: 32px;
    border-radius: 2px;
}

/* ── FORM CARD ── */
.scpf-form-wrap {
    background: #f5f8ff;
    border: 1px solid #d0e4ff;
    border-radius: 10px;
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(0, 119, 255, 0.07);
}

/* ── PROGRESS BAR ── */
.scpf-progress {
    display: flex;
    gap: 5px;
    margin-bottom: 28px;
}

.scpf-prog-step {
    flex: 1;
    height: 4px;
    background: #dce8ff;
    border-radius: 4px;
    transition: background 0.25s;
}

.scpf-prog-step.scpf-done {
    background: #a0c4ff;
}

.scpf-prog-step.scpf-active {
    background: #0077FF;
}

/* ── STEP VISIBILITY ── */
.scpf-step {
    display: none;
}

.scpf-step.scpf-visible {
    display: block;
}

/* ── STEP HEADING & HINT ── */
.scpf-step-q {
    font-size: 18px;
    font-weight: 700;
    color: #0077FF;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 5px;
}

.scpf-step-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

/* ── OPTION BUTTONS ── */
.scpf-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 4px;
}

.scpf-options-2col {
    grid-template-columns: repeat(2, 1fr);
}

.scpf-opt {
    background: #ffffff;
    border: 1.5px solid #ccd9ff;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1.4;
    font-family: inherit;
}

.scpf-opt:hover {
    border-color: #0077FF;
    color: #0077FF;
    background: #f0f7ff;
}

.scpf-opt.scpf-selected {
    border-color: #0077FF;
    background: #0077FF;
    color: #ffffff;
    font-weight: 600;
}

/* ── TEXT FIELDS ── */
.scpf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.scpf-field-row.scpf-solo {
    grid-template-columns: 1fr;
}

.scpf-field-col {
    display: flex;
    flex-direction: column;
}

.scpf-label-field {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.scpf-req {
    color: #0077FF;
    font-weight: 700;
}

.scpf-input,
.scpf-select,
.scpf-textarea {
    background: #f3f7ff;
    border: 1.5px solid #0077FF;
    border-radius: 6px;
    color: #1a1a1a;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.scpf-input::placeholder,
.scpf-textarea::placeholder {
    color: #9ca3af;
}

.scpf-input:focus,
.scpf-select:focus,
.scpf-textarea:focus {
    background: #ffffff;
    border-color: #0055cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15);
}

.scpf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230077FF' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.scpf-textarea {
    height: 100px;
    resize: vertical;
}

/* ── CHECKBOX ── */
.scpf-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
    margin-top: 4px;
}

.scpf-checkbox-row input[type="checkbox"] {
    accent-color: #0077FF;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.scpf-checkbox-row label {
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}

/* ── FORM NAV ── */
.scpf-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dce8ff;
}

.scpf-step-counter {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* ── BUTTONS ── */
.scpf-btn-next,
.scpf-btn-submit {
    background: #0077FF;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.scpf-btn-next:hover,
.scpf-btn-submit:hover {
    background: #0055cc;
    box-shadow: 0 4px 14px rgba(0, 119, 255, 0.3);
}

.scpf-btn-back {
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 10px 0;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    font-family: inherit;
}

.scpf-btn-back:hover {
    color: #0077FF;
}

.scpf-btn-submit:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    box-shadow: none;
}

/* ── ERROR ── */
.scpf-error-msg {
    background: #fff0f0;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #dc2626;
    margin-top: 10px;
}

/* ── SUCCESS ── */
.scpf-success {
    text-align: center;
    padding: 48px 24px;
}

.scpf-success-icon {
    width: 64px;
    height: 64px;
    background: #0077FF;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.3);
}

.scpf-success-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0077FF;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.scpf-success-msg {
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 620px) {
    .scpf-form-wrap {
        padding: 24px 18px;
    }

    .scpf-heading {
        font-size: 26px;
    }

    .scpf-options-grid,
    .scpf-field-row {
        grid-template-columns: 1fr;
    }

    .scpf-form-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .scpf-btn-next,
    .scpf-btn-submit {
        width: 100%;
        text-align: center;
    }

    .scpf-step-q {
        font-size: 15px;
    }
}
