.mm-brand-logo {
  display: inline-block;
  height: auto;
  width: auto;
  max-height: 52px;
  max-width: 220px;
  object-fit: contain;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .mm-brand-logo {
    max-height: 42px;
    max-width: 180px;
  }
}

.mm-login-mode .btn {
  flex: 1 1 0;
}

.mm-login-hint {
  font-size: 0.9rem;
  color: #6c757d;
}

.mm-login-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .mm-login-methods {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mm-login-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.25rem;
  padding: 0.65rem 0.4rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.mm-login-method i {
  font-size: 1.15rem;
  color: #64748b;
}

.mm-login-method:hover {
  border-color: rgba(57, 44, 125, 0.35);
  color: #312e81;
}

.mm-login-method:hover i {
  color: var(--primary, #392c7d);
}

.mm-login-method.is-active {
  border-color: rgba(57, 44, 125, 0.55);
  background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
  color: #312e81;
  box-shadow: 0 8px 18px rgba(57, 44, 125, 0.1);
}

.mm-login-method.is-active i {
  color: var(--primary, #392c7d);
}

/* Auth engel modalı — asıl stiller resources/views/layouts/auth.php içinde (#mmAuthBlockModal) */
.mm-auth-block-modal {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}
