:root {
  --accent: #0083d0;
  --drawer-width: 380px;
}
/* whats app */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  left: 20px; /* change to right if needed */
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
 
.whatsapp-fab img {
  width: 28px;
  height: 28px;
}
/* ---------- Section styles (sample) ---------- */
section {
  position: relative;
}

.sub-title {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  display: inline-block;
}

.sub-title.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

p {
  margin: 0;
  color: #444;
}

.ori-about-text-wrap-7 {
  padding-top: 8px;
}

.ori-about-text-wrap-7 p {
  margin-top: 6px;
  color: #555;
}

/* ---------- Edit overlay (shared) ---------- */
/* .edit-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s ease;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(3px);
} */

/* show overlay when hovering the section */
section:hover .edit-overlay {
  opacity: 1;
  transform: scale(1);
}

.edit-icon {
  font-size: 20px;
  line-height: 1;
  user-select: none;
}

/* ---------- Skill progress blocks ---------- */
.skill-set-percent {
  margin-bottom: 16px;
}

.skill-set-percent h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.progress {
  position: relative;
  height: 12px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
}

.progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #40b92e);
  width: 0%;
  transition: width 0.4s ease;
}

.skill-set-percent span {
  display: inline-block;
  margin-left: 10px;
  font-weight: 600;
  color: #333;
  font-size: 13px;
}

/* ---------- Drawer ---------- */
#sideDrawer {
  position: fixed;
  top: 0;
  right: calc(-1 * var(--drawer-width));
  width: var(--drawer-width);
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(2, 6, 23, 0.12);
  transition: right 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#sideDrawer.open {
  right: 0;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #777;
}

.drawer-body {
  margin-top: 14px;
  overflow: auto;
  padding-right: 6px;
  flex: 1;
}

.drawer-field {
  margin-bottom: 12px;
}

.drawer-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

.drawer-field input[type="text"],
.drawer-field input[type="url"],
.drawer-field textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  box-sizing: border-box;
}

.drawer-field textarea {
  resize: vertical;
  min-height: 100px;
}

#updateBtn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

/* small helper */
.muted {
  color: #666;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.drawer-field-block {
  margin-bottom: 18px;
}

.drawer-field-block label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.drawer-field-block input,
.drawer-field-block textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.drawer-field-block textarea {
  height: 110px;
}

.array_rows {
  box-shadow: -1px 1px 4px -1px gray;
  border-radius: 5px;
  padding: 7px;
  border: 1px solid #80808052;
}

.array_rows:hover {
  box-shadow: -1px 2px 7px -1px #666262;
}


.slct-img-menu {
  display: flex;
  justify-content: space-around;
  margin: 13px 0px;
}

.slct-img-menu-btn {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.select_img_box {
  text-align: center;
  border: 1px solid #80808073;
  border-radius: 5px;
  margin: 1rem;
  cursor: pointer;
  padding: 1rem;
}

.drwr_img_slct_btn {
  font-size: 12px;
  cursor: pointer;
  border: 1px solid gray;
  width: 90px;
  border-radius: 13px;
  border-color: #bbbbbb;
  margin: auto;
}

.drwr_img_slct_btn {
  border: 1px solid #6a6a6a;
}

.education-row,
.experience-row,
.itme_row_box {
  box-shadow: 1px 1px 6px -1px gray;
  border-radius: 5px;
  padding: 7px;
}

.dwr_gallery_box {
  display: block;
  gap: 10px;
  overflow-y: auto;
  padding-bottom: 10px;
  min-height: 250px;
}

.dwr_gallery_img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.social_remove_btn {
  background-color: #0083d0;
  color: white;
  font-size: 13px;
  border-radius: 5px;
  padding: 2px 5px;
  margin-bottom: 5px;
  cursor: pointer;
}

.social_remove_btn:hover {
  background-color: #0a6da7;
}

.regenrateText {
  font-size: 12px;
  color: #333333;
  font-weight: 400;
  cursor: pointer;
}

.regenrateText:hover {
  font-weight: 600;
}

/* New wrapper for individual editable elements */
.editable-field-wrapper {
  position: relative;
  transition: all 0.1s ease;
}

.editable-field-wrapper:hover {
  outline: 5px solid #0d6efd;
  z-index: 100;
}

/* Special styling for the image wrapper */
.editable-field-wrapper:hover .shadow-2 {
  /* Prevent the inner shadow from hiding the border */
  box-shadow: none !important;
}

.editable-field-wrapper:hover .mini-edit-overlay {
  transform: scale(1.1);
}

/* 2. STYLE THE MINI EDIT BUTTON */
.mini-edit-overlay {
  position: absolute;
  top: 2%;
  right: 8%;
  height: 40px;
  background: #fefefe;
  color: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  /* Hidden */
  transform: scale(0.8);
  transition: all 0.25s ease;
  padding: 8px 10px;
  cursor: pointer;
  z-index: 102;
}

section:hover .mini-edit-overlay {
  opacity: 1;
  transform: scale(1);
}

/* 3. SHOW THE MINI EDIT BUTTON ON WRAPPER HOVER */
.editable-field-wrapper:hover .mini-edit-overlay {
  opacity: 1;
  transform: scale(1);
}

/* Optional: Adjustments for button wrapper */
.editable-field-wrapper.button-wrapper {
  display: inline-block;
  /* Helps wrap the content properly */
  padding: 2px;
}

.editable-field-wrapper:hover .mini-edit-overlay {
  display: flex;
  gap: 5px;
}

.overlay-btn {
  background: transparent;
  border: none;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14px;
  color: #888 !important;
  cursor: pointer !important;
  border-radius: 8px;
  height: auto;
  font-weight: 500 !important;
  width: auto;
}

.overlay-btn:hover {
  background: #fff;
  color: #000 !important;
}

.delete-btn {
  color: #c0392b;
}


.mini-edit-overlay .overlay-btn {
  color: #999;
}

.mini-edit-overlay .overlay-btn i {
  color: #999;
  font-size: 15px;
}

.mini-edit-overlay .overlay-btn:hover,
.mini-edit-overlay .overlay-btn:hover i {
  color: #222;
}




.delete-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  /* This creates the dark overlay */
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 10000;
}


.delete-modal-content {
  background: #dcdcdc;
  border-radius: 16px;
  padding: 30px;
  width: 480px;
  max-width: 90%;
}

.delete-modal-content h4 {
  margin: 0 0 10px;
  font-weight: 600;
  color: #333;
}

.delete-modal-content p {
  margin-bottom: 25px;
  color: #333;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.modal-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.cancel-btn {
  background: #cfcfcf;
}

.confirm-delete-btn {
  background: #d9d9d9;
  color: #c0392b;
}


/* old css */

.drver_remove_btn {
  width: 25%;
  height: 29px !important;
  background: #0083D0;
  color: #fff;
  padding: 5px 2px;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.drver_remove_btn:hover {
  background: #0069a8;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15)
}

.drver_add_btn {
  width: 100%;
  height: 29px !important;
  background: #0083D0;
  color: #fff;
  padding: 5px 2px;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.drver_add_btn:hover {
  background: #0069a8;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15)
}

.regenrateImage {
  color: #333;
  padding: 8px;
  font-size: 12px;
  background: #eee;
  border: 1px solid #ccc;
}

.change_banner_img {
  color: #333;
  padding: 8px;
  font-size: 12px;
  background: #eee;
  border: 1px solid #ccc;
}

.regenrateImage:hover,
.change_banner_img:hover {
  color: #2a2a2a !important;
  border: 1px solid #333 !important;
}

.teamscrollbtn {
  padding: 26px;
  border-radius: 46%;
}

.btndisable {
  /* background-color: #0083d073 !important */
  display: none;
}
/* 
.btndisable:hover {
  background-color: #0083d073 !important
} */