/* -----------------------------------------------------
   GLOBAL PAGE SETTINGS
----------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* Outer Container */
.onboard-container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center; /* FORCE CENTER ALIGNMENT */
}

/* -----------------------------------------------------
   STEP PROGRESS CIRCLES (MATCH STEP 2)
----------------------------------------------------- */
.step-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.step-header .step {
    width: 40px;
    height: 40px;
    background: #d6d6d6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 17px;
    color: #333;
}

.step-header .step.active {
    background: #1565c0;
    color: white;
}

.step-header .line {
    width: 70px;
    height: 4px;
    background: #c4c4c4;
    border-radius: 5px;
}

.step-header .line.active {
    background: #1565c0;
}

/* -----------------------------------------------------
   TOP PROGRESS BAR
----------------------------------------------------- */
.progress-bar-container {
    width: 100%;
    background: #e3eaf2;
    height: 10px;
    border-radius: 5px;
    margin: 10px auto 25px;
}

.progress-bar-fill {
    height: 10px;
    background: #1565c0;
    width: 33%;
    border-radius: 5px;
}

/* -----------------------------------------------------
   TITLES (CENTERED)
----------------------------------------------------- */
.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 6px;
}

.step-subtitle {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
}

/* -----------------------------------------------------
   FORM (CENTERED & CLEAN)
----------------------------------------------------- */
.onboard-form {
    width: 90%;
    max-width: 650px;
    margin: 0 auto;
    text-align: left; /* form should stay left-aligned inside center */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* Input boxes */
.form-group input {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
    border: 1px solid #cdd4e0;
    border-radius: 6px;
    background: #fff;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: #1565c0;
    box-shadow: 0 0 4px rgba(21,101,192,0.25);
    outline: none;
}

/* -----------------------------------------------------
   BUTTON
----------------------------------------------------- */
.next-btn {
    margin-top: 25px;
    padding: 12px 25px;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.next-btn:hover {
    background: #0d47a1;
}

/* -----------------------------------------------------
   ERROR MESSAGE
----------------------------------------------------- */
.error {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 20px;
    background: #ffdddd;
    border-left: 4px solid #e60000;
    padding: 10px;
    border-radius: 5px;
    color: #b30000;
}




.review-box h3 {
    margin-top: 0;
    font-size: 17px;
    color: #1565c0;
}



.ok {
    color: #2e7d32;
    font-weight: 600;
}

.bad {
    color: #c62828;
    font-weight: 600;
}

.muted {
    color: #777;
}





/* ==============================
   DOCUMENT GRID FIX
============================== */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f9fafc;
    border: 1px solid #e1e7f0;
    transition: 0.2s;
}

.review-box:hover {
    transform: translateY(-2px);
}

/* status colors */
.ok {
    color: #16a34a;
    font-weight: bold;
}

.bad {
    color: #dc2626;
    font-weight: bold;
}

.muted {
    color: #666;
}



/* ===============================
   LINK BUTTON (NO UNDERLINE)
============================== */
.btn-link {
    display: inline-block;
    padding: 12px 25px;
    background: #1565c0;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
}

.btn-link:hover {
    background: #0d47a1;
    text-decoration: none;
}