/* ── Base ──────────────────────────────────────────────────────────────── */
:root {
    --pp-primary: #00c6e0;
    --pp-secondary: #1b91c3;
    --pp-surface: #ffffff;
    --pp-bg: #f0f2f9;
    --pp-text: #03294a;
    --pp-muted: #00334c;
    --pp-border: #6b7280;
    --pp-radius: 14px;
    --pp-shadow: 0 8px 32px rgba(102, 126, 234, .15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');



body {
    /*    background: var(--pp-bg);*/
    color: var(--pp-text);
    font-family: "Urbanist", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.pp-navbar {
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-secondary));
    padding: 14px 0;
    box-shadow: 0 2px 16px rgba(102, 126, 234, .3);
}

/* ── Main container ─────────────────────────────────────────────────────── */
.pp-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.pp-card {
    background: #ffffffe8;
    border-radius: 0;
    box-shadow: none;
    border: 0px solid var(--pp-border);
    overflow: hidden;
    width: 100%;
}

.pp-card-header {
    background: linear-gradient(135deg, #00c6e0, var(--pp-secondary));
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    opacity: .9;
}

    .pp-card-header .icon-wrap {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, .2);
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        margin-bottom: 12px;
    }

    .pp-card-header h4 {
        margin: 0;
        font-weight: 700;
        font-size: 20px;
    }

    .pp-card-header p {
        margin: 6px 0 0;
        font-size: 14px;
        opacity: 1;
    }

        .pp-card-header p strong, .pp-card-header p b {
            opacity: 1 !important;
            color: #00334c !important;
        }

.pp-card-body {
    padding: 25px;
}

button.pp-btn-outline {
    border: 0;
    font-size: 13px;
    color: var(--pp-text);
    margin-bottom: 0;
    /* font-family: "Fraunces", serif; */
    font-size: 16px;
    font-weight: 600;
    line-height: 170%;
    background: transparent;
    padding: 0;
}

/* ── Step indicator ─────────────────────────────────────────────────────── */
.pp-steps {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.pp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
}

    .pp-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 16px;
        left: 60%;
        width: 80%;
        height: 2px;
        background: var(--pp-border);
        z-index: 0;
    }

    .pp-step.active:not(:last-child)::after,
    .pp-step.done:not(:last-child)::after {
        background: var(--pp-primary);
    }

.pp-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: var(--pp-border);
    color: var(--pp-muted);
    z-index: 1;
    position: relative;
    transition: all .25s;
}

.pp-step.active .pp-step-num {
    background: var(--pp-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .25);
}

.pp-step.done .pp-step-num {
    background: #10b981;
    color: #fff;
}

.pp-step-label {
    font-size: 11px;
    color: var(--pp-muted);
    font-weight: 500;
}

.pp-step.active .pp-step-label {
    color: var(--pp-primary);
    font-weight: 600;
}

.pp-step.done .pp-step-label {
    color: #10b981;
}

/* ── Form controls ──────────────────────────────────────────────────────── */
.pp-label {
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 6px;
    /* font-family: "Fraunces", serif; */
    font-size: 16px;
    font-weight: 600;
    line-height: 170%;
}

.pp-input {
    border: 1.5px solid var(--pp-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    min-height: 40px;
    line-height: 18px;
}

    .pp-input:focus {
        outline: none;
        border-color: var(--pp-primary);
        box-shadow: none;
    }

    .pp-input.input-icon {
        padding-left: 35px;
    }

.input-wrapper {
    position: relative;
}

    .input-wrapper .bi {
        position: absolute;
        left: 10px;
        top: 51%;
        transform: translateY(-50%);
        color: var(--pp-muted);
        font-size: 16px;
    }

/* ── OTP inputs ─────────────────────────────────────────────────────────── */
.otp-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 1.5px solid var(--pp-border);
    border-radius: 5px;
    transition: all .2s;
    color: var(--pp-text);
}

    .otp-input:focus {
        border-color: var(--pp-primary);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, .2);
        outline: none;
    }

    .otp-input.filled {
        border-color: var(--pp-primary);
        background: #f0f4ff;
    }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.pp-btn {
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-secondary));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    width: auto;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
}

    .pp-btn:hover {
        background: linear-gradient(0deg, var(--pp-primary), var(--pp-secondary));
    }

    .pp-btn:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
    }

.pp-btn {
    position: relative;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.02em;
}

/* .btn-text {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
} */

.pp-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 8px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .3);
}

.pp-info-badge {
    border-radius: 8px;
    font-size: 12px;
    color: var(--pp-text);
    display: inline-block;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.char-count {
    font-size: 11px;
    color: var(--pp-muted);
    text-align: right;
}

    .char-count.warn {
        color: #f59e0b;
    }

    .char-count.danger {
        color: #ef4444;
    }

.field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.pp-input.is-invalid {
    border-color: #ef4444;
}

.pp-input.is-valid {
    border-color: #10b981;
}

.pp-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d1fae5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #059669;
    margin-bottom: 16px;
}

.otp-timer {
    font-size: 13px;
    color: var(--pp-muted);
}

    .otp-timer span {
        font-weight: 700;
        color: var(--pp-primary);
    }

    .otp-timer.expired span {
        color: #ef4444;
    }

.pp-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--pp-border);
}

.centerBox {
    max-width: 550px;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 1;
}

.pp-card-body {
    max-height: 400px;
    overflow: auto;
    overflow-x: hidden;
}

    .pp-card-body::-webkit-scrollbar {
        width: 3px;
    }

    .pp-card-body::-webkit-scrollbar-track {
        background: var(--pp-muted);
    }

    .pp-card-body::-webkit-scrollbar-thumb {
        background: var(--pp-primary);
    }

        .pp-card-body::-webkit-scrollbar-thumb:hover {
            background: var(--pp-secondary);
        }

.text-center.mt-3,
.text-center.mt-2 {
    text-align: start !important;
    margin: 0 !important;
}

@media (max-width: 576px) {
    .pp-card-body {
        padding: 24px 20px;
    }

    .otp-input {
        width: 44px;
        height: 50px;
        font-size: 20px;
    }

    .logo {
        width: 260px;
        position: fixed;
        margin: 0 auto;
        top: 30px;
        z-index: 9;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}

@media only screen and (max-height: 575.98px) and (orientation: landscape) {
    .centerBox {
        top: 140px;
        left: 50%;
        transform: translate(-50%, 0%);
        margin-bottom: 50px;
    }

    .pp-card {
        margin-bottom: 40px;
    }
}
