/* ═══════════════════════════════════════
   INFLUENCER PROFILE — CUSTOM STYLES
   ═══════════════════════════════════════ */


/* ── PROFILE HEADER ── */
.imc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 16px;
}

.imc-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.imc-profile-pic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e8e8f0;
  flex-shrink: 0;
  background: #f0f0f0;
}

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

.imc-profile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #aaa;
}

.imc-header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;        /* flex truncation এর জন্য দরকার */
  overflow: hidden;
}

.imc-name {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.2 !important;
  /* নাম দুই লাইনে যাওয়া বন্ধ */
  white-space: nowrap;
  overflow: hidden;
}

.imc-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

/* Gold verified badge SVG */
.imc-verified-svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(180, 130, 0, 0.5));
}

.imc-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5ff;
  border: 1px solid #e0e0f0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
}

.imc-flag {
  font-size: 16px;
}

/* ── SHARE BUTTON ── */
.imc-share-section {
  margin-top: 16px;
}

.imc-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  border: none;
  border-radius: 50px;
  padding: 12px 26px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 16px rgba(92,107,192,0.35);
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.imc-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,107,192,0.45);
  background: linear-gradient(135deg, #3949ab, #5c6bc0);
}

.imc-share-btn i {
  font-size: 16px;
}

.imc-share-label {
  font-size: 14px;
  font-weight: 600;
}

/* ── SHARE POPUP OVERLAY ── */
#imc-share-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: imc-fade-in 0.2s ease;
}

@keyframes imc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.imc-share-popup {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 32px;
  width: 100%;
  max-width: 480px;
  animation: imc-slide-up 0.25s ease;
}

@keyframes imc-slide-up {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.imc-share-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.imc-share-close {
  background: #f0f0f5;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.imc-share-close:hover {
  background: #e0e0ee;
}

.imc-share-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.imc-share-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 12px;
  font-weight: 500;
  transition: transform 0.2s;
}

.imc-share-platform:hover {
  transform: translateY(-3px);
}

.imc-share-platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: box-shadow 0.2s;
}

.imc-share-platform:hover .imc-share-platform-icon {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.imc-share-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f8;
  border-radius: 12px;
  padding: 10px 14px;
}

.imc-share-url-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #555;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.imc-share-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5c6bc0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.imc-share-copy-btn:hover {
  background: #3949ab;
}

@media (min-width: 480px) {
  #imc-share-popup-overlay {
    align-items: center;
  }
  .imc-share-popup {
    border-radius: 20px;
    max-width: 420px;
  }
}


/* ── SOCIAL BADGES ── */
.imc-social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.imc-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #ebebf0;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 160px;
}

.imc-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.imc-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.imc-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.imc-badge-count {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.imc-badge-label {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}


/* ── SECTION TITLE ── */
.imc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
}

.imc-section-title i {
  color: #5c6bc0;
}


/* ── SHORT BIO ── */
.imc-bio-section {
  margin: 20px 0;
}

.imc-bio-box {
  background: #f8f8ff;
  border: 1.5px dashed #c8c8e8;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  min-height: 80px;
}


/* ── NICHES ── */
.imc-niches-section {
  margin: 20px 0;
}

.imc-niches-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.imc-niche-tag {
  display: inline-flex;
  align-items: center;
  background: #ebebff;
  border: 1.5px solid #c8c8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3949ab;
}


/* ── CONTENT TYPE ── */
.imc-content-type-section {
  margin: 20px 0;
}

.imc-content-type-box {
  background: #fff;
  border: 1.5px solid #ebebf0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}


/* ── COUNTRY ── */
.imc-country-section {
  margin: 20px 0;
}

.imc-country-text-box {
  font-size: 14px;
  color: #555;
  padding: 4px 0;
}


/* ── INQUIRE BUTTON ── */
.imc-inquire-section {
  margin: 28px 0 16px;
}

.imc-inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(92,107,192,0.35);
}

.imc-inquire-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,107,192,0.45);
  background: linear-gradient(135deg, #3949ab, #5c6bc0);
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .imc-social-badges {
    gap: 8px;
  }

  .imc-badge {
    min-width: calc(50% - 8px);
    flex: 1;
  }

  .imc-name {
    font-size: 17px !important;
  }

  .imc-verified-svg {
    width: 20px;
    height: 20px;
  }

  .imc-profile-pic {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .imc-badge {
    min-width: 100%;
  }
}


/* ════════════════════════════════════════════
   INQUIRY POPUP — MODERN DESIGN
   ════════════════════════════════════════════ */

#imc-inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#imc-inquiry-overlay.imc-overlay-visible {
  opacity: 1;
}

.imc-inq-popup {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: #e0e0f0 transparent;
}

.imc-inq-popup.imc-popup-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Scrollbar */
.imc-inq-popup::-webkit-scrollbar { width: 5px; }
.imc-inq-popup::-webkit-scrollbar-track { background: transparent; }
.imc-inq-popup::-webkit-scrollbar-thumb { background: #e0e0f0; border-radius: 10px; }

/* Header */
.imc-inq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 0;
  margin-bottom: 24px;
}

.imc-inq-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.imc-inq-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(92,107,192,0.4);
}

.imc-inq-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin: 0 0 2px !important;
  line-height: 1.2 !important;
}

.imc-inq-subtitle {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

.imc-inq-close {
  background: #f5f5f8;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 15px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.imc-inq-close:hover {
  background: #ebebff;
  color: #3949ab;
  transform: rotate(90deg);
}

/* Form */
.imc-inq-form {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.imc-inq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.imc-inq-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.imc-inq-label i {
  color: #5c6bc0;
  width: 14px;
  text-align: center;
}

.imc-inq-req {
  color: #e53935;
  font-size: 14px;
  line-height: 1;
}

/* Readonly influencer name */
.imc-field-readonly .imc-inq-readonly-val {
  background: linear-gradient(135deg, #f0f0ff, #e8eaff);
  border: 1.5px solid #d0d4f5;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #3949ab;
  display: flex;
  align-items: center;
  gap: 8px;
}

.imc-field-readonly .imc-inq-readonly-val::before {
  content: '✦';
  font-size: 10px;
  color: #5c6bc0;
}

/* Inputs */
.imc-inq-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e8e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #1a1a2e;
  background: #fafafa;
  outline: none;
  transition: all 0.25s;
  box-sizing: border-box;
  font-family: inherit;
}

.imc-inq-input::placeholder {
  color: #bbb;
  font-weight: 400;
}

.imc-inq-input:focus {
  border-color: #5c6bc0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92,107,192,0.1);
}

.imc-inq-input.imc-input-error {
  border-color: #e53935;
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(229,57,53,0.08);
}

.imc-inq-error {
  font-size: 12px;
  color: #e53935;
  display: block;
  min-height: 16px;
  font-weight: 500;
}

/* Global error */
.imc-inq-global-error {
  background: #fff3f3;
  border: 1.5px solid #ffcdd2;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #c62828;
  font-weight: 500;
}

/* Submit button */
.imc-inq-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(92,107,192,0.4);
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.imc-inq-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(92,107,192,0.5);
  background: linear-gradient(135deg, #3949ab, #1a237e);
}

.imc-inq-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.imc-inq-submit-text,
.imc-inq-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Success state */
.imc-inq-success {
  padding: 40px 28px 48px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.imc-inq-success-icon {
  font-size: 64px;
  color: #22c55e;
  line-height: 1;
  margin-bottom: 8px;
  animation: imc-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes imc-pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.imc-inq-success h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
}

.imc-inq-success p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.imc-inq-done-btn {
  background: #f5f5ff;
  border: 1.5px solid #d0d4f5;
  border-radius: 50px;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #3949ab;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.imc-inq-done-btn:hover {
  background: #ebebff;
  transform: translateY(-1px);
}

/* Hint text under fields */
.imc-inq-hint {
  font-size: 12px;
  color: #5c6bc0;
  font-style: italic;
  line-height: 1.4;
  margin-top: -2px;
}

/* Textarea */
.imc-inq-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Security note */
.imc-inq-security {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0fff4;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 4px;
}

.imc-inq-security i {
  color: #16a34a;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.imc-inq-security span {
  font-size: 12px;
  color: #15803d;
  line-height: 1.5;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 560px) {
  #imc-inquiry-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .imc-inq-popup {
    border-radius: 24px 24px 0 0;
    max-height: 95vh;
    transform: translateY(100%);
  }

  .imc-inq-popup.imc-popup-visible {
    transform: translateY(0);
  }
}
