/* ── Contact Expert Card — Common Component ── */

.ce-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 22px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid #f1f5f9;
}

/* Header */
.ce-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ce-header-icon {
  background: #eef2ff;
  color: #6366f1;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ce-header-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 2px;
  line-height: 1.2;
}
.ce-header-text p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

/* Expert Profile */
.ce-expert-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 18px;
}
.ce-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.ce-expert-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: block;
}
.ce-expert-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ce-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #10b981;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}
.ce-expert-info {
  flex: 1;
  min-width: 0;
}
.ce-expert-name {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  display: block;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ce-expert-role {
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 7px;
}
.ce-phone-pill {
  background: #eef2ff;
  color: #4f46e5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Form */
.ce-form-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.ce-input-group {
  margin-bottom: 10px;
}
.ce-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  color: #374151;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  font-family: inherit;
  border-radius: 10px !important;
}
.ce-input:focus {
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.ce-phone-row {
  display: flex;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ce-phone-row:focus-within {
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.ce-country-code {
  background: #f3f4f6;
  padding: 11px 12px;
  font-weight: 700;
  color: #4f46e5;
  font-size: 12.5px;
  border-right: 1px solid #e5e7eb;
  white-space: nowrap;
  flex-shrink: 0;
}
.ce-phone-input {
  flex: 1;
  border: none;
  padding: 11px 12px;
  font-size: 13px;
  background: transparent;
  outline: none;
  color: #374151;
  font-family: inherit;
  min-width: 0;
  border-radius: 0px !important;
}

/* Consent */
.ce-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ecfdf5;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #d1fae5;
}
.ce-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 2px solid #10b981;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 1px;
}
.ce-checkbox:checked { background: #10b981; }
.ce-checkbox:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #fff;
  font-size: 9px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ce-consent-text {
  font-size: 11px;
  color: #374151;
  line-height: 1.5;
}

/* Submit button */
.ce-submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: 0.2px;
}
.ce-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.ce-submit-btn:active { transform: translateY(0); }
.ce-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Success state */
.ce-success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}
.ce-success-icon {
  width: 48px;
  height: 48px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  color: #10b981;
}
.ce-success h4 {
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 4px;
}
.ce-success p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

/* Footer */
.ce-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
}
.ce-footer i { font-size: 11px; }
