/**
 * IIFIN — Страница «Ещё» (More Hub)
 * Референс: APP · More · Hub
 */

/* Убираем боковые padding у внешнего Elementor-контейнера */
.page-slug-more .e-con-boxed.e-con:has(> .iifin-more-hub) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.iifin-more-page.iifin-more-hub {
  padding: var(--spacing-4, 16px) 12px;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 20px;
  background: transparent;
}

/* Карточка профиля — градиент */
.iifin-more__profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0B7E95 0%, #24a8a6 100%);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 126, 149, 0.2);
}

.iifin-more__profile-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.iifin-more__profile-avatar .material-symbols-outlined {
  font-size: 32px;
  opacity: 0.95;
}

.iifin-more__profile-info {
  flex: 1;
  min-width: 0;
}

.iifin-more__profile-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}

.iifin-more__profile-email {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.iifin-more__profile-tariff {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.iifin-more__profile-tariff strong {
  font-weight: 600;
}

/* Заголовки секций */
.iifin-more__section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 10px;
  padding: 0 4px;
}

/* Одна карточка на секцию — пункты внутри */
.iifin-more__card {
  background: #faf8f5;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.iifin-more__card .iifin-more__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: none;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
}

.iifin-more__card .iifin-more__item:last-child {
  border-bottom: none;
}

.iifin-more__card .iifin-more__item:hover,
.iifin-more__card .iifin-more__item:active {
  background: #f0f9fa;
}

.iifin-more__card .iifin-more__item:focus-visible {
  outline: 2px solid #94d2e5;
  outline-offset: -2px;
}

.iifin-more__item-icon {
  flex-shrink: 0;
  font-size: 24px;
  color: #24a8a6;
}

.iifin-more__item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.iifin-more__item-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.iifin-more__item-desc {
  font-size: 12px;
  color: #6b7280;
}

.iifin-more__item-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: #9ca3af;
}

/* Кнопка выхода */
.iifin-more__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 16px;
  background: #faf8f5;
  border: 1px solid #ef4444;
  border-radius: 20px;
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.iifin-more__logout:hover {
  background: #fef2f2;
  border-color: #dc2626;
  text-decoration: none !important;
}

.iifin-more__logout .material-symbols-outlined {
  font-size: 22px;
}

/* Версия */
.iifin-more__version {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

/* Соцсети + форма обратной связи */
.iifin-more__card--connect .iifin-more__connect-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px 14px;
  border-top: 1px solid #f3f4f6;
  margin-top: 0;
}

.iifin-more__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 14px 28px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b7e95 0%, #24a8a6 100%);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 126, 149, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.iifin-more__contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 126, 149, 0.35);
}

.iifin-more__contact-btn:active {
  transform: translateY(0);
}

.iifin-more__contact-btn:focus-visible {
  outline: 2px solid #94d2e5;
  outline-offset: 2px;
}

.iifin-more__contact-btn .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'opsz' 24;
}
