/* Modal Background Overlay */
.modal.fade.show {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 9999;
}

/* Modal Container */
.editProfilepopup {
  border-radius: 20px;
  padding: 25px 30px;
  border: none;
  background: #ffffff;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

/* Modal Header */
.editProfilepopup .modal-header {
  border-bottom: none !important;
  padding-bottom: 5px;
}

.editProfilepopup .modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #1b2e59;
}

.editProfilepopup .modal-header p {
  margin-top: -8px;
  color: #7a8398;
  font-size: 14px;
}

/* Close Button */
.editProfilepopup .btn-close {
  font-size: 14px;
  opacity: 0.5;
}
.editProfilepopup .btn-close:hover {
  opacity: 1;
}

/* Input fields */
.editProfilepopup label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #1b2e59;
}

.editProfilepopup input.form-control {
  background: #f5f8fd;
  border: none;
  height: 46px;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 14px;
  color: #1b2e59;
  box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.editProfilepopup input.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px #d7e5ff;
  background: #ffffff;
}

/* Footer Buttons */
.modal-footer {
  border-top: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Cancel Button */
.modal-footer .btn.btn-light {
  background: transparent;
  border: 2px solid #d3dbe8;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 25px;
  color: #1b2e59;
  transition: all 0.25s ease;
}

.modal-footer .btn.btn-light:hover {
  background: #eef3fa;
}

/* Save Button */
.modal-footer .btn.btn-primary {
  background: #0a2a5c;
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.modal-footer .btn.btn-primary:hover {
  background: #153b7e;
}

/* Row Spacing */
.editProfilepopup .row .col-md-6,
.editProfilepopup .row .col-md-12 {
  margin-bottom: 18px;
}
