#personal-profile-page {
    width: 100%;
}

.pp-page-my {
    background: white;
    padding: 10px;
}

/* header background */
.pp-header {
    height: 150px;
    background: url("https://jaya9bangladesh.com/static/image/profile/personal-info.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    position: relative;
}

/* avatar circle */
.pp-avatar {
    width: 90px;
    height: 90px;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid white;
}

/* avatar letter */
.pp-avatar span {
    font-size: 36px;
    font-weight: bold;
    color: orange;
}

/* personal profile body */
.pp-info-card {
    margin-top: 50px;
    background: #ecf9f4;
    padding: 15px;
    font-size: 14px;
}

.pp-row {
    padding: 12px 5px;
}

.pp-label {
    display: block;
    color: #000;
    margin-bottom: 6px;
}

.pp-value {
    color: #ff7a00;
    font-weight: 500;
}

.pp-divider {
    height: 1px;
    background: #666;
    margin: 10px 0;
}

.pp-edit {
    float: right;
    color: #ff7a00;
    text-decoration: none;
    font-size: 13px;
}

.pp-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pp-verify {
    color: #ff7a00;
    font-size: 13px;
}

.pp-secondary-btn {
    margin-top: 10px;
    background: #17238a;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
}

/* popup */

#pp-edit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.pp-modal-box {
    width: 90%;
    max-width: 380px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.pp-modal-header {
    background: #162a8a;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pp-close {
    font-size: 22px;
    cursor: pointer;
}

.pp-modal-body {
    padding: 15px;
}

.pp-modal-body label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--mcw-accent);
}

.pp-modal-body input {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pp-modal-body input:disabled {
    background: #eee;
}

.pp-error {
    border: 1px solid red;
}

.pp-error-text {
    color: red;
    font-size: 11px;
}

.pp-submit-btn {
    width: 100%;
    margin-top: 15px;
    background: #162a8a;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
}

@keyframes ppZoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ppZoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(.8);
        opacity: 0;
    }
}

.pp-modal-box {
    animation: ppZoomIn .3s ease;
}

#otpModal {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, .4);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.otpBox {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    animation: ppZoomIn .3s ease;
    position: relative;
}

.otpBox input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.otpBox button {
    background: #162a8a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
}

.otpBox span {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.pp-verify {
    color: #ff7a00;
    cursor: pointer;
}

.pp-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-verify {
    background: #ff8a00;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.pp-verified {
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
}

#emailOtpModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.otp-box {
    width: 300px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    animation: ppZoomIn .3s ease;
}

.otp-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
}

.otp-close {
    cursor: pointer;
    font-size: 20px;
}

.otp-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.otp-box button {
    width: 100%;
    background: #ff8a00;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* change password */
.pp-password-reset {
    max-width: 400px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    animation: ppZoomIn .4s ease;
}

.pp-password-reset h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.pp-password-reset label {
    font-size: 13px;
    color: #444;
    display: block;
    margin-top: 12px;
}

.pp-password-reset input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
}

.pp-password-reset button {
    width: 100%;
    margin-top: 20px;
    background: #4f35c7;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.pp-password-reset button:hover {
    background: #3a1fa6;
}

.pp-pass-wrap {
    position: relative;
}

.pp-pass-wrap input {
    width: 100%;
    padding-right: 40px;
}

.pp-pass-wrap i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

/* bank detils */
.pp-bank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--mcw-accent);
}

.pp-bank-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.pp-bank-close {
    cursor: pointer;
    font-size: 22px;
}


.pp-bank-header button {
    background: var(--mcw-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.pp-bank-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0px 4px 7px #00000054;
    color: black;
}

.pp-no-bank {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.pp-no-bank-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.pp-no-bank-text {
    font-size: 14px;
    line-height: 1.6;
}


.pp-bank-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.pp-active {
    color: #22c55e;
    font-weight: 500;
}

.pp-bank-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px;
}

.pp-bank-scroll::-webkit-scrollbar {
    height: 6px;
}

.pp-bank-scroll::-webkit-scrollbar-thumb {
    background: #ff8a00;
    border-radius: 10px;
}

.pp-bank-card {
    min-width: 100%;
    flex-shrink: 0;
}



/* bank model */
#pp-bank-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* active state */
#pp-bank-modal.active {
    display: flex;
    opacity: 1;
}

/* modal box */
.pp-bank-box {
    background: #fff;
    padding: 20px;
    width: 320px;
    border-radius: 15px;
    color: var(--mcw-accent);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* zoom in when modal active */
#pp-bank-modal.active .pp-bank-box {
    transform: scale(1);
}

/* inputs */
.pp-bank-box input,
.pp-bank-box select {
    width: 100%;
    margin: 8px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* button */
.pp-bank-box button {
    width: 100%;
    background: #ff8a00;
    border: none;
    padding: 10px;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 600;
    cursor: pointer;
}

.pp-bank-box button:hover {
    opacity: 0.9;
}

/* header */
.pp-bank-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.pp-bank-close {
    cursor: pointer;
    font-size: 22px;
}