﻿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;
    }
 }


/* Mobile Theme Styles */
.main {
    padding-top: 10px;
}
.user-details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 30px 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}
.box-section {
    background: transparent;
    box-shadow: none;
    padding-bottom: 0;
}
.box {
    background: #fff;
    border: none !important;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    box-sizing: border-box;
}
.box-icon {
    background: transparent; 
}
.box-icon img {
    mix-blend-mode: multiply; /* Helps hide minor off-white JPEG backgrounds */
}
@media (min-width: 769px) {
    .main {
        max-width: 900px;
        background: transparent;
        padding: 40px 20px;
        height: auto;
    }
    
    .user-details {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        padding: 40px 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .uer-img {
        width: 80px;
        height: 80px;
    }
    .uer-img i {
        font-size: 40px;
    }
    
    .full_name {
        font-size: 24px;
        margin-top: 10px;
    }
    
    .box-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .box {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 24px 20px;
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
    
    .box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-color: transparent;
    }
    
    .box .k_flex.flex-start {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    
    .box-icon {
        width: 50px;
        height: 50px;
        background: #f8f8f8;
        border-radius: 50%;
        margin-bottom: 10px;
    }
    
    .box p {
        font-size: 16px;
    }
    
    .box > i.bi-chevron-right {
        display: none;
    }
    
    .log-out-btn {
        max-width: 300px;
        margin: 40px auto 0;
        border-radius: 25px;
        font-size: 16px;
    }
}






/* User requested Purple Theme overrides */
:root {
    --theme-purple: #6e1597;
    --theme-soft: #faf7fb;
}

/* Purple Theme Enhancements */
.uer-img {
    background: var(--theme-purple) !important;
}

.box-icon {
    background: var(--theme-soft) !important;
}

/* Make font awesome / bootstrap icons purple */
.box-icon i {
    color: var(--theme-purple) !important;
}

/* Recolor black SVGs to Purple */
.box-icon svg [stroke="#000000"],
.box-icon svg [stroke="#000"],
.box-icon svg [stroke="black"] {
    stroke: var(--theme-purple) !important;
}
.box-icon svg [fill="#000000"],
.box-icon svg [fill="#000"],
.box-icon svg [fill="black"] {
    fill: var(--theme-purple) !important;
}
.box-icon svg[fill="#000"], 
.box-icon svg[fill="#000000"],
.box-icon svg[fill="black"] {
    fill: var(--theme-purple) !important;
}

/* Text accents */
.user-info h3, .box p {
    color: #2c2530 !important; /* Ink color from purplle */
}
.box > i.bi-chevron-right {
    color: #d8cde3 !important; /* Light purple-grey chevron */
}

.mobile-header h4, .profile-title h3, .my-profile-text h3 {
    color: var(--theme-purple) !important;
}


/* Profile page: purple banner acts as the header — hide standard site header (2026-10-04) */
.header { display: none !important; }
body { padding-top: 0 !important; }
