  @import '../../utils/shared-styles.scss';

  .auth-required {
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
  }

  .auth-card {
      max-width: 520px;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(30px);
      border: 1px solid rgba(255, 255, 255, 0.8);
      border-radius: 24px;
      padding: 3rem 2.5rem;
      text-align: center;
      box-shadow:
          0 20px 60px rgba(0, 0, 0, 0.15),
          0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      position: relative;

      @media (max-width: 640px) {
          padding: 2.5rem 1.75rem;
          border-radius: 20px;
      }

      &::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 4px;
          background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
          animation: shimmer 3s ease-in-out infinite;
      }
  }

  @keyframes shimmer {

      0%,
      100% {
          opacity: 1;
      }

      50% {
          opacity: 0.6;
      }
  }

  .auth-icon {
      width: 100px;
      height: 100px;
      margin: 0 auto 1.5rem;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
      position: relative;

      &::after {
          content: '';
          position: absolute;
          inset: -8px;
          border: 2px solid rgba(37, 99, 235, 0.3);
          border-radius: 50%;
          animation: pulse 2s ease-in-out infinite;
      }

      .material-symbols-outlined {
          font-size: 48px;
          color: white;
          filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
      }
  }

  @keyframes pulse {

      0%,
      100% {
          transform: scale(1);
          opacity: 0.8;
      }

      50% {
          transform: scale(1.1);
          opacity: 0.5;
      }
  }

  h2 {
      font-size: clamp(1.5rem, 3vw + 1rem, 1.875rem);
      font-weight: 900;
      color: $color-text-primary;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
  }

  p {
      color: $color-text-secondary;
      line-height: 1.6;
      font-size: 1rem;
      margin-bottom: 2rem;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
  }

  .auth-actions {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      .btn {
          width: 100%;
      }
  }

  .auth-footer {
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 2px dashed rgba(0, 0, 0, 0.06);
  }

  .ms-size-20 {
      font-size: 20px;
  }

  .ms-fill {
      font-variation-settings: 'FILL' 1;
  }

  @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
          animation-duration: 0.01ms !important;
          transition-duration: 0.01ms !important;
      }
  }