/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 40px;
}

.logo {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #0088ff;
  text-decoration: none;
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #aaa;
}

.form-group input {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #0066cc;
}

.form-group input::placeholder {
  color: #555;
}

/* Checkbox styles */
.checkbox-group {
  flex-direction: row !important;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0066cc;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label a {
  color: #0088ff;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.error-message {
  color: #ff4444;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.btn {
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: #0066cc;
  color: white;
}

.btn-primary:hover {
  background: #0077ee;
}

.auth-switch {
  margin-top: 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.auth-switch a {
  color: #0088ff;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Success Banner */
.success-banner {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 24px;
}

.success-banner.hidden {
  display: none;
}

/* Verify Email Page */
.verify-email-content {
  text-align: center;
}

.email-icon {
  color: #0088ff;
  margin-bottom: 24px;
}

.verify-message {
  color: #aaa;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.verify-message strong {
  color: #fff;
}

.verify-hint {
  color: #666;
  font-size: 14px;
  margin-bottom: 32px;
}

.resend-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.resend-section p {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

.resend-message {
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}

.resend-message.success {
  color: #22c55e;
}

.resend-message.error {
  color: #ef4444;
}

/* OAuth Buttons */
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-oauth:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-google svg {
  flex-shrink: 0;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 16px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.divider span {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Error message for OAuth */
.error-message.hidden {
  display: none;
}
