body{
      scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: black #ffff;
}

.mobile-header {
    width: 100%;
    padding: var(--pad);
    position: relative;
}

.mobile-header h4 {
    font-size: 19px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--main-clr);
}

.back i {
    font-size: 20px;
    font-weight: 700;
}


.profile-title h3{ 
    font-family: var(--font-fm2);
    font-size: 30px;
    font-weight: 400;
}
  

.main {
    width: 100%;
    padding: var(--pad2);
    
}



.user-details{
    width: 100%;
    padding: var(--pad2);
    margin-top: 45px;
    margin-bottom: 34px;
}

.uer-img{
    width: 50px;
    height: 50px;
    background: var(--normal-txt-color);
    border-radius: 50%;
}
.uer-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.uer-img i{
    font-size: 35px;
    color: #FFFBF2;
}
.user-info h3{
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
    text-transform: capitalize;

}
.user-info i{
    color: #000;
}
.user-info p{
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.box-section{
    width: 100%;
    /* padding: var(--pad2); */
    /* border: 0.77px solid #E2E2E2; */
    margin-top: var(--mt);
     /* box-shadow: 0 0 10px 5px rgb(192 182 182 / 20%); */
    border-radius: 10px;
    padding-bottom: 4px;
}
#new{
        background: red;
    color: white;
    border-radius: 11px;
    padding: 3px 9px;
    font-size: 12px;
    margin-left: 5px;
}
.box{
        width: 100%;
    padding: 11px 2%;
    border-bottom: 0.77px solid #E2E2E2;
    cursor: pointer;
    /* margin-bottom: 1px; */
    /* background: #f2f1f0; */
    /* border-radius: 36px; */
    
}
.box-icon{
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50px;
}
.box p{
    font-size: 15px;
    font-weight: 600;
}
.box i{
    font-size: 18px;
            color: var(--normal-txt-color);
}

.log-out-btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: var(--normal-txt-color);
    border-radius: 12px;
    color: #fff;
    margin-top: 22px;
    margin-bottom: 24px;
    cursor: pointer;
    box-sizing: border-box;
}
.log-out-btn button{
    font-size: 15px;
    font-weight: 600;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    pointer-events: none;
}
.log-out-btn i{
    font-weight: 600;
    transform: rotate(90deg);
    color: inherit;
}



/* ===== edit profile page ===== */

.edit-profile-img{
    width: 100%;
    padding: var(--pad2);
    margin-top: var(--mt);
}

.edit-profile-img-box{
    width: 80px;
    margin: 0px auto;
    position: relative;
}
.edit-profile-img img{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
}

.camera{
    width: 25px;
    height: 25px;
    background: #FFC63A;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    border-radius: 50%;
}
.camera i{
    font-size: 18px;
}
.name h3{
    font-size: 18px;
    font-weight: 400;
    margin-top: var(--mt);
    text-align: center;
}

.edit-field{
    width: 100%;
    padding: var(--pad2);
    margin-top: var(--mt);
}
.edit-field label{
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}
.edit-field input{
    width: 100%;
    border: none;
    outline: none;
    background: #FFFBF2;
    padding: 10px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 100vw;
}
.edit-field input[type="email"]{
    text-transform: lowercase;
}

.save-btn{
    width: 90%;
    margin: 50px auto;
    padding: 10px;
    background: linear-gradient(90deg, #FFE57B 0%, #FFC63A 100%);
     ;
     border-radius: 100vw;
 }
 .save-btn button{
     font-size: 15px;
     font-weight: 600;
     border: none;
     outline: none;
     background: transparent;
 }





/* == responsive  === */




/* .marginTop {
  margin-top: 150px;
} */

 .showOnWebsite{
    display: none;
 }

            .website-mobile-header {
        top: 104px;
    }

    .mobile-header h4 {
        position: unset;
        transform: translate(0);
    }
    .main {
        max-width: 600px;
        margin-inline: auto;
         padding-inline: 2%;
             height: 115vh;
                padding-bottom: 34px;
    }
    .log-out-btn {
        max-width: 100%;
        margin-inline: 0;
    }
    

    .showOnWebsite {
        display: block;
    }
    .my-profile-text h3 {
        font-size: 25px;
    }
    
    
    .confirm-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}

.confirm-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.confirm-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.popup-icon {
  font-size: 40px;
  color: #ff4d4f;
  margin-bottom: 10px;
}

.confirm-box p {
  font-size: 16px;
  font-weight: 500;
}

#confirmBtn {
  background: #ff4d4f;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
}

#cancelBtn {
  background: #ddd;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
}

/* Common button style */
.confirm-actions button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Cancel Button */
#cancelBtn {
  background: #e0e0e0;
  color: #333;
}

#cancelBtn:hover {
  background: #d6d6d6;
  transform: translateY(-2px);
}

/* Logout Button */
#confirmBtn {
  background: #ff4d4f;
  color: white;
}

/* Hover effect */
#confirmBtn:hover {
  background: #e63c3f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 77, 79, 0.4);
}

/* Click animation */
#confirmBtn:active,
#cancelBtn:active {
  transform: scale(0.95);
}

 @media (min-width:1280px){
    .main {
        max-width: 450px;
    }

    #page_title{
        display: none;
    }

    
 }


 @media screen and (max-width: 530px) {
    .marginTop{
        margin-top: 80px;
    }
.logo img{
    display: none;
}

.user-details{
    width: 100%;
    padding: var(--pad2);
    margin-top: 85px;
    margin-bottom: 34px;
}
/* .logo{
margin: 0px !important;
} */

.page_title{
    display: flex;
}
#phone_hide{
    display: none;
}

/* .icon-btn {
    display: none;
} */
    .profile-title h3{
        font-size: var(--txt-font-mobile);
    }
 }

 @media screen and (max-width: 360px) {
    .log-out-btn{
        padding: 12px 16px;
    }
 }
