/**
 * IT Store — support widget styles.
 */
.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  font-family: inherit;
}

/* Launcher */
.support-widget__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2f6fed;
  color: #fff;
  border: 0;
  border-radius: 30px;
  padding: 12px 20px 12px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 111, 235, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.support-widget__launcher:hover { background: #1d4ed8; transform: translateY(-2px); }
.support-widget__launcher-icon { display: inline-flex; }
.support-widget.is-open .support-widget__launcher { transform: scale(0.96); }

/* Panel */
.support-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 340px;
  max-width: calc(100vw - 44px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.support-widget.is-open .support-widget__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.support-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(120deg, #0b1220, #101a30);
  color: #fff;
}
.support-widget__title { display: block; font-size: 16px; }
.support-widget__hours { display: block; font-size: 12px; color: #9db4d0; margin-top: 3px; }
.support-widget__close {
  background: transparent;
  border: 0;
  color: #cdddf0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.support-widget__close:hover { color: #fff; }

.support-widget__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid #eef2f7;
}
.support-widget__action {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eaf1ff;
  color: #0b1220;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.support-widget__action:hover { background: #e5eefb; color: #0b1220; }
.support-widget__action-ico { font-size: 15px; }

.support-widget__faq-wrap { padding: 14px; max-height: 300px; overflow-y: auto; }
.support-widget__search-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5a6478;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.support-widget__search {
  width: 100%;
  border: 1px solid #d7dce6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.support-widget__search:focus { border-color: #2f6fed; box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15); }

.support-widget__faq { list-style: none; margin: 12px 0 0; padding: 0; }
.support-widget__faq-item { border-top: 1px solid #eef2f7; }
.support-widget__faq-item summary {
  cursor: pointer;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #0b1220;
  list-style: none;
}
.support-widget__faq-item summary::-webkit-details-marker { display: none; }
.support-widget__faq-item summary::before { content: "＋"; color: #2f6fed; margin-right: 8px; font-weight: 700; }
.support-widget__faq-item details[open] summary::before { content: "－"; }
.support-widget__faq-item p { margin: 0 0 12px; font-size: 13px; color: #3c485f; }
.support-widget__empty { font-size: 13px; color: #5a6478; padding: 8px 0; }

.support-widget__contact {
  display: block;
  margin: 4px 14px 16px;
  text-align: center;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .support-widget { right: 14px; bottom: 14px; }
  .support-widget__launcher-label { display: none; }
  .support-widget__launcher { padding: 14px; border-radius: 50%; }
}
