@import "auth-discord.css";
@import "auth-patreon.css";
@import "auth-generic.css";

#bw-auth-app {
  .auth-content {
    padding: 10px;
    text-align: center;
    font-family: "Signika", sans-serif;
  }

  .oauth-header {
    margin-bottom: 20px;
  }

  .oauth-header i {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .oauth-header h2 {
    margin: 0;
  }

  .oauth-requirements {
    line-height: 1.5;
  }

  .oauth-controls {
    margin-bottom: 20px;
    margin-top: 20px;
    justify-items: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .auth-button {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
  }

  .auth-button i {
    margin-right: 10px;
  }

  .auth-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .auth-button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.7;
  }

  .auth-status {
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
  }

  .auth-status.waiting {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
  }

  .auth-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  .auth-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  .oauth-footer {
    font-style: italic;
  }

  .oauth-footer i {
    color: #28a745;
    margin-right: 5px;
  }
}
