.profile-wrapper {
  padding-top: 44px;
  max-width: 653px;
  background-color: #fff;
  padding: 24px;
  height: auto;
  box-sizing: border-box;
}

.titleProfile {
  font-family: "Inter_28pt-SemiBold";
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #252525;
}

.profile-avatar-img {
  margin-top: 40px;
  height: 64px;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 28px;
}

.profile-avatar-img>img {
  height: 100%;
  width: 100%;
}

.profile-name {
  font-size: 24px;
  text-align: left;
  color: var(--primary-color);
  font-family: "Inter_28pt-SemiBold";
  margin-bottom: 35px;
}

.dash-inner-section {
  height: auto;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-navig {
  width: 280px;
  height: 62px;
  display: flex;
  text-align: start;
  align-items: center;
  padding-left: 40px;
  font-family: "Inter_28pt-SemiBold";
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
}

.profile-navig a {
  text-decoration: none;
  color: #000000;
}

.profile-nav-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.profile-active-nav {
  background-color: #ecf2fd;
  border-right: 2px solid #1452ca;
  width: 100%;
  margin-right: 2px;
}

.profile-active-nav a {
  color: #1452ca;
}

.profile-dev-cont {
  height: auto;
  width: 100%;
  max-width: 688px;
  box-sizing: border-box;
}






/* Removed duplicate profile-dev-cont block */


.inner-section-cont {
  display: flex;
  /* background-color: #ededed; */

  width: 100%;
  height: auto;
  border-radius: 12px;
  gap: 10px;
  box-sizing: border-box;
}

.nav-bar-profile {
  width: 100%;
  max-width: 280px;
  position: sticky;
  top: 130px;
  align-self: flex-start;
  height: fit-content;
}

.nav-bar-profile p {
  padding: 20px;
  font-family: "Inter_18pt-Bold";
  font-weight: 800;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0%;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-item>label {
  font-size: 16px;
  font-family: "Inter_28pt-Regular";
  color: var(--custom-five);
}

.form-item>input {
  height: 46px;
  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  font-family: "Inter_28pt-Regular";
  border: 0.3px solid rgba(115, 115, 115, 0.3);
  box-sizing: border-box;
  padding-left: 17px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.form-item>label {
  font-size: 16px;
  font-family: "Inter_28pt-Regular";
  color: var(--custom-five);
}

.form-item>input,
.password-container>input {
  height: 48px;
  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  font-family: "Inter_28pt-Regular";
  border: 0.3px solid rgba(115, 115, 115, 0.3);
  box-sizing: border-box;
  padding-left: 17px;
}

.form-item>input:focus {
  outline: 0.3px solid var(--color-twenty-seven);
}

.form-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-item-inner>label {
  font-size: 16px;
  font-family: "Inter_28pt-Regular";
  color: var(--primary-color);
}

.password-container {
  position: relative;
}

.password-container>img {
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
}

.password-container>input:focus {
  outline: 0.3px solid var(--color-twenty-seven);
}

.password-icon {
  height: 16px;
  width: 18.19px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

.update-password {
  margin-top: 40px;
}

input[type="password"]::-webkit-textfield-decoration-container {
  display: 0.3px solid var(--color-twenty-seven);
}

.form-item>input:focus {
  outline: 0.3px solid var(--color-twenty-seven);
}

.p-save-ch-btn {
  height: 46px;
  padding: 0 40px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: "Inter_18pt-Bold";
  color: var(--color-one);
  margin: auto;
  margin-top: 10px;
  border: none;
  width: 100%;
}

.btn-spinner {
  border: 3px solid #fff;
  border-top: 3px solid #666;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-modal {
  margin-top: 30px;
  display: none;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ff4d4d;
  background-color: #fff0f0;
  color: #b30000;
  border-radius: 8px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(255, 77, 77, 0.1);
  animation: slideDown 0.3s ease-in-out;
}

/* Error icon inside modal */
.error-modal svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: #ff4d4d;
}

.iziToast {
  position: fixed !important;
  top: 10px !important;
  right: 0 !important;
  transform: none !important;
  margin-right: 0 !important;
}



@media only screen and (max-width:760px) {
  .inner-section-cont {
    flex-direction: column;
    border-radius: 0;
  }

  .profile-nav-conatiner {
    display: flex;
    gap: 8px;
    flex-direction: row;
  }

  .profile-navig {
    width: 100%;
    font-size: 12px;

  }

  .profile-active-nav {
    border: 0;


    border-bottom: 2px solid #1452ca;
  }

  .nav-bar-profile {
    padding: 0;
    width: 100% !important;
    margin: 0;
    max-width: 360px;

  }

  .profile-wrapper,
  .inner-section-cont {
    background-color: transparent;

    padding: 0;
    margin: 0;
    width: 100%;
  }

  .profile-dev-cont {
    background-color: transparent;
  }

  .profile-active-nav {
    background-color: transparent;
  }
}

@media only screen and (max-width: 550px) {
  .titleProfile {
    display: none;
  }

  .profile-wrapper {
    margin-top: 16px;
  }

  .profile-avatar-img {
    height: 40px;
    width: 40px;
    margin-bottom: 12px;
  }

  .profile-name {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .form-item>label {
    font-size: 14px;
  }

  .form-item>input {
    font-size: 14px;
  }

  .p-save-ch-btn {
    height: 46px;
    width: 100%;
    padding: 0px;
    font-size: 14px;
    margin-top: 5px;
  }
}

/* Read-only email input style */
.email-readonly {
  cursor: default;
  opacity: 0.7;
  background-color: #F2F2F2 !important;
}