/* ── HEADER ── */
.ppid-header {
    text-align: center;
    margin-bottom: 1.8rem;
    animation: fadeUp .7s .15s cubic-bezier(.22,1,.36,1) both;
}

/* ── ICON BADGE ── */
.icon-badge {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
        0 8px 24px rgba(0,114,198,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
}
.icon-badge::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    border: 1px solid rgba(0,114,198,0.2);
    animation: ringPulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 8px 24px rgba(0,114,198,0.2), inset 0 1px 0 rgba(255,255,255,0.4); }
    50%      { box-shadow: 0 12px 32px rgba(0,114,198,0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
}
@keyframes ringPulse {
    0%,100% { transform: scale(1); opacity:.5; }
    50%      { transform: scale(1.06); opacity:1; }
}
.icon-badge i { font-size: 2rem; color: #fff; }

.ppid-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(0,114,198,0.08);
    border: 1px solid rgba(0,114,198,0.15);
    border-radius: 100px;
    padding: .25rem .9rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .6rem;
}
.ppid-label .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity:1; } 50% { opacity:.2; }
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: .3rem;
}
.card-subtitle {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ── DIVIDER ── */
.line-divider {
    display: flex; align-items: center; gap: .7rem;
    margin-bottom: 1.6rem;
    animation: fadeUp .7s .2s cubic-bezier(.22,1,.36,1) both;
}
.line-divider span { flex:1; height:1px; background: linear-gradient(90deg, transparent, rgba(0,114,198,0.1), transparent); }
.line-divider small { color: var(--text-muted); font-size:.7rem; white-space:nowrap; letter-spacing:.08em; font-weight: 500; }

/* ── FORM ── */
.form-wrap { animation: fadeUp .7s .25s cubic-bezier(.22,1,.36,1) both; }

.form-group { margin-bottom: 1.1rem; }

.form-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--text-main);
    margin-bottom: .45rem;
    opacity: 0.8;
}

.input-wrap {
    position: relative;
    transition: transform .2s;
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #99a;
    font-size: .95rem;
    pointer-events: none;
    transition: color .25s;
}
.form-control-custom {
    width: 100%;
    background: #fff;
    border: 1.5px solid #e1e8ef;
    border-radius: 12px;
    padding: .75rem 1rem .75rem 2.7rem;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-control-custom::placeholder { color: #aab; }
.form-control-custom:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,114,198,0.1), 0 4px 12px rgba(0,0,0,0.05);
}
.form-control-custom:focus + .input-icon,
.input-wrap:focus-within .input-icon { color: var(--blue); }

/* ── INFO BOX ── */
.info-box {
    background: rgba(0, 114, 198, 0.05);
    border: 1px solid rgba(0, 114, 198, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.info-box i {
    color: var(--blue);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ── BTN PRIMARY ── */
.btn-primary-custom {
    width: 100%;
    padding: .82rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 20px rgba(0,114,198,0.25);
}
.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .25s;
}
.btn-primary-custom:hover::before { opacity: 1; }
.btn-primary-custom:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,114,198,0.35); }
.btn-primary-custom:active { transform: translateY(0); }

/* shine sweep */
.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3.5s ease-in-out infinite 1s;
}

/* ── BTN GHOST ── */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: .82rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0;
    transition: color .2s;
}
.btn-ghost:hover { color: var(--blue); }

/* ── FOOTER ── */
.card-footer-custom {
    text-align: center;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f4f8;
    animation: fadeUp .7s .35s cubic-bezier(.22,1,.36,1) both;
}
.footer-text { font-size: .75rem; color: var(--text-muted); line-height: 1.6; }
.footer-text strong { color: var(--text-main); font-weight: 600; }

/* ── LOADING SPINNER ── */
.spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── INVALID STATE ── */
.form-control-custom.is-invalid {
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.04);
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
}
.form-control-custom.is-invalid + .input-icon {
    color: #ff4d4d;
}
