/* ==========================================================================
   Zanzibar applicant portal styles
   ========================================================================== */

/* ----- stepper form (application) ----- */
.o_applicant .app-step { animation: appFade 0.25s ease; }
@keyframes appFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
.o_applicant .form-label { font-weight: 500; }
.o_applicant h5 { font-weight: 600; }
.o_applicant_footer { font-size: 0.9rem; }

/* ----- Zanzibar blue palette on applicant pages ----- */
.btn-primary { background-color: #0d6efd; border-color: #0d6efd; }
.btn-primary:hover, .btn-primary:focus { background-color: #0b5ed7; border-color: #0a58ca; }
.btn-outline-primary { color: #0d6efd; border-color: #0d6efd; }
.btn-outline-primary:hover { background-color: #0d6efd; border-color: #0d6efd; color: #fff; }
.text-primary { color: #0d6efd !important; }
.badge.bg-primary { background-color: #0d6efd !important; }

/* ==========================================================================
   Full-width premium auth (signup / login) — no boxed container, no borders
   ========================================================================== */
.o_auth_full {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #f2f6fe;
}

.auth-top {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    text-align: center;
    padding: 1.4rem 1rem;
}
.auth-top img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.auth-top h4 { font-weight: 700; margin: .55rem 0 .15rem; font-size: 1.35rem; }
.auth-top p { margin: 0; opacity: .92; font-size: .92rem; }

.auth-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.4rem clamp(1rem, 4vw, 3rem) 2rem;
    flex: 1 1 auto;
}

.auth-label {
    font-weight: 600;
    color: #16233a;
    margin-bottom: .3rem;
    font-size: .92rem;
}

/* borderless, filled fields */
.auth-group {
    border-radius: .8rem;
    background: #eaf1fb;
    overflow: hidden;
    transition: background .15s ease, box-shadow .15s ease;
}
.auth-group .input-group-text {
    background: transparent;
    border: 0;
    color: #0d6efd;
    font-size: 1.1rem;
    padding-left: 1rem;
    padding-right: .55rem;
}
.auth-group .form-control,
.auth-group .form-select {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 1.05rem;
    padding: .7rem .8rem;
    min-height: 54px;
}
.auth-group .form-control:focus,
.auth-group .form-select:focus { box-shadow: none; }
.auth-group:focus-within {
    background: #fff;
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .20);
}

.auth-group .form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230d6efd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 15px;
    padding-right: 2.5rem;
}

.password-toggle {
    border: 0;
    background: transparent;
    color: #7c899d;
    padding: 0 1rem;
    font-size: 1.05rem;
}
.password-toggle:hover,
.password-toggle:focus { color: #0d6efd; background: transparent; box-shadow: none; }

.auth-btn {
    font-size: 1.12rem;
    font-weight: 600;
    padding: .85rem 1rem;
    border-radius: .8rem;
    box-shadow: 0 10px 22px rgba(13, 110, 253, .30);
    transition: transform .12s ease, box-shadow .2s ease;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(13, 110, 253, .38); }

.auth-foot { color: #6b7a90; }
.auth-foot a { font-weight: 600; }

@media (max-width: 767px) {
    .auth-top { padding: 1.1rem 1rem; }
    .auth-top img { height: 54px; width: 54px; }
    .auth-wrap { padding: 1rem 1rem 1.5rem; }
}

/* ================= application detail: status timeline ================= */
.status-timeline { display: flex; justify-content: space-between; gap: .5rem; }
.tl-step { flex: 1; text-align: center; position: relative; }
.tl-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}
.tl-step.tl-done:not(:last-child)::after { background: #0d6efd; }
.tl-dot {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .45rem;
    font-size: .8rem;
}
.tl-step.tl-done .tl-dot { background: #0d6efd; color: #fff; }
.tl-label { font-size: .85rem; color: #64748b; font-weight: 600; }
.tl-step.tl-done .tl-label { color: #0d6efd; }

/* detail definition lists */
.detail-dl { font-size: .96rem; }
.detail-dl dt { color: #6b7a90; font-weight: 500; }
.detail-dl dd { margin-bottom: .5rem; font-weight: 500; color: #16233a; word-break: break-word; }
