/* Campus Meet club support bot — scoped so register page resets cannot break icons */
.cm-support-bot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  font-family: "Outfit", sans-serif;
  box-sizing: border-box;
}
.cm-support-bot *,
.cm-support-bot *::before,
.cm-support-bot *::after {
  box-sizing: border-box;
}

.cm-support-bot .cm-support-fab {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: none;
  cursor: pointer;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  padding: 0 !important;
  margin: 0;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #3e90ff 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(62, 144, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cm-support-bot .cm-support-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(62, 144, 255, 0.55);
}
.cm-support-bot .cm-support-fab-icon {
  display: grid !important;
  place-items: center;
  line-height: 0;
  width: 24px;
  height: 24px;
}
.cm-support-bot .cm-support-fab-icon .cm-support-svg {
  width: 24px !important;
  height: 24px !important;
  color: #fff;
  display: block;
}
.cm-support-bot .cm-support-svg {
  display: block !important;
  flex-shrink: 0;
  vertical-align: middle;
}
.cm-support-bot .cm-support-fab-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cm-support-bot .cm-support-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(62, 144, 255, 0.45);
  animation: cmSupportPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes cmSupportPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}

.cm-support-bot .cm-support-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(340px, calc(100vw - 32px));
  background: rgba(16, 16, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  overflow: hidden;
  animation: cmSupportIn 0.22s ease;
}
@keyframes cmSupportIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.cm-support-bot .cm-support-panel-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(62, 144, 255, 0.08);
}
.cm-support-bot .cm-support-panel-head > div:not(.cm-support-avatar) {
  min-width: 0;
  flex: 1;
}
.cm-support-bot .cm-support-panel-head strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin: 0;
}
.cm-support-bot .cm-support-panel-head span {
  display: block;
  color: #86868b;
  font-size: 11px;
  margin-top: 2px;
}
.cm-support-bot .cm-support-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 14px;
  display: grid !important;
  place-items: center;
  background: rgba(62, 144, 255, 0.2);
  color: #7eb6ff;
  flex-shrink: 0;
}
.cm-support-bot .cm-support-avatar .cm-support-svg {
  width: 20px !important;
  height: 20px !important;
  color: #7eb6ff;
}
.cm-support-bot .cm-support-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #86868b;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.cm-support-bot .cm-support-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.cm-support-bot .cm-support-close .cm-support-svg {
  width: 16px !important;
  height: 16px !important;
}

.cm-support-bot .cm-support-bubble {
  margin: 14px 14px 10px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8e8ed;
  font-size: 13px;
  line-height: 1.45;
}

.cm-support-bot .cm-support-actions {
  display: grid !important;
  gap: 8px;
  padding: 0 14px;
}
.cm-support-bot .cm-support-action {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  width: auto !important;
  margin: 0;
}
.cm-support-bot .cm-support-action:hover { transform: translateY(-1px); }

/* Icon tile — must NOT inherit column flex from any page `span` rules */
.cm-support-bot .cm-support-action > .cm-support-ico {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 40px !important;
  flex-direction: row !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cm-support-bot .cm-support-action.wa > .cm-support-ico {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.cm-support-bot .cm-support-action.mail > .cm-support-ico {
  background: rgba(62, 144, 255, 0.15);
  color: #5aa3ff;
}
.cm-support-bot .cm-support-ico .cm-support-svg {
  width: 20px !important;
  height: 20px !important;
}

.cm-support-bot .cm-support-action > .cm-support-txt {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
.cm-support-bot .cm-support-action strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.cm-support-bot .cm-support-action small {
  font-size: 11px;
  color: #86868b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-support-bot .cm-support-action.wa {
  border-color: rgba(37, 211, 102, 0.35);
}
.cm-support-bot .cm-support-action.wa:hover {
  background: rgba(37, 211, 102, 0.12);
}
.cm-support-bot .cm-support-action.mail {
  border-color: rgba(62, 144, 255, 0.35);
}
.cm-support-bot .cm-support-action.mail:hover {
  background: rgba(62, 144, 255, 0.12);
}

.cm-support-bot .cm-support-foot {
  margin: 10px 14px 14px;
  font-size: 11px;
  color: #86868b;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .cm-support-bot { right: 16px; bottom: 16px; }
}
