html {
  font-size: 14px;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #1f2937;
  font-family: Arial, Helvetica, sans-serif;
}

.app-header {
  background: #111827;
  color: white;
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.brand {
  font-size: 28px;
  font-weight: 700;
}

.dashboard {
  margin-top: 10px;
}

.hero-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.hero-card h1 {
  margin: 0 0 8px 0;
  font-size: 42px;
}

.subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel-card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.panel-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
}

.status-badge {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e5f7eb;
  color: #166534;
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.log-box,
.results-box {
  min-height: 180px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px;
  background: #f9fafb;
  color: #4b5563;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-card h1 {
    font-size: 34px;
  }
}

.status-running {
  background: #e5f7eb;
  color: #166534;
}

.status-stopped {
  background: #fee2e2;
  color: #991b1b;
}

.log-line {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.log-line:last-child {
  border-bottom: none;
}

.actions form {
  margin: 0;
}

.matches-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.matches-table th,
.matches-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.matches-table th {
  font-weight: 700;
  background: #f9fafb;
}

.results-box {
  overflow: auto;
}

.interval-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.interval-input {
  width: 100px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.hint-text {
  margin-top: 12px;
  color: #6b7280;
  font-size: 14px;
}

.panel-card-inner {
  margin-top: 20px;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.stop-form {
  margin-top: 12px;
}


/* CHATGPT RESPONSIVE DESIGN START */
.page-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.full-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.panel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.panel-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.panel-title-sm {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.panel-subtitle {
    margin: 0.35rem 0 0 0;
    color: #6b7280;
}

.view-toolbar,
.details-toolbar,
.field-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    font-weight: 600;
}

.table-wrap {
    overflow: auto;
}

.subpanel {
    margin-top: 1.25rem;
    border-top: 1px solid #eef2f7;
    padding-top: 1rem;
}

.subpanel-head {
    margin-bottom: 0.75rem;
}

.empty-note {
    color: #6b7280;
}

.history-header-row td {
    background: #e9ecef;
    font-weight: 600;
}

.summary-table th,
.summary-table td {
    white-space: nowrap;
}

tr.clickable-anomaly-row:hover td {
    background: #f5f7fa;
}

@media (max-width: 991.98px) {
    .control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .full-panel {
        padding: 1rem;
        border-radius: 18px;
    }

    .panel-title {
        font-size: 1.25rem;
    }

    .panel-title-sm {
        font-size: 1.05rem;
    }

    .control-grid,
    .details-grid {
        grid-template-columns: 1fr;
    }

    .view-toolbar,
    .details-toolbar,
    .field-actions {
        width: 100%;
    }

    .view-toolbar > *,
    .details-toolbar > *,
    .field-actions > * {
        flex: 1 1 auto;
    }
}
/* CHATGPT RESPONSIVE DESIGN END */


/* buttons row spacing fix */
.control-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.control-actions form{
  margin:0;
}
@media (max-width: 576px){
  .control-actions{
    gap:12px;
  }
}
/* mobile toolbar buttons fix */
@media (max-width: 768px) {
  .panel-header-row {
    display: block !important;
  }

  .view-toolbar {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .view-toolbar form {
    display: contents !important;
    margin: 0 !important;
  }

  .view-toolbar .btn {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

.live-hint {
  margin-top: 0.35rem;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover td {
  background: #f5f7fa;
}

.clickable-row:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -2px;
}

.row-open-indicator {
  width: 36px;
  text-align: center;
  color: #9ca3af;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease, color 0.12s ease;
  font-family: Arial, sans-serif;
}

.clickable-row:hover .row-open-indicator,
.clickable-row:focus-visible .row-open-indicator {
  color: #374151;
  transform: translateX(3px);
}

.no-row-click {
  position: relative;
  z-index: 2;
}

.matches-table-view {
  display: block;
}

.matches-cards-mobile {
  display: none;
}

.mobile-match-actions {
  display: none;
}

.match-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.match-card:hover,
.match-card:active {
  background: #f9fafb;
  border-color: #d1d5db;
}

.match-card:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.match-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.match-card-check {
  flex: 0 0 auto;
  padding-top: 2px;
}

.match-card-main {
  flex: 1 1 auto;
  min-width: 0;
}

.match-card-teams {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: #111827;
  overflow-wrap: anywhere;
}

.match-card-league {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  overflow-wrap: anywhere;
}

.match-card-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.match-card-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 22px;
  font-weight: 700;
  color: #9ca3af;
  transition: transform 0.12s ease, color 0.12s ease;
  font-family: Arial, sans-serif;
}

.match-card:hover .match-card-arrow,
.match-card:focus-visible .match-card-arrow,
.match-card:active .match-card-arrow {
  color: #374151;
  transform: translateX(2px);
}

.col-open {
  width: 40px;
}

.mobile-toggle-btn {
  border-radius: 0.5rem;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.mobile-toggle-btn--select,
.mobile-toggle-btn--select:hover,
.mobile-toggle-btn--select:focus,
.mobile-toggle-btn--select:active,
.mobile-toggle-btn--select:focus-visible {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
}

.mobile-toggle-btn--clear,
.mobile-toggle-btn--clear:hover,
.mobile-toggle-btn--clear:focus,
.mobile-toggle-btn--clear:active,
.mobile-toggle-btn--clear:focus-visible {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid #111827 !important;
  box-shadow: none !important;
}

@media (max-width: 991.98px) {
  .live-matches-table .col-country {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .matches-table-view {
    display: none;
  }

  .matches-cards-mobile {
    display: block;
  }

  .mobile-match-actions {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .mobile-match-actions .btn {
    width: calc(50% - 4px);
    flex: 0 0 calc(50% - 4px);
  }
}

html, body {
  height: 100%;
}

body {
  margin: 0;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-page {
  max-width: 560px;
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.auth-provider {
  display: flex;
  justify-content: center;
}

.auth-provider-form {
  width: 238px;
  max-width: 238px;
  margin: 0;
}

.auth-btn {
  width: 238px;
  max-width: 238px;
  display: block;
  margin: 0 auto;
}

.auth-provider-telegram {
  text-align: center;
}

.auth-provider-telegram iframe,
.auth-provider-telegram > span {
  margin-left: auto !important;
  margin-right: auto !important;
}

.logout-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  background: #ef2323 !important;
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.logout-btn:hover,
.logout-btn:focus,
.logout-btn:active,
.logout-btn:focus-visible {
  background: #cf1d1d !important;
  color: #fff !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.site-footer {
  margin-top: auto;
  background: #eceff3;
  border-top: 1px solid #d8dee8;
  padding: 28px 0 24px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer__socials {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 16px !important;
  flex-wrap: nowrap !important;
}

.footer-social {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  background: #ffffff;
  border: 1px solid #d8dee8;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.footer-social:hover,
.footer-social:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  text-decoration: none !important;
}

.footer-social i {
  font-size: 28px !important;
  line-height: 1 !important;
}

.footer-social svg {
  width: 28px !important;
  height: 28px !important;
  display: block;
  fill: currentColor;
}

.footer-social--youtube {
  color: #ff0000 !important;
}

.footer-social--facebook {
  color: #1877f2 !important;
}

.footer-social--vk {
  color: #0077ff !important;
}

.site-footer__copy {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.site-footer__risk {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 22px 0 20px;
  }

  .site-footer__socials {
    gap: 14px !important;
  }

  .footer-social {
    width: 46px;
    height: 46px;
  }

  .footer-social i {
    font-size: 24px !important;
  }

  .footer-social svg {
    width: 24px !important;
    height: 24px !important;
  }

  .site-footer__copy {
    font-size: 16px;
  }

  .site-footer__risk {
    font-size: 14px;
  }
}

/* footer text polish */
.site-footer .container {
  text-align: center !important;
  align-items: center !important;
}

.site-footer__copy {
  display: block !important;
  margin: 14px auto 8px !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #1f2937 !important;
}

.site-footer__risk {
  display: block !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #4b5563 !important;
}

@media (max-width: 767.98px) {
  .site-footer__copy {
    font-size: 15px !important;
  }

  .site-footer__risk {
    font-size: 13px !important;
    line-height: 1.6 !important;
    padding: 0 10px !important;
  }
}

/* footer text same style */
.site-footer .container {
  text-align: left !important;
  align-items: flex-start !important;
}

.site-footer__copy,
.site-footer__risk {
  display: block !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #4b5563 !important;
  text-align: left !important;
  max-width: none !important;
}

.site-footer__copy {
  margin: 10px 0 2px 0 !important;
}

.site-footer__risk {
  margin: 0 !important;
}

@media (max-width: 767.98px) {
  .site-footer__copy,
  .site-footer__risk {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
}


/* footer final altadar layout */
.site-footer {
  margin-top: auto !important;
  background: #ececec !important;
  border-top: 1px solid #dddddd !important;
  padding: 18px 0 !important;
}

.site-footer .container {
  max-width: 1280px !important;
}

.site-footer__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.site-footer__info {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  background: #f5f5f5 !important;
  border: 1px solid #d8d8d8 !important;
  color: #7a7a7a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
}

.site-footer__text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

.site-footer__copy,
.site-footer__risk {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #505050 !important;
  text-align: left !important;
}

.site-footer__copy {
  margin-bottom: 2px !important;
}

.site-footer__socials {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  min-width: max-content !important;
}

.footer-social {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform .15s ease !important;
}

.footer-social:hover,
.footer-social:focus {
  transform: translateY(-1px) !important;
  text-decoration: none !important;
  color: #fff !important;
}

.footer-social--vk {
  background: #4c75a3 !important;
}

.footer-social--facebook {
  background: #1877f2 !important;
}

.footer-social--youtube {
  background: #ff0000 !important;
}

.footer-social i {
  font-size: 22px !important;
  line-height: 1 !important;
  color: #fff !important;
}

.footer-social svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  fill: currentColor !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .site-footer__row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .site-footer__socials {
    justify-content: flex-start !important;
  }
}

/* footer center text, hide info icon */
.site-footer__info {
  display: none !important;
}

.site-footer__row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
}

.site-footer__text {
  width: 100% !important;
  text-align: center !important;
}

.site-footer__copy,
.site-footer__risk {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-footer__copy {
  margin-bottom: 4px !important;
}

.site-footer__socials {
  justify-content: flex-end !important;
}

@media (max-width: 900px) {
  .site-footer__row {
    grid-template-columns: 1fr !important;
  }

  .site-footer__text {
    order: 1 !important;
  }

  .site-footer__socials {
    order: 2 !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }
}

/* center footer text block, keep socials right */
.site-footer__info {
  display: none !important;
}

.site-footer__row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 24px !important;
}

.site-footer__text {
  grid-column: 2 !important;
  justify-self: center !important;
  text-align: center !important;
}

.site-footer__copy,
.site-footer__risk {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-footer__socials {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

@media (max-width: 900px) {
  .site-footer__row {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .site-footer__text {
    grid-column: auto !important;
    justify-self: center !important;
    text-align: center !important;
  }

  .site-footer__socials {
    grid-column: auto !important;
    justify-self: center !important;
    margin-top: 10px !important;
  }
}

/* footer text left + icons perfectly centered */
.site-footer__text {
  text-align: left !important;
}

.site-footer__copy,
.site-footer__risk {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

.site-footer__copy {
  margin-bottom: 2px !important;
}

.site-footer__socials {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.footer-social {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.footer-social i {
  width: 22px !important;
  height: 22px !important;
  font-size: 22px !important;
  line-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-social svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin: 0 !important;
  fill: currentColor !important;
}

@media (max-width: 900px) {
  .site-footer__text,
  .site-footer__copy,
  .site-footer__risk {
    text-align: left !important;
  }

  .site-footer__socials {
    justify-content: center !important;
  }
}

/* smaller footer circles */
.footer-social {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
}

.footer-social i {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
  line-height: 18px !important;
}

.footer-social svg {
  width: 18px !important;
  height: 18px !important;
}

.site-footer__socials {
  gap: 12px !important;
}

@media (max-width: 900px) {
  .footer-social {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .footer-social i {
    width: 17px !important;
    height: 17px !important;
    font-size: 17px !important;
    line-height: 17px !important;
  }

  .footer-social svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* compact language selector */
.app-header select,
.app-header .form-select {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
}

@media (max-width: 767.98px) {
  .app-header select,
  .app-header .form-select {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
  }
}

/* smaller footer social circles */
.footer-social {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
}

.footer-social i {
  width: 16px !important;
  height: 16px !important;
  font-size: 16px !important;
  line-height: 16px !important;
}

.footer-social svg {
  width: 16px !important;
  height: 16px !important;
}

.site-footer__socials {
  gap: 10px !important;
}

@media (max-width: 900px) {
  .footer-social {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .footer-social i {
    width: 15px !important;
    height: 15px !important;
    font-size: 15px !important;
    line-height: 15px !important;
  }

  .footer-social svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* move footer socials farther right */
.site-footer .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.site-footer__row {
  width: 100% !important;
  grid-template-columns: 1fr auto 1fr !important;
}

.site-footer__text {
  grid-column: 2 !important;
  justify-self: center !important;
}

.site-footer__socials {
  grid-column: 3 !important;
  justify-self: end !important;
  margin-right: 18px !important;
}

@media (max-width: 900px) {
  .site-footer .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-footer__socials {
    margin-right: 0 !important;
  }
}

/* footer: socials on top */
.site-footer__row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

.site-footer__info {
  display: none !important;
}

.site-footer__socials {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 0 6px 0 !important;
}

.site-footer__text {
  order: 2 !important;
  text-align: center !important;
}

.site-footer__copy,
.site-footer__risk {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-footer__copy {
  margin-bottom: 4px !important;
}

.footer-social {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.footer-social i {
  width: 16px !important;
  height: 16px !important;
  font-size: 16px !important;
  line-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-social svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: 0 !important;
  fill: currentColor !important;
}

/* footer text block centered, text inside left-aligned */
.site-footer__text {
  order: 2 !important;
  width: 760px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
}

.site-footer__copy,
.site-footer__risk {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-footer__copy {
  margin-bottom: 4px !important;
}

@media (max-width: 900px) {
  .site-footer__text {
    width: 100% !important;
    text-align: center !important;
  }

  .site-footer__copy,
  .site-footer__risk {
    text-align: center !important;
  }
}

/* mobile footer text like screenshot */
@media (max-width: 767.98px) {
  .site-footer {
    padding: 18px 0 16px !important;
  }

  .site-footer .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .site-footer__row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .site-footer__socials {
    order: 1 !important;
    justify-content: flex-start !important;
    margin: 0 0 8px 0 !important;
  }

  .site-footer__text {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .site-footer__copy,
  .site-footer__risk {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .site-footer__copy {
    margin-bottom: 4px !important;
  }
}

/* mobile: center footer icons */
@media (max-width: 767.98px) {
  .site-footer__socials {
    order: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    gap: 10px !important;
  }

  .site-footer__text {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .site-footer__copy,
  .site-footer__risk {
    text-align: left !important;
  }
}

/* bigger social logos, same circle size */
.footer-social i {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  line-height: 20px !important;
}

.footer-social svg {
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 767.98px) {
  .footer-social i {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    line-height: 18px !important;
  }

  .footer-social svg {
    width: 18px !important;
    height: 18px !important;
  }
}
