/* =====================================================
   NikoUArxive — Submission Wizard Styles (GLOBAL)
   Used by s1–s6 + submit_stepper.php
   ===================================================== */

/* Page background around the card */
.submit-step-wrapper {
    padding: 40px 16px 60px;
    background: #f5f7ff;
}

/* Main white card */
.submit-step-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    padding: 28px 32px 30px;
}

/* Header block inside card */
.submit-step-header {
    margin-bottom: 18px;
}

/* Small label above title: "Step X of 6 — ..." */
.step-progress-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 4px;
}

/* Big title: "Email Verification", "Authors Info", ... */
.submit-step-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

/* Subtitle text */
.submit-step-subtitle {
    font-size: 0.98rem;
    color: #4b5563;
    margin-top: 8px;
}

/* Blue progress bar under title */
.step-progress-bar {
    width: 100%;
    height: 4px;
    background: #e5edff;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 10px;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    border-radius: 999px;
}

/* -----------------------------------------------------
   HORIZONTAL STEPPER (TOP OF PAGE)
   ----------------------------------------------------- */

.submit-stepper-container {
    padding: 26px 16px 10px;
    background: #f3f6ff;
}

.submit-stepper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    flex-wrap: wrap;
    text-align: center;
}

/* Each circle + label */
.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* The numbered circle */
.stepper-number {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

/* Label under circle */
.stepper-label {
    margin-top: 6px;
    max-width: 110px;
}

/* Active step (current) */
.stepper-item.active .stepper-number {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

.stepper-item.active .stepper-label {
    color: #1d4ed8;
    font-weight: 600;
}

/* Completed steps (previous) */
.stepper-item.completed .stepper-number {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.stepper-item.completed .stepper-label {
    color: #16a34a;
}

/* -----------------------------------------------------
   Buttons (shared)
   ----------------------------------------------------- */

.submit-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
}

.submit-btn-primary:hover {
    filter: brightness(1.05);
    text-decoration: none;
    color: #ffffff;
}

.submit-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.submit-btn-secondary:hover {
    background: #f3f4f6;
    text-decoration: none;
    color: #111827;
}

/* -----------------------------------------------------
   Small screen tweaks
   ----------------------------------------------------- */
@media (max-width: 768px) {

    .submit-step-card {
        padding: 20px 18px 24px;
        border-radius: 14px;
    }

    .submit-stepper {
        gap: 18px;
    }

    .stepper-number {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .stepper-label {
        font-size: 0.8rem;
        max-width: 90px;
    }
}

.submit-stepper-container {
    width: 100%;
    padding: 20px 0;
    background: #f5f7ff;
}

.submit-stepper {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stepper-item {
    text-align: center;
    color: #555;
}

.stepper-number {
    width: 42px;
    height: 42px;
    line-height: 42px;
    background: #d9e4ff;
    border-radius: 50%;
    margin: 0 auto 6px;
    font-size: 18px;
    font-weight: bold;
    color: #003399;
}

.stepper-item.active .stepper-number {
    background: #003399;
    color: white;
}

.stepper-item.completed .stepper-number {
    background: #009933;
    color: white;
}

.stepper-label {
    font-size: 13px;
    font-weight: 600;
}
