/* =========================================================
   MC User Auth V2
   SofaScore-inspired two-column authentication modal
========================================================= */

:root {
  --mc-auth-bg: #151a1d;
  --mc-auth-bg-soft: #1b2024;
  --mc-auth-bg-input: #20262a;
  --mc-auth-border: rgba(255, 255, 255, 0.12);
  --mc-auth-border-hover: rgba(255, 255, 255, 0.25);

  --mc-auth-text: #f7f8fa;
  --mc-auth-muted: #9ca6ad;
  --mc-auth-placeholder: #727d84;

  --mc-auth-primary: #d71976;
  --mc-auth-primary-hover: #ed2d8b;
  --mc-auth-primary-soft: rgba(215, 25, 118, 0.14);

  --mc-auth-purple: #7d55ff;
  --mc-auth-pink: #f157ff;

  --mc-auth-success: #18b876;
  --mc-auth-danger: #ef4b62;
  --mc-auth-warning: #f5b942;

  --mc-auth-radius: 18px;
  --mc-auth-radius-sm: 10px;
}

/* =========================================================
   Reset all buttons inside Auth Plugin
========================================================= */

.mc-auth-modal button{
    appearance:none;
    -webkit-appearance:none;
    padding:0 !important;
    margin:0 !important;
    box-shadow:none;
    border-radius:0;
    min-height:0;
    height:auto;
    line-height:normal;
    font:inherit;
    color:inherit;
    text-transform:none;
}

/* =========================================================
   Page lock
========================================================= */

body.mc-auth-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* =========================================================
   Modal shell
========================================================= */

.mc-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.mc-auth-modal[hidden] {
  display: none !important;
}

.mc-auth-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mc-auth-modal-backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(125, 85, 255, 0.12),
      transparent 35%
    ),
    rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* =========================================================
   Dialog
========================================================= */

.mc-auth-dialog {
  position: relative;
  z-index: 2;
  width:min(900px, calc(100vw - 48px));
  min-height:510px;
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mc-auth-radius);
  background: var(--mc-auth-bg);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.55),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transform:
    translateY(18px)
    scale(0.975);
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.mc-auth-modal.active .mc-auth-dialog {
  transform:
    translateY(0)
    scale(1);
}

/*
 * 当前 PHP 中登录内容直接放在 .mc-auth-dialog 内。
 * 以下选择器把登录内容限制在左栏。
 */

.mc-auth-dialog > .mc-auth-brand,
.mc-auth-dialog > .mc-auth-view {
  grid-column: 1;
}

/* =========================================================
   Close button
========================================================= */

.mc-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;

  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.32);
  color: #fff;

  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.mc-auth-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: rotate(3deg);
}

/* =========================================================
   Left authentication panel
========================================================= */

.mc-auth-brand,
.mc-auth-view {
  width: 100%;
  padding-left:34px;
  padding-right:34px;
}

.mc-auth-brand {
  display: flex;
  align-items: center;
  gap: 11px;

  padding-top:26px;
  padding-bottom:14px;

  color: #fff;
}

.mc-auth-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--mc-auth-primary);
}

.mc-auth-brand strong {
  font-size:18px;
  font-weight: 900;
  letter-spacing: -0.7px;

  background:
    linear-gradient(
      90deg,
      var(--mc-auth-purple),
      var(--mc-auth-pink)
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mc-auth-view {
  padding-top: 12px;
  padding-bottom: 36px;

  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(255, 255, 255, 0.18)
    transparent;
}

.mc-auth-view:not(.active) {
  display: none;
}

.mc-auth-heading {
  margin-bottom: 24px;
}

.mc-auth-heading h2 {
  margin: 0 0 9px;

  color: var(--mc-auth-text);

  font-size:22px;
  font-weight: 850;
  line-height:1.1;
  letter-spacing: -1px;
  margin-bottom:8px;
}

.mc-auth-heading p {
  max-width: 390px;
  margin: 0;

  color: var(--mc-auth-muted);

  font-size:13px;
  line-height: 1.55;
}

/* =========================================================
   Forms
========================================================= */

.mc-auth-form {
  display: flex;
  flex-direction: column;
  gap:12px;
}

.mc-auth-field {
  display: flex;
  flex-direction: column;
  gap:5px;
}

.mc-auth-field label {
  color: #dbe0e4;

  font-size:11px;
  font-weight: 750;
  line-height: 1.2;
}

.mc-auth-field input,
.mc-auth-field select,
.mc-auth-field textarea {
  width: 100%;
  min-height:40px;

  padding:0 12px;

  border: 1px solid var(--mc-auth-border);
  border-radius: var(--mc-auth-radius-sm);

  outline: none;

  background: var(--mc-auth-bg-input);
  color: var(--mc-auth-text);

  font-family: inherit;
  font-size:13px;

  box-shadow: none;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.mc-auth-field textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.mc-auth-field input::placeholder,
.mc-auth-field textarea::placeholder {
  color: var(--mc-auth-placeholder);
}

.mc-auth-field input:hover,
.mc-auth-field select:hover,
.mc-auth-field textarea:hover {
  border-color: var(--mc-auth-border-hover);
}

.mc-auth-field input:focus,
.mc-auth-field select:focus,
.mc-auth-field textarea:focus {
  border-color: var(--mc-auth-primary);

  background: #fff;

  box-shadow:
    0 0 0 3px var(--mc-auth-primary-soft);
}

.mc-auth-field input:disabled,
.mc-auth-field select:disabled,
.mc-auth-field textarea:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

/* =========================================================
   Password
========================================================= */

.mc-auth-password-wrap {
  position: relative;
}

.mc-auth-password-wrap input {
  padding-right: 48px;
}

.mc-auth-password-toggle{
    position:absolute;
    top:0;
    right:0;
    width:42px;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:#9aa4ad;
    transition:.2s;
}

.mc-auth-password-toggle:hover{
    color:#fff;
}

.mc-auth-password-toggle:hover,
.mc-auth-password-toggle.active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.mc-auth-password-toggle span {
  font-size: 16px;
  line-height: 1;
}

/* =========================================================
   Main buttons
========================================================= */

.mc-auth-primary-button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 18px;

  border: 0;
  border-radius: var(--mc-auth-radius-sm);

  background:
    linear-gradient(
      90deg,
      var(--mc-auth-primary),
      #e93896
    );

  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 8px 22px rgba(215, 25, 118, 0.22);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.mc-auth-primary-button:hover {
  transform: translateY(-1px);

  box-shadow:
    0 11px 28px rgba(215, 25, 118, 0.32);
}

.mc-auth-primary-button:active {
  transform: translateY(0);
}

.mc-auth-primary-button:disabled,
.mc-auth-primary-button.is-loading {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* =========================================================
   Register/Login switch
========================================================= */

.mc-auth-switch{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin-top:20px;
    line-height:1;
    font-size: 13px;
}

.mc-auth-link{
    display:inline-flex;
    align-items:center;
    color:#ff4ba1;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
}

.mc-auth-link:hover{
    color:#ff67b4;
}

.mc-auth-switch span{
    line-height:1;
    display:flex;
    align-items:center;
}

/* =========================================================
   Message
========================================================= */

.mc-auth-form-message {
  min-height: 18px;

  padding: 0;

  color: var(--mc-auth-muted);

  font-size: 12px;
  line-height: 1.45;

  opacity: 0;

  transition: opacity 0.15s ease;
}

.mc-auth-form-message.active {
  opacity: 1;
}

.mc-auth-form-message.is-error {
  color: #ff7285;
}

.mc-auth-form-message.is-success {
  color: #31d18d;
}

.mc-auth-form-message.is-loading {
  color: #d0d6da;
}

/* =========================================================
   Right promotional panel
========================================================= */

/*
 * 在 PHP 里添加 .mc-auth-promo 后，这块自动生效。
 * 可放视频、轮播、直播推荐或 APK 宣传。
 */

.mc-auth-promo {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;

  min-width: 0;
  min-height: 560px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(125, 85, 255, 0.42),
      rgba(215, 25, 118, 0.26)
    ),
    #272132;
}

.mc-auth-promo::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(7, 9, 11, 0.94) 0%,
      rgba(7, 9, 11, 0.18) 48%,
      rgba(7, 9, 11, 0.05) 100%
    );
}

.mc-auth-promo-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mc-auth-promo-media video,
.mc-auth-promo-media iframe,
.mc-auth-promo-media img {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;

  object-fit: cover;
}

.mc-auth-promo-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 4;

  color: #fff;
}

.mc-auth-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mc-auth-promo-title {
  max-width: 360px;
  margin: 0 0 10px;

  color: #fff;

  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
}

.mc-auth-promo-text {
  max-width: 350px;
  margin: 0;

  color: rgba(255, 255, 255, 0.76);

  font-size: 14px;
  line-height: 1.5;
}

.mc-auth-promo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 18px;
}

.mc-auth-promo-button {
  min-height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 15px;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.34);
  color: #fff;

  font-size: 13px;
  font-weight: 800;
  text-decoration: none;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mc-auth-promo-button:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Logo / progress decorative bar */

.mc-auth-promo-progress {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 17px;
  z-index: 5;

  height: 2px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.2);
}

.mc-auth-promo-progress span {
  display: block;
  width: 42%;
  height: 100%;

  background: #fff;
}

/* =========================================================
   Login header button
========================================================= */

.mc-auth-button-wrap {
  position: relative;

  display: inline-flex;
  align-items: center;
}

.mc-auth-login-button,
.mc-auth-user-button {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 13px;

  border: 1px solid #dfe3e8;
  border-radius: 999px;

  background: #fff;
  color: #20252a;

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.mc-auth-login-button:hover,
.mc-auth-user-button:hover {
  border-color: var(--mc-auth-primary);
  transform: translateY(-1px);

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.1);
}

.mc-auth-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--mc-auth-primary);
}

/* =========================================================
   User avatar and dropdown
========================================================= */

.mc-auth-user-button {
  padding-left: 7px;
}

.mc-auth-avatar,
.mc-auth-account-avatar {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--mc-auth-purple),
      var(--mc-auth-pink)
    );

  color: #fff;

  font-weight: 850;
}

.mc-auth-avatar {
  width: 28px;
  height: 28px;
}

.mc-auth-account-avatar {
  width: 66px;
  height: 66px;

  font-size: 22px;
}

.mc-auth-avatar img,
.mc-auth-account-avatar img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.mc-auth-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 9999;

  width: 230px;

  padding: 8px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;

  background: #171c20;
  color: #fff;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(-7px);

  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.mc-auth-user-menu.active {
  opacity: 1;
  transform: translateY(0);
}

.mc-auth-menu-user {
  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 10px 11px 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mc-auth-menu-user strong {
  color: #fff;
  font-size: 13px;
}

.mc-auth-menu-user span {
  overflow: hidden;

  color: var(--mc-auth-muted);

  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-menu-link,
.mc-auth-menu-logout {
  width: 100%;
  min-height: 39px;

  display: flex;
  align-items: center;

  padding: 0 11px;

  border: 0;
  border-radius: 8px;

  background: transparent;
  color: #dbe0e4;

  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;

  cursor: pointer;
}

.mc-auth-menu-link:hover,
.mc-auth-menu-logout:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* =========================================================
   Account page
========================================================= */

.mc-auth-account {
  width: 100%;

  padding: 24px;

  border-radius: 16px;

  background: #fff;
  color: #1e2328;
}

.mc-auth-account-header {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 24px;
}

.mc-auth-account-header h2 {
  margin: 0 0 4px;

  font-size: 24px;
  font-weight: 850;
}

.mc-auth-account-header p {
  margin: 0;

  color: #7a8490;
  font-size: 13px;
}

.mc-auth-account-tabs {
  display: flex;
  gap: 4px;

  margin-bottom: 20px;
  padding-bottom: 1px;

  overflow-x: auto;

  border-bottom: 1px solid #e8ebef;
}

.mc-auth-account-tabs button {
  min-height: 43px;

  padding: 0 16px;

  border: 0;
  border-bottom: 2px solid transparent;

  background: transparent;
  color: #68727d;

  font-family: inherit;
  font-size: 13px;
  font-weight: 750;

  white-space: nowrap;
  cursor: pointer;
}

.mc-auth-account-tabs button.active {
  border-bottom-color: var(--mc-auth-primary);
  color: var(--mc-auth-primary);
}

.mc-auth-account-panel {
  display: none;
}

.mc-auth-account-panel.active {
  display: block;
}

.mc-auth-account .mc-auth-field input {
  border-color: #dce1e6;

  background: #f7f8fa;
  color: #20252a;
}

.mc-auth-account .mc-auth-field label {
  color: #3c454e;
}

.mc-auth-danger-button {
  min-height: 42px;

  padding: 0 15px;

  border: 1px solid #ffd1d8;
  border-radius: 9px;

  background: #fff4f6;
  color: #d93650;

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;
}

/* =========================================================
   Empty state
========================================================= */

.mc-auth-empty-state {
  padding: 34px 22px;

  border: 1px dashed #dce1e6;
  border-radius: 12px;

  background: #fafbfc;
  text-align: center;
}

.mc-auth-empty-state strong {
  display: block;
  margin-bottom: 6px;

  font-size: 16px;
}

.mc-auth-empty-state p {
  margin: 0;

  color: #818a94;

  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   Toast
========================================================= */

.mc-auth-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1000000;

  max-width: min(420px, calc(100vw - 32px));

  padding: 12px 17px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;

  background: #171c20;
  color: #fff;

  font-size: 13px;
  font-weight: 650;

  opacity: 0;
  visibility: hidden;

  transform:
    translate(-50%, 14px);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.3);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.mc-auth-toast.active {
  opacity: 1;
  visibility: visible;

  transform:
    translate(-50%, 0);
}

.mc-auth-toast-success {
  border-color: rgba(24, 184, 118, 0.35);
}

.mc-auth-toast-error {
  border-color: rgba(239, 75, 98, 0.4);
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {
  .mc-auth-dialog {
    width: min(720px, calc(100vw - 36px));
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .mc-auth-brand,
  .mc-auth-view {
    padding-left: 30px;
    padding-right: 30px;
  }

  .mc-auth-promo-title {
    font-size: 27px;
  }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 700px) {
  .mc-auth-modal {
    align-items: flex-end;

    padding: 0;
  }

  .mc-auth-dialog {
    width: 100%;
    min-height: 0;
    max-height: min(90vh, 760px);

    display: block;

    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;

    transform:
      translateY(35px)
      scale(1);
  }

  .mc-auth-modal.active .mc-auth-dialog {
    transform: translateY(0);
  }

  .mc-auth-brand,
  .mc-auth-view {
    padding-left: 22px;
    padding-right: 22px;
  }

  .mc-auth-brand {
    padding-top: 28px;
    padding-bottom: 13px;
  }

  .mc-auth-brand strong {
    font-size: 19px;
  }

  .mc-auth-view {
    max-height: calc(90vh - 82px);

    padding-top: 8px;
    padding-bottom:
      calc(28px + env(safe-area-inset-bottom));
  }

  .mc-auth-heading {
    margin-bottom: 20px;
  }

  .mc-auth-heading h2 {
    font-size: 27px;
  }

  /*
   * 手机端隐藏宣传视频，避免登录弹窗太重。
   */
  .mc-auth-promo {
    display: none !important;
  }

  .mc-auth-close {
    top: 13px;
    right: 14px;
  }

  .mc-auth-switch {
    flex-wrap: wrap;
  }
}

/* =========================================================
   Very small screens
========================================================= */

@media (max-width: 380px) {
  .mc-auth-brand,
  .mc-auth-view {
    padding-left: 17px;
    padding-right: 17px;
  }

  .mc-auth-field input {
    min-height: 45px;
  }
}

/* =========================================================
   Reduced motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .mc-auth-modal,
  .mc-auth-dialog,
  .mc-auth-close,
  .mc-auth-primary-button,
  .mc-auth-user-menu,
  .mc-auth-toast {
    transition: none !important;
  }
}

/* =========================================================
   Right feature panel
========================================================= */

.mc-auth-promo,
.mc-auth-feature-panel {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;

  min-width: 0;
  min-height: 560px;

  overflow: hidden;

  background:
    linear-gradient(
      155deg,
      #22252f 0%,
      #251d31 46%,
      #171a20 100%
    );
}

.mc-auth-feature-bg {
  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(241, 87, 255, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(125, 85, 255, 0.26),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035),
      transparent 55%
    );
}

.mc-auth-feature-bg::before,
.mc-auth-feature-bg::after {
  content: "";

  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.mc-auth-feature-bg::before {
  width: 280px;
  height: 280px;

  top: -110px;
  right: -95px;
}

.mc-auth-feature-bg::after {
  width: 220px;
  height: 220px;

  bottom: -95px;
  left: -75px;
}

.mc-auth-feature-content {
  position: relative;
  z-index: 2;

  height: 100%;

  display: flex;
  flex-direction: column;

  padding: 34px 34px 28px;

  color: #fff;
}

.mc-auth-feature-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-auth-feature-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #f157ff;
}

.mc-auth-feature-brand div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-auth-feature-brand strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;

  background:
    linear-gradient(
      90deg,
      #9c7cff,
      #f157ff
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mc-auth-feature-brand small {
  color: rgba(255, 255, 255, 0.55);

  font-size: 10px;
  font-weight: 650;
}

.mc-auth-feature-heading {
  margin-top: 38px;
}

.mc-auth-feature-kicker {
  display: inline-flex;

  margin-bottom: 10px;

  color: #e2b8ff;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-auth-feature-heading h3 {
  max-width: 360px;
  margin: 0 0 12px;

  color: #fff;

  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
}

.mc-auth-feature-heading p {
  max-width: 350px;
  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 13px;
  line-height: 1.55;
}

.mc-auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 13px;

  margin-top: 28px;
}

.mc-auth-feature-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;

  padding: 12px 13px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.mc-auth-feature-item:hover {
  transform: translateX(3px);

  border-color: rgba(241, 87, 255, 0.28);

  background: rgba(255, 255, 255, 0.075);
}

.mc-auth-feature-icon {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background:
    linear-gradient(
      145deg,
      rgba(125, 85, 255, 0.28),
      rgba(241, 87, 255, 0.18)
    );

  color: #f1b5ff;
}

.mc-auth-feature-item strong {
  display: block;

  margin-bottom: 3px;

  color: #fff;

  font-size: 13px;
  font-weight: 800;
}

.mc-auth-feature-item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 11px;
  line-height: 1.4;
}

.mc-auth-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: auto;
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.52);

  font-size: 10px;
  font-weight: 700;
}

.mc-auth-feature-footer span {
  position: relative;

  padding-left: 14px;
}

.mc-auth-feature-footer span::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 0;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #36d391;

  transform: translateY(-50%);
}

@media (max-width: 700px) {
  .mc-auth-promo,
  .mc-auth-feature-panel {
    display: none !important;
  }
}

/* =========================================================
   MC Auth Account Page - Refined Layout
========================================================= */

.mc-auth-account {
  width: min(100%, 1080px);
  margin: 30px auto 60px;
  padding: 0;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;

  background: #15191f;
  color: #f7f8fa;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28);
}

/* account loading / guest */

.mc-auth-account-loading,
.mc-auth-account-guest {
  padding: 48px 34px;
  text-align: center;
}

.mc-auth-account-guest h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
}

.mc-auth-account-guest p {
  margin: 0 0 20px;
  color: #9aa3ad;
  font-size: 14px;
}

/* header */

.mc-auth-account-header {
  display: flex;
  align-items: center;
  gap: 16px;

  margin: 0;
  padding: 26px 30px 22px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(241, 87, 255, 0.12),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(125, 85, 255, 0.08),
      transparent 45%
    );
}

.mc-auth-account-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;

  border: 3px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 10px 24px rgba(125, 85, 255, 0.2);
}

.mc-auth-account-header h2 {
  margin: 0 0 5px;

  color: #fff;

  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.mc-auth-account-header p {
  margin: 0;

  color: #98a2ad;

  font-size: 13px;
  line-height: 1.4;
}

/* tabs */

.mc-auth-account-tabs {
  display: flex;
  align-items: center;
  gap: 4px;

  margin: 0;
  padding: 0 24px;

  overflow-x: auto;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  background: #171c22;

  scrollbar-width: none;
}

.mc-auth-account-tabs::-webkit-scrollbar {
  display: none;
}

.mc-auth-account-tabs button {
  position: relative;

  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 17px !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  color: #8f99a4 !important;

  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1 !important;

  cursor: pointer;

  box-shadow: none !important;
}

.mc-auth-account-tabs button::after {
  content: "";

  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;

  height: 2px;

  border-radius: 999px;

  background: transparent;
}

.mc-auth-account-tabs button:hover {
  color: #fff !important;
}

.mc-auth-account-tabs button.active {
  color: #ff4ba1 !important;
}

.mc-auth-account-tabs button.active::after {
  background:
    linear-gradient(
      90deg,
      #d71976,
      #f157ff
    );
}

/* panels */

.mc-auth-account-panel {
  display: none;
  padding: 30px;
}

.mc-auth-account-panel.active {
  display: block;
}

/* profile form */

.mc-auth-account-panel form {
  width: min(100%, 660px);
}

.mc-auth-account .mc-auth-field {
  gap: 7px;
  margin-bottom: 18px;
}

.mc-auth-account .mc-auth-field label {
  color: #cfd5dc;

  font-size: 12px;
  font-weight: 750;
}

.mc-auth-account .mc-auth-field input,
.mc-auth-account .mc-auth-field select,
.mc-auth-account .mc-auth-field textarea {
  width: 100%;
  min-height: 44px;

  padding: 0 13px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;

  background: #20262d;
  color: #f8f9fa;

  font-size: 14px;

  box-shadow: none;
}

.mc-auth-account .mc-auth-field input:hover,
.mc-auth-account .mc-auth-field select:hover,
.mc-auth-account .mc-auth-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.mc-auth-account .mc-auth-field input:focus,
.mc-auth-account .mc-auth-field select:focus,
.mc-auth-account .mc-auth-field textarea:focus {
  border-color: #d71976;

  outline: none;

  background: #242b33;

  box-shadow:
    0 0 0 3px rgba(215, 25, 118, 0.12);
}

/* save button */

.mc-auth-account .mc-auth-primary-button {
  width: auto;
  min-width: 150px;
  min-height: 43px;

  padding: 0 18px !important;

  border: 0 !important;
  border-radius: 10px !important;

  background:
    linear-gradient(
      90deg,
      #d71976,
      #eb3896
    ) !important;

  color: #fff !important;

  font-size: 13px !important;
  font-weight: 800 !important;

  box-shadow:
    0 9px 24px rgba(215, 25, 118, 0.24) !important;
}

.mc-auth-account .mc-auth-primary-button:hover {
  transform: translateY(-1px);

  box-shadow:
    0 12px 30px rgba(215, 25, 118, 0.32) !important;
}

/* danger button */

.mc-auth-account .mc-auth-danger-button {
  min-height: 42px;

  padding: 0 16px !important;

  border: 1px solid rgba(239, 75, 98, 0.28) !important;
  border-radius: 9px !important;

  background: rgba(239, 75, 98, 0.08) !important;
  color: #ff7b8f !important;

  font-size: 13px !important;
  font-weight: 750 !important;
}

.mc-auth-account .mc-auth-danger-button:hover {
  background: rgba(239, 75, 98, 0.14) !important;
}

/* message */

.mc-auth-account .mc-auth-form-message {
  margin-top: 10px;
}

/* mobile */

@media (max-width: 767px) {
  .mc-auth-account {
    margin: 18px auto 40px;

    border-radius: 14px;
  }

  .mc-auth-account-header {
    padding: 22px 20px 18px;
  }

  .mc-auth-account-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .mc-auth-account-header h2 {
    font-size: 19px;
  }

  .mc-auth-account-tabs {
    padding: 0 10px;
  }

  .mc-auth-account-tabs button {
    min-height: 50px;
    padding: 0 13px !important;
  }

  .mc-auth-account-panel {
    padding: 22px 18px;
  }

  .mc-auth-account-panel form {
    width: 100%;
  }

  .mc-auth-account .mc-auth-primary-button {
    width: 100%;
  }
}

/* =========================================================
   Account Profile
========================================================= */

.mc-auth-profile-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
}

.mc-auth-profile-side {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 24px 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(125, 85, 255, 0.16),
      transparent 42%
    ),
    #191f26;

  text-align: center;
}

.mc-auth-profile-avatar {
  position: relative;

  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 3px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #7d55ff,
      #f157ff
    );

  color: #fff;

  font-size: 31px;
  font-weight: 900;

  box-shadow:
    0 14px 32px rgba(125, 85, 255, 0.25);
}

.mc-auth-profile-avatar img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.mc-auth-profile-side-info {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 4px;

  margin-top: 15px;
}

.mc-auth-profile-side-info strong {
  overflow: hidden;

  color: #fff;

  font-size: 16px;
  font-weight: 850;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-profile-side-info span {
  overflow: hidden;

  color: #929ca7;

  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-avatar-url-label {
  margin-top: 18px;

  color: #ff4ba1;

  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
}

.mc-auth-avatar-url-label:hover {
  text-decoration: underline;
}

.mc-auth-profile-avatar-help {
  margin: 9px 0 0;

  color: #78838e;

  font-size: 10px;
  line-height: 1.45;
}

.mc-auth-profile-main {
  min-width: 0;
}

.mc-auth-profile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 22px;
}

.mc-auth-profile-title h3 {
  margin: 0 0 5px;

  color: #fff;

  font-size: 19px;
  font-weight: 850;
}

.mc-auth-profile-title p {
  margin: 0;

  color: #8f99a4;

  font-size: 12px;
}

.mc-auth-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.mc-auth-profile-full {
  grid-column: 1 / -1;
}

.mc-auth-account .mc-auth-profile-grid .mc-auth-field {
  margin: 0;
}

.mc-auth-account .mc-auth-field small {
  display: block;

  color: #737e89;

  font-size: 10px;
  line-height: 1.4;
}

.mc-auth-account .mc-auth-field input[readonly] {
  background: #191f25;
  color: #7f8994;

  cursor: default;
}

.mc-auth-profile-actions {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 23px;
}

.mc-auth-profile-actions .mc-auth-form-message {
  flex: 1;

  margin: 0;
}

@media (max-width: 820px) {
  .mc-auth-profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mc-auth-profile-side {
    flex-direction: row;
    align-items: center;

    text-align: left;
  }

  .mc-auth-profile-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;

    font-size: 23px;
  }

  .mc-auth-profile-side-info {
    min-width: 0;

    margin: 0 0 0 14px;
  }

  .mc-auth-avatar-url-label,
  .mc-auth-profile-avatar-help {
    display: none;
  }
}

@media (max-width: 560px) {
  .mc-auth-profile-grid {
    grid-template-columns: 1fr;
  }

  .mc-auth-profile-full {
    grid-column: auto;
  }

  .mc-auth-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* =========================================================
   Account Profile
========================================================= */

.mc-auth-profile-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
}

.mc-auth-profile-side {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 24px 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(125, 85, 255, 0.16),
      transparent 42%
    ),
    #191f26;

  text-align: center;
}

.mc-auth-profile-avatar {
  position: relative;

  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 3px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #7d55ff,
      #f157ff
    );

  color: #fff;

  font-size: 31px;
  font-weight: 900;

  box-shadow:
    0 14px 32px rgba(125, 85, 255, 0.25);
}

.mc-auth-profile-avatar img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.mc-auth-profile-side-info {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 4px;

  margin-top: 15px;
}

.mc-auth-profile-side-info strong {
  overflow: hidden;

  color: #fff;

  font-size: 16px;
  font-weight: 850;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-profile-side-info span {
  overflow: hidden;

  color: #929ca7;

  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-avatar-url-label {
  margin-top: 18px;

  color: #ff4ba1;

  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
}

.mc-auth-avatar-url-label:hover {
  text-decoration: underline;
}

.mc-auth-profile-avatar-help {
  margin: 9px 0 0;

  color: #78838e;

  font-size: 10px;
  line-height: 1.45;
}

.mc-auth-profile-main {
  min-width: 0;
}

.mc-auth-profile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 22px;
}

.mc-auth-profile-title h3 {
  margin: 0 0 5px;

  color: #fff;

  font-size: 19px;
  font-weight: 850;
}

.mc-auth-profile-title p {
  margin: 0;

  color: #8f99a4;

  font-size: 12px;
}

.mc-auth-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.mc-auth-profile-full {
  grid-column: 1 / -1;
}

.mc-auth-account .mc-auth-profile-grid .mc-auth-field {
  margin: 0;
}

.mc-auth-account .mc-auth-field small {
  display: block;

  color: #737e89;

  font-size: 10px;
  line-height: 1.4;
}

.mc-auth-account .mc-auth-field input[readonly] {
  background: #191f25;
  color: #7f8994;

  cursor: default;
}

.mc-auth-profile-actions {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 23px;
}

.mc-auth-profile-actions .mc-auth-form-message {
  flex: 1;

  margin: 0;
}

@media (max-width: 820px) {
  .mc-auth-profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mc-auth-profile-side {
    flex-direction: row;
    align-items: center;

    text-align: left;
  }

  .mc-auth-profile-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;

    font-size: 23px;
  }

  .mc-auth-profile-side-info {
    min-width: 0;

    margin: 0 0 0 14px;
  }

  .mc-auth-avatar-url-label,
  .mc-auth-profile-avatar-help {
    display: none;
  }
}

@media (max-width: 560px) {
  .mc-auth-profile-grid {
    grid-template-columns: 1fr;
  }

  .mc-auth-profile-full {
    grid-column: auto;
  }

  .mc-auth-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.mc-auth-avatar-upload-button {
  margin-top: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;
  padding: 0 14px;

  border: 1px solid rgba(241, 87, 255, 0.3);
  border-radius: 9px;

  background: rgba(241, 87, 255, 0.08);
  color: #ff62b4;

  font-size: 12px;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.mc-auth-avatar-upload-button:hover {
  border-color: rgba(241, 87, 255, 0.55);
  background: rgba(241, 87, 255, 0.14);
  transform: translateY(-1px);
}

.mc-auth-avatar-upload-button.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.mc-auth-profile-avatar-help {
  margin: 9px 0 0;
  color: #78838e;
  font-size: 10px;
  line-height: 1.45;
}

.mc-auth-account-content input{
    color:#fff !important;
    caret-color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

.mc-auth-account-content input:focus{
    color:#fff !important;
    caret-color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

/* =========================================================
   Account Favorites
========================================================= */

.mc-auth-favorites-page {
  width: 100%;
}

.mc-auth-favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 22px;
}

.mc-auth-favorites-header h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.mc-auth-favorites-header p {
  margin: 0;
  color: #8f99a4;
  font-size: 12px;
}

.mc-auth-favorites-refresh {
  width: 40px;
  height: 40px;
  min-height: 0 !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 0 !important;
  margin: 0 !important;

  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 10px !important;

  background: #20262d !important;
  color: #aeb7c1 !important;

  box-shadow: none !important;
  cursor: pointer;
}

.mc-auth-favorites-refresh:hover {
  border-color: rgba(241,87,255,.35) !important;
  color: #ff63b4 !important;
}

.mc-auth-favorites-refresh.is-loading svg {
  animation: mc-auth-spin .75s linear infinite;
}

.mc-auth-favorite-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 20px;
}

.mc-auth-favorite-summary > div {
  padding: 14px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;

  background: #191f26;
}

.mc-auth-favorite-summary strong {
  display: block;

  margin-bottom: 3px;

  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.mc-auth-favorite-summary span {
  color: #7f8994;
  font-size: 11px;
}

.mc-auth-favorite-tabs {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 18px;

  overflow-x: auto;
  scrollbar-width: none;
}

.mc-auth-favorite-tabs::-webkit-scrollbar {
  display: none;
}

.mc-auth-favorite-tabs button {
  min-height: 38px !important;

  display: inline-flex !important;
  align-items: center;
  gap: 7px;

  padding: 0 13px !important;
  margin: 0 !important;

  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 999px !important;

  background: #191f26 !important;
  color: #8f99a4 !important;

  font-size: 12px !important;
  font-weight: 750 !important;

  box-shadow: none !important;
}

.mc-auth-favorite-tabs button.active {
  border-color: rgba(241,87,255,.35) !important;
  background: rgba(215,25,118,.1) !important;
  color: #ff5aab !important;
}

.mc-auth-favorite-tabs button span {
  min-width: 20px;
  height: 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 5px;

  border-radius: 999px;

  background: rgba(255,255,255,.07);

  font-size: 10px;
}

.mc-auth-favorites-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  transition: opacity .15s ease;
}

.mc-auth-favorites-list.is-loading {
  opacity: .55;
  pointer-events: none;
}

.mc-auth-favorite-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;

  min-width: 0;

  padding: 14px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;

  background: #191f26;

  transition:
    border-color .15s ease,
    transform .15s ease,
    opacity .18s ease;
}

.mc-auth-favorite-card:hover {
  border-color: rgba(241,87,255,.24);
  transform: translateY(-1px);
}

.mc-auth-favorite-card.is-removing {
  opacity: .55;
  pointer-events: none;
}

.mc-auth-favorite-card.is-removed {
  opacity: 0;
  transform: scale(.97);
}

.mc-auth-favorite-logo {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 12px;

  background: #242b34;
  color: #b597ff;
}

.mc-auth-favorite-logo img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.mc-auth-favorite-info {
  min-width: 0;
}

.mc-auth-favorite-info strong,
.mc-auth-favorite-info span,
.mc-auth-favorite-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-auth-favorite-info strong {
  margin-bottom: 4px;

  color: #fff;

  font-size: 13px;
  font-weight: 800;
}

.mc-auth-favorite-info span {
  margin-bottom: 5px;

  color: #909aa5;
  font-size: 11px;
}

.mc-auth-favorite-info small {
  color: #66717d;
  font-size: 9px;
}

.mc-auth-favorite-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mc-auth-favorite-open {
  min-height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 11px;

  border: 1px solid rgba(125,85,255,.25);
  border-radius: 8px;

  background: rgba(125,85,255,.08);
  color: #bdaeff;

  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.mc-auth-favorite-remove {
  width: 34px !important;
  height: 34px !important;
  min-height: 0 !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 0 !important;
  margin: 0 !important;

  border: 1px solid rgba(239,75,98,.2) !important;
  border-radius: 8px !important;

  background: rgba(239,75,98,.06) !important;
  color: #ef6a7d !important;

  box-shadow: none !important;
}

.mc-auth-favorite-remove:hover {
  background: rgba(239,75,98,.13) !important;
}

.mc-auth-favorites-loading {
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #89939e;
  font-size: 12px;
}

.mc-auth-spinner {
  width: 18px;
  height: 18px;

  border: 2px solid rgba(255,255,255,.1);
  border-top-color: #f157ff;
  border-radius: 50%;

  animation: mc-auth-spin .75s linear infinite;
}

.mc-auth-favorite-empty {
  grid-column: 1 / -1;

  padding: 46px 20px;

  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 13px;

  background: #181e24;

  text-align: center;
}

.mc-auth-favorite-empty-icon {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 13px;

  border-radius: 50%;

  background: rgba(215,25,118,.09);
  color: #ef4f9e;
}

.mc-auth-favorite-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
}

.mc-auth-favorite-empty p {
  max-width: 380px;
  margin: 0 auto;

  color: #77828d;

  font-size: 11px;
  line-height: 1.5;
}

.mc-auth-favorites-message {
  padding: 20px;

  border: 1px solid rgba(239,75,98,.2);
  border-radius: 11px;

  background: rgba(239,75,98,.06);
  color: #ff8192;

  font-size: 12px;
}

@keyframes mc-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .mc-auth-favorite-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-auth-favorites-list {
    grid-template-columns: 1fr;
  }

  .mc-auth-favorite-card {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .mc-auth-favorite-logo {
    width: 48px;
    height: 48px;
  }

  .mc-auth-favorite-open {
    display: none;
  }
}

.mc-auth-favorite-card {
    cursor: pointer;
}

.mc-auth-favorite-card:focus-within {
    border-color: rgba(241, 87, 255, 0.32);
}

.mc-auth-favorite-open,
.mc-auth-favorite-remove {
    position: relative;
    z-index: 2;
}