/* Phone Preview */
.wb-phone-frame {
  width: 350px;
  height: 600px;
  background: var(--wb-bg-gray);
  border: 6px solid var(--wb-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--wb-shadow);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: sticky !important;
  top: 83px;
  align-self: flex-start;
}

/* Status Bar */
.wb-status-bar {
  height: 44px;
  background: var(--wb-primary-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  color: var(--wb-white);
  font-size: 15px;
  flex-shrink: 0;
}

.wb-status-bar__time {
  font-weight: 600;
  letter-spacing: -0.3px;
}

.wb-status-bar__icons {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 12px;
}

.wb-status-bar__icons i {
  width: 16px;
  text-align: center;
}

/* Header */
.wb-phone__header {
  height: 44px;
  background: var(--wb-primary-green);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  box-shadow: 0 0.33px 0 0 #a6a6aa;
  flex-shrink: 0;
}

.wb-header__back-btn {
  color: var(--wb-white);
  font-size: 20px;
  /* cursor: pointer; */
}

.wb-header__profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wb-white);
  font-size: 18px;
}

.wb-header__contact-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wb-header__contact-name {
  color: var(--wb-white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.wb-header__verified {
  color: var(--wb-verified);
  font-size: 14px;
}

/* Security Notice */
.wb-security-notice {
  background: var(--wb-blue-light);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--wb-text-gray);
  flex-shrink: 0;
}

.wb-security-notice__icon {
  color: #657070;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.wb-security-notice__text {
  flex: 1;
  line-height: 1.4;
  font-size: 12px;
}

/* Chat Container */
.wb-chat-container {
  flex: 1;
  background-image: url("https://digivospaces.b-cdn.net/WatZap/351acdb5ea7901e17f7cb0d61068f0f1d8f1f95d.png");
  background-size: cover;
  background-position: center;
  overflow-y: auto;
  padding: 15px;
}

/* Message Bubble */
.wb-message {
  background: var(--wb-white);
  border-radius: 8px;
  margin-bottom: 10px;
  max-width: 281px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-outgoing .wb-message{
  background: transparent;
  box-shadow: none !important;
}

.message-outgoing .wb-message-buttons{
   background: transparent;
}
.message-outgoing .wb-preview-button:hover{
   background: transparent;
}

.wb-message__body {
  padding: 4px 8px;
  font-size: 15px;
  color: #111322;
  line-height: 1.3em;
}

.wb-message__text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  margin: 0px;
}

.wb-message__text--bold {
  font-weight: 700;
}

.wb-message__text--italic {
  font-style: italic;
}

.wb-message__text--strike {
  text-decoration: line-through;
}

.wb-message__text--mono {
  font-family: monospace;
  background: #f0f0f0;
  padding: 2px 4px;
  border-radius: 3px;
}

.wb-message__footer {
  padding: 4px 0px;
  font-size: 14px;
  color: var(--wb-text-light);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.wb-message__timestamp {
  padding: 4px 8px;
  font-size: 12px;
  color: var(--wb-text-light);
  text-align: right;
}

/* Input Bar */
.wb-input-bar {
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  box-shadow: 0 -0.33px 0 0 #e4e7ec;
  flex-shrink: 0;
}

.wb-input-bar__btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
}

.wb-input-bar__btn:nth-child(3) {
  margin-left: auto;
}

.wb-input-bar__btn:last-child {
  margin-right: 0;
}

.wb-input-bar__btn svg {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wb-input-bar__btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wb-input-bar__input-wrapper {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  background: var(--wb-white);
  border: 1px solid #dfe1e6;
  border-radius: 22px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  gap: 8px;
  transition: border-color 0.2s;
}

.wb-input-bar__input-wrapper:hover {
  border-color: #cbd5e0;
}

.wb-input-bar__input {
  flex: 1 !important;
  min-width: 0 !important;
  border: none !important;
  outline: none !important;
  font-size: 15px !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  line-height: 36px !important;
  box-shadow: none !important;
  color: #667085 !important;
}

.wb-input-bar__input::placeholder {
  color: #98a2b3;
}

.wb-input-bar__input:focus {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.wb-input-bar__sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  flex-grow: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  transition: opacity 0.2s;
}

.wb-input-bar__sticker:hover {
  opacity: 0.7;
}

.wb-input-bar__sticker svg,
.wb-input-bar__sticker img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.wb-message-text {
  font-size: 14px;
  line-height: 1.4;
  color: black;
  margin-bottom: 8px;
}

.wb-message-footer {
  font-size: 14px;
  color: #9da3a7;
  margin-bottom: 4px;
}

.wb-message-time {
  font-size: 12px;
  color: #9da3a7;
  text-align: right;
}

.wb-message-buttons {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  /* border-top: 1px solid #d1d7db; */
  background: #fff;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
}

.wb-preview-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d1d7db;
  color: #0096DE;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 40px;
}

.wb-preview-button:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px !important;
}

.wb-preview-button:hover {
  background: rgba(0, 165, 244, 0.05);
}

.wb-preview-button i {
  font-size: 15px;
}
.wb-preview-button span {
  font-size: 14px;
}

/* Form Styles */
:root {
  --wb-primary-green: #0b6e4f;
  --wb-bg-gray: #e5ddd5;
  --wb-white: #ffffff;
  --wb-shadow: rgba(0, 0, 0, 0.15);
  --wb-blue-light: #e7f3ff;
  --wb-text-gray: #54656f;
  --wb-text-light: #667781;
  --wb-input-bg: #f0f2f5;
  --wb-border: #d1d7db;
  --wb-verified: #00a5f4;
}

.wb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.wb-label {
  font-size: 14px;
  font-weight: 600;
  color: #30374f;
  display: block;
}

.wb-label-optional {
  font-weight: 400;
  color: #667085;
}

.wb-text-small {
  font-size: 13px;
  color: #667085;
  margin-top: 2px;
}

.wb-flex {
  display: flex;
}

.wb-items-center {
  align-items: center;
}

.wb-justify-between {
  justify-content: space-between;
}

.wb-mobile-z {
  z-index: 1;
}

.wb-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  outline: none;
  font-family: "Inter", sans-serif;
  transition: border-color 0.2s;
}

.wb-input:focus {
  border-color: #5d6b98;
}

.wb-input::placeholder {
  color: #98a2b3;
}

.wb-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  outline: none;
  font-family: "Inter", sans-serif;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667085' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.wb-select:focus {
  border-color: #5d6b98;
}

.wb-input-wrapper {
  position: relative;
  flex: 1;
}

.wb-input-wrapper .wb-input {
  padding-right: 55px;
}

.wb-url-wrapper .wb-input {
  padding-right: 70px;
}

/* Counter for button inputs - badge style */
.wb-char-counter {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #7488a5;
  background: #f2f2f2;
  border-radius: 4px;
  font-weight: 500;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
  padding: 0 6px;
  border-radius: 20px;
  line-height: 1.5 !important;
}

.wb-toggle {
  width: 44px;
  height: 24px;
  background: #d0d5dd;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.wb-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.wb-toggle.active {
  background: #12b76a;
}

.wb-toggle.active::after {
  left: 22px;
}

.wb-button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 6px;
}

.wb-expanded-row {
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 6px;
  flex-wrap: wrap;
}

.wb-drag-handle {
  cursor: grab;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
}

.wb-drag-lines span {
  display: block;
  width: 16px;
  height: 2px;
  background: #98a2b3;
  border-radius: 1px;
}

.wb-delete-btn {
  color: #f04438;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.wb-delete-btn:hover {
  color: #d92d20;
}

.wb-button-row .wb-select {
  min-width: 140px;
}

.wb-expanded-selects {
  display: flex;
  gap: 8px;
  min-width: 200px;
}

.wb-expanded-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  width: 100%;
}

.wb-url-wrapper {
  position: relative;
  flex: 1;
}

.wb-url-type-select {
  min-width: 100px;
}

@media (max-width: 768px) {
  .wb-phone-frame {
    width: 100%;
    max-width: 357px;
    position: relative !important;
    top: 0 !important;
    margin: 0 auto 20px;
  }

  .wb-input-bar__input-wrapper {
    max-width: 175px;
    padding: 0 10px 0 12px;
  }

  .wb-input-bar__sticker {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }

  .wb-input-bar__sticker svg,
  .wb-input-bar__sticker img {
    width: 20px;
    height: 20px;
  }
}

/* ===== Editor Area ===== */
.editor-area-item-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  flex: 1 0 0;
}

/* Editor Area Item Header */
.editor-area-item-header label {
  color: #404968;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* Editor Area Item Content */
.editor-area-item-content {
  width: 100%;
}

/* Textarea Wrapper */
.textarea-wrapper {
  position: relative;
  width: 100%;
  border: 1px solid #d8dde7;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}

.textarea-wrapper:focus-within {
  border-color: #5d6b98;
}

/* ===== Formatting Toolbar ===== */
.formatting-toolbar {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  background: #EFF1F5;
  border-bottom: 1px solid #d8dde7;
  align-items: center;
  margin: 4px;
  border-radius: 6px;
}

.formatting-toolbar button {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  color: #5d6b98;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  height: 36px;
  min-width: 36px;
}

.formatting-toolbar button:hover {
  background: #e0e3ea;
}

.formatting-toolbar button i,
.formatting-toolbar button .material-icons {
  font-size: 24px;
  color: #5d6b98;
  line-height: 1;
}

/* Divider Toolbar */
.divider-toolbar {
  width: 1px;
  height: 24px;
  background: #DCDFEA;
  margin: 0 5px;
}

/* Emoji Dropdown */
.emoji-dropdown {
  position: relative;
  display: flex;
}

.emoji-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  height: 36px;
  min-width: 36px;
  color: #5d6b98;
}

.emoji-btn:hover {
  background: #e0e3ea;
}

.emoji-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.emoji-picker {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  max-height: 260px;
  background: #ffffff;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: none;
  overflow-y: auto;
  padding: 6px;
}

.emoji-picker.show {
  display: block;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 2px;
}

.emoji-item {
  font-size: 20px;
  padding: 4px;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  user-select: none;
  height: 28px;
  width: 28px;
}

.emoji-item:hover {
  background: #f0f1f3;
}

/* Variable Dropdown */
.variable-dropdown {
  position: relative;
  display: flex;
}

.variable-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #5d6b98;
  font-weight: 500;
  transition: all 0.2s ease;
  height: 36px;
}

.variable-btn:hover {
  background: #e0e3ea;
}

.variable-btn i {
  font-size: 18px;
  color: #5d6b98;
  line-height: 1;
}

.variable-btn span {
  font-size: 14px;
  line-height: 1;
}

/* Variable Menu */
.variable-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #d8dde7;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  overflow: hidden;
}

.variable-menu.show {
  display: block;
}

.variable-item {
  display: block;
  padding: 10px 16px;
  color: #333c4c;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border-bottom: 1px solid #f0f1f3;
}

.variable-item:last-child {
  border-bottom: none;
}

.variable-item:hover {
  background: #f5f6f8;
  color: #43a047;
}

/* ===== Textarea Custom with Counter ===== */
.textarea-wrapper-custom {
  position: relative;
  width: 100%;
}

/* Textarea Custom */
.textarea-custom {
  width: 100%;
  height: auto;
  padding: 12px;
  padding-bottom: 35px;
  font-size: 14px;
  background: #fff;
  border: none;
  border-radius: 0;
  resize: vertical;
  font-family: "Inter", sans-serif;
  color: #404968;
  line-height: 1.5;
}

.textarea-custom:focus {
  outline: none;
}

.textarea-custom::placeholder {
  color: #a0aec0;
}

/* Character Counter */
.char-counter {
  position: absolute;
  right: 8px;
  bottom: 10px;
  font-size: 11px;
  color: #7488a5;
  background: #f2f2f2;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
}

/* ===== WABA Buttons Section ===== */

/* Button Styles */
.wb-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  justify-content: center;
}

.wb-btn:focus {
  outline: none;
  background-color: transparent !important;
}

.wb-btn-secondary {
  background: white;
  color: #30374f;
  border: 1px solid #dcdfea;
  box-shadow: 0px 1px 2px 0px rgba(48, 55, 79, 0.05);
  border-radius: 6px;
  height: 44px;
  cursor: pointer !important;
}

.wb-btn-secondary:hover {
  background: #f9f9fb;
}

.wb-btn-primary {
  background: linear-gradient(80deg, #8e24aa 0%, #ff6e40 100%) !important;
  box-shadow: 0 1px 5px 0 rgba(255, 110, 64, 0.5) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 0 24px !important;
  border-radius: 6px;
  transition: all 0.1s ease !important;
  height: 44px;
  cursor: pointer !important;
}

.wb-btn-primary i {
  margin-right: 5px;
}

.wb-btn-primary:hover {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    linear-gradient(80deg, #8e24aa 0%, #ff6e40 100%) !important;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

/* Force show native select and hide Materialize wrapper */
.wb-button-row select.wb-select,
.wb-expanded-row select.wb-select {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

.wb-button-row .select-wrapper,
.wb-expanded-row .select-wrapper {
  display: contents !important;
}

.wb-button-row .select-wrapper input.select-dropdown,
.wb-expanded-row .select-wrapper input.select-dropdown,
.wb-button-row .select-wrapper .caret,
.wb-expanded-row .select-wrapper .caret,
.wb-button-row .select-wrapper ul.dropdown-content,
.wb-expanded-row .select-wrapper ul.dropdown-content {
  display: none !important;
  visibility: hidden !important;
}

select.wb-select option {
  color: #404968 !important;
  background: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .editor-area-item-flex {
    gap: 8px;
  }

  .formatting-toolbar {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
  }

  .formatting-toolbar button {
    padding: 5px;
  }

  .variable-dropdown {
    margin-left: 0;
    margin-top: 4px;
  }

  .variable-btn {
    width: 100%;
    justify-content: center;
  }

  .variable-menu {
    right: 0;
    left: 0;
    width: 100%;
  }

  .textarea-custom {
    font-size: 13px;
  }

  .wb-button-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .wb-button-row .wb-drag-handle {
    order: 1;
  }

  .wb-button-row .wb-select {
    order: 2;
    width: 100% !important;
  }

  .wb-button-row .wb-input-wrapper {
    order: 3;
    width: 100%;
  }

  .wb-button-row .wb-delete-btn {
    order: 4;
    margin-left: auto;
  }

  /* Expanded Row - Stack vertically on mobile */
  .wb-expanded-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .wb-expanded-row .wb-drag-handle {
    order: 1;
  }

  .wb-expanded-selects {
    order: 2;
    width: 100%;
    flex-direction: row;
    gap: 8px;
  }

  .wb-expanded-selects .wb-select {
    flex: 1;
    width: auto !important;
  }

  .wb-expanded-content {
    order: 3;
    width: 100%;
  }

  .wb-expanded-row .wb-delete-btn {
    order: 4;
    margin-left: auto;
  }

  /* Counter positioning on mobile */
  .wb-input-wrapper .char-counter,
  .wb-url-wrapper .char-counter {
    position: static;
    transform: none;
    display: block;
    text-align: right;
    margin-top: 4px;
    font-size: 12px;
  }

  .wb-input-wrapper,
  .wb-url-wrapper {
    flex-direction: column;
  }

  .wb-input-wrapper input,
  .wb-url-wrapper input {
    padding-right: 12px;
  }
}

/* ===== Messaging Quality Badges ===== */
.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.quality-badge img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* High Quality - Green */
.quality-badge.high {
  background-color: #C9FFCB;
  color: #13972A;
}

/* Medium Quality - Orange */
.quality-badge.medium {
  background-color: #FFF1C9;
  color: #FA9B17;
}

/* Low Quality - Red */
.quality-badge.low {
  background-color: #FFDFDF;
  color: #FF3538;
}

/* Unknown Quality - Gray */
.quality-badge.unknown {
  background-color: #EFF1F5;
  color: #7D89AF;
}

/* ===== Profile Initial Avatar ===== */
.profile-img-initial {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--Gray-Cool-50, #f9f9fb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475467;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 auto 12px;
  border: 1px solid var(--Gray-Cool-200, #DCDFEA);
}

/* ===== Profile Picture Avatar (with image) ===== */
.profile-img-picture {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 1px solid var(--Gray-Cool-200, #DCDFEA);
  overflow: hidden;
}

.profile-img-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header avatar size override (40px instead of 82px) */
#waba_profile_picture.profile-img-initial,
#waba_profile_picture.profile-img-picture {
  width: 40px;
  height: 40px;
  font-size: 14px;
  margin: 0;
}