/* ============================================
   Jumia-Style Authentication Pages
   Paginated login — matches Jumia's exact layout
   ============================================ */

/* Wrapper — white centered page */
.jumia-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px 16px;
}

/* Card — no visible card, just centered content */
.jumia-auth-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

/* ============ Star Icon ============ */
.jumia-star-icon {
    margin-bottom: 16px;
}

.jumia-star-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #094bd9;
    border-radius: 50%;
}

.jumia-star-bg svg {
    width: 28px;
    height: 28px;
}

.jumia-star-icon svg {
    width: 48px;
    height: 48px;
}

/* ============ Heading ============ */
.jumia-auth-heading {
    text-align: center;
    margin-bottom: 28px;
}

.jumia-auth-heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: #282828;
    margin: 0 0 6px;
}

.jumia-auth-heading p {
    font-size: 13px;
    color: #75757a;
    margin: 0;
    line-height: 1.4;
}

/* ============ Form ============ */
.jumia-auth-form {
    width: 100%;
    text-align: left;
}

.jumia-form-group {
    margin-bottom: 16px;
}

.jumia-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #282828;
    margin-bottom: 6px;
}

/* Input */
.jumia-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.jumia-input-wrap:focus-within {
    border-color: #094bd9;
}
/* Input icon */
.jumia-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 12px;
    flex-shrink: 0;
    min-width: 30px;
}

.jumia-input-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    stroke: #999;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.jumia-input-wrap:focus-within .jumia-input-icon svg {
    stroke: #1059e0;
}
.jumia-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 14px;
    font-size: 14px;
    color: #282828;
    background: transparent;
    width: 100%;
}

.jumia-input-wrap input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Password toggle */
.jumia-pwd-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.jumia-pwd-toggle:hover svg {
    stroke: #094bd9;
}

/* Password step — hidden by default, paginated */
.jumia-step-password {
    display: none;
    margin-bottom: 8px;
}

.jumia-step-password.active {
    display: block;
}

/* Forgot password row */
.jumia-forgot-row {
    text-align: right;
    margin-top: 8px;
}

.jumia-forgot-link {
    font-size: 13px;
    color: #094bd9;
    text-decoration: none;
    font-weight: 500;
}

.jumia-forgot-link:hover {
    text-decoration: underline;
}

/* Field errors */
.jumia-field-error {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    text-align: left;
}

/* ============ Continue / Submit Button ============ */
.jumia-btn-continue {
    width: 100%;
    padding: 14px;
    background: #094bd9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
    display: block;
}

.jumia-btn-continue:hover {
    background: #e07a10;
}

.jumia-btn-submit {
    display: none;
}

/* ============ OR Divider ============ */
.jumia-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 20px;
    gap: 12px;
}

.jumia-divider::before,
.jumia-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.jumia-divider span {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* ============ Social Login ============ */
.jumia-social-login .login-options {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

.jumia-social-login .login-options-title {
    display: none;
}

/* Icon-only mode: circular side-by-side */
.jumia-social-login .social-icons,
.jumia-social-login .social-login-lg {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.jumia-social-login .social-icons li a,
.jumia-social-login .social-login-lg li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    text-decoration: none;
    transition: transform 0.2s;
    padding: 0;
    background: transparent;
}

.jumia-social-login .social-icons li a:hover,
.jumia-social-login .social-login-lg li a:hover {
    transform: scale(1.1);
}

.jumia-social-login .social-icons li a img,
.jumia-social-login .social-login-lg li a img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* Basic mode (text + icon): full width buttons */
.jumia-social-login .social-login-basic {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.jumia-social-login .social-login-basic li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 13px;
    color: #282828;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.2s;
}

.jumia-social-login .social-login-basic li a:hover {
    border-color: #094bd9;
}

.jumia-social-login .social-login-basic li a img {
    width: 20px;
    height: 20px;
}

/* ============ Terms Text ============ */
.jumia-terms {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}

.jumia-terms a {
    color: #094bd9;
    text-decoration: underline;
}

/* ============ Help Text ============ */
.jumia-help-text {
    font-size: 12px;
    color: #75757a;
    text-align: center;
    margin-top: 20px;
}

.jumia-help-text a {
    color: #094bd9;
    text-decoration: none;
}

.jumia-help-text a:hover {
    text-decoration: underline;
}

/* ============ Bottom Logo ============ */
.jumia-bottom-logo {
    text-align: center;
    margin-top: 28px;
    padding-top: 16px;
}

.jumia-bottom-logo a {
    text-decoration: none;
    display: inline-block;
}

.jumia-bottom-logo img {
    max-height: 28px;
    width: auto;
    opacity: 0.7;
}

.jumia-brand-text {
    font-size: 18px;
    font-weight: 800;
    color: #282828;
    letter-spacing: 0.5px;
}

/* ============ Alert overrides ============ */
.jumia-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.5;
}

.jumia-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.jumia-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.jumia-alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

.jumia-alert-warning {
    background: #fff8e1;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.jumia-auth-card .alert {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: left;
}

/* ============ Register / Login links ============ */
.jumia-register-link,
.jumia-login-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
    color: #555;
}

.jumia-register-link a,
.jumia-login-link a {
    color: #094bd9;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.jumia-register-link a:hover,
.jumia-login-link a:hover {
    text-decoration: underline;
}

/* Footer (only used on register/password pages) */
.jumia-auth-footer {
    margin-top: 20px;
    text-align: center;
}

.jumia-auth-footer a {
    font-size: 13px;
    color: #75757a;
    text-decoration: none;
}

.jumia-auth-footer a:hover {
    color: #094bd9;
}

/* ============ Registration page ============ */

/* Step indicator dots */
.jumia-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.jumia-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s ease;
}

.jumia-step-dot.active {
    background: #094bd9;
}

/* Register steps */
.jumia-reg-step {
    /* No animation — keeps inputs fully interactive */
}

/* Back button */
.jumia-btn-back {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #75757a;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.jumia-btn-back:hover {
    border-color: #094bd9;
    color: #094bd9;
}

.jumia-btn-register {
    width: 100%;
    padding: 14px;
    background: #094bd9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
}

.jumia-btn-register:hover {
    background: #e07a10;
}

/* Checkbox */
.jumia-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    margin: 0;
}

.jumia-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #094bd9;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============ Responsive ============ */
@media (max-width: 480px) {
    .jumia-auth-wrapper {
        padding: 24px 20px;
    }

    .jumia-auth-card {
        max-width: 100%;
    }

    .jumia-auth-heading h3 {
        font-size: 18px;
    }

    .jumia-btn-continue,
    .jumia-btn-register {
        padding: 13px;
        font-size: 15px;
    }
}

/* Hide breadcrumb on auth pages */
body:has(.jumia-auth-wrapper) .breadcrumb__area,
body:has(.jumia-auth-wrapper) .breadcrumb-area {
    display: none !important;
}
