/* Lucid Black Friday Promo Styles */
/* Modern design matching LoginView.axaml aesthetic */

:root {
  --primary-purple: #8b3a96;
  --dark-purple: #5c2261;
  --bg-dark: #1a1a1a;
  --bg-card: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-dim: rgba(255, 255, 255, 0.5);
  --error-color: #ff4444;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d0d0d 100%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 500px;
  width: 100%;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px var(--shadow-color);
}

/* Header Section */
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.header-text h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
}

.header-text .tagline {
  font-size: 15px;
  color: var(--text-dim);
}

/* Error Message */
.error-message {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid var(--error-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--error-color);
  text-align: center;
  display: none;
}

.error-message.visible {
  display: block;
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #000000;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #000000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Loading State */
.loading-container {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(139, 58, 150, 0.2);
  border-top-color: var(--primary-purple);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}

.loading-container p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 600px) {
  .card {
    padding: 32px 24px;
  }

  .header {
    flex-direction: column;
    text-align: center;
  }

  .header-text h1 {
    font-size: 24px;
  }

  .logo {
    width: 56px;
    height: 56px;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.mb-16 {
  margin-bottom: 16px;
}
