/* ================= ROOT ================= */
:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-soft: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #fbbf24;
    --accent-dark: #d97706;
    --success: #22c55e;
}
.text-primary{
    color: #ef0d0d !important;
}
/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
    color: var(--text-main);
    margin: 0;
}

/* ================= HERO ================= */
.hero {
    padding: 90px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgb(251 36 36 / 18%), transparent);
}

.hero-tag {
    color: #ffffff;
    background: #18529c;
    border: 1px solid #18529c;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
}

.hero h1 {
    font-size: 42px;
    margin: 10px 0;
    font-weight: 800;
}

.hero h1 span {
    /* color: var(--accent); */
    color: #ef0d0d;
}

.hero-sub {
    color: var(--text-muted);
    max-width: 600px;
    margin: auto;
}

.hero-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-badges svg {
    color: red !important;
    margin-right: 6px;
    height: 20px;
    width: 20px;
}

/* ================= STEPS BAR ================= */
.steps-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 18px 10px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: #ffffff;
}

.step {
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
}

.step .step-icon {
    height: 40px;
    width: 40px;
    border: 1px solid var(--border-soft);
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.active .step-icon {
    background: #fb24241c;
    border: 1px solid #ef0d0d;
}

.step.active {
    color: #ef0d0d;
    font-weight: 600;
}

.step.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #ef0d0d;
}

/* ================= GLASS CARD (NOW SOLID) ================= */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-glass h3 {
    font-size: 22px;
    font-weight: 700;
}

.muted {
    color: var(--text-muted);
    font-size: 14px;
}

/* ================= FORM ================= */
label,
.label {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

textarea {
    resize: none;
    min-height: 90px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

/* ================= LOAN / EMP GRID ================= */
.loan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.loan-type,
.emp-type {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 14px !important;
    color: var(--text-muted) !important;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.loan-type:hover,
.emp-type:hover {
    border-color: red  !important;
    color: var(--text-main);
}

.loan-type.active,
.emp-type.active {
    border-color: var(--accent);
    background: #fbbf2433;
    color: var(--text-main);
    font-weight: 600;
}

/* ================= RADIO ================= */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-group label {
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================= ACTION BUTTONS ================= */
.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text-main);
    cursor: pointer;
    font-size: 14px;
}

.btn-next,
.btn-submit {
    background: #ef0d0d;
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--accent-dark);
}

.btn-prev:hover {
    border-color: var(--accent);
}

/* ================= DOC LIST ================= */
.doc-list {
    list-style: none;
    padding: 0;
    margin-top: 14px;
}

.doc-list li {
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    margin-bottom: 10px;
}

/* ================= SIDE CARDS ================= */
.side-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.side-card h5 {
    font-size: 16px;
    margin-bottom: 12px;
}

.side-card p span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 8px;
    background: #fb242433;
    margin-right: 10px;
}

.side-card p span svg {
    color: #ef0d0d;
    height: 20px;
}

.side-card ul {
    padding-left: 22px;
}

.side-card li {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
}
.side-card li::before{
    content: "\f058";
    font-family: "fontAwesome";
    position: absolute;
    top: 0;
    left: -20px;
    color: #ef0d0d;
}
.side-card.secure {
    text-align: center;
    color: #ef0d0d;
}

.side-card.secure i {
    font-size: 22px;
}

/* ================= STEPS VISIBILITY ================= */
.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}
input:focus,
select:focus {
  outline: 1px solid red;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .steps-bar {
        overflow-x: auto;
        gap: 28px;
    }

    .actions {
        flex-direction: column;
        gap: 12px;
    }
}

/* ---------- Document Cards ---------- */
.doc-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
}

.doc-card h6 {
    font-weight: 600;
    margin-bottom: 2px;
}

.doc-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}

/* ---------- Upload Box ---------- */
.upload-box {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.upload-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    margin-top: 4px;
}

.upload-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Pro Tips ---------- */
.pro-tips {
    border-radius: 14px;
    padding: 16px;
    background: #1d283a0f;
}

.pro-tips ul {
    padding-left: 18px;
    margin: 0;
    list-style: disc;
}

.pro-tips li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pr-card {
    border-radius: 14px;
    background: #1d283a0f;
}

/* ================= CONSENT CHECKBOX ================= */

.consent-wrapper {
    color: #e5e7eb;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.consent-item .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.8);
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    padding: 0;
}

/* Checked state */
.consent-item .form-check-input:checked {
    background-color: #fbbf24;
    border-color: #fbbf24;
}

/* Tick icon */
.consent-item .form-check-input:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

/* Label text */
.consent-item .form-check-label {
    cursor: pointer;
    margin-top: 0;
    line-height: 1.4;
}

.consent-item strong {
    display: block;
    font-size: 14px;
}

.consent-item small {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}

.consent-item a {
    color: #fbbf24;
    text-decoration: none;
}

.consent-item a:hover {
    text-decoration: underline;
}