/**
 * Authentication Pages Styles
 * Login, NDA, and registration pages
 *
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * PATENT NOTICE
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * This software is protected by U.S. Patent Application No. 63/909,979
 * Patent Pending - All Rights Reserved
 *
 * Qwikwit™ and SyncSearch™ are trademarks of VaultSync Solutions Inc.
 *
 * © 2024-2025 VaultSync Solutions Inc. All rights reserved.
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

:root {
  --teal: #21b6ad;
  --offwhite: #e9fffd;
  --dark-teal: #1a948c;
}

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

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--offwhite) 0%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.auth-box {
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 60px rgba(33, 182, 173, 0.15);
  overflow: hidden;
}

.auth-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
}

.auth-subtitle {
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.auth-form {
  padding: 40px 30px;
}

.auth-form h2 {
  color: var(--teal);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33, 182, 173, 0.1);
}

.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  min-height: 120px;
  resize: vertical;
  transition: all 0.3s ease;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33, 182, 173, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--teal);
}

.checkbox-group label {
  flex: 1;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group label strong {
  color: #333;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 182, 173, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 182, 173, 0.4);
}

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

.btn-secondary {
  width: 100%;
  background: white;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn-secondary:hover {
  background: var(--offwhite);
}

.auth-note {
  text-align: center;
  margin-top: 25px;
  color: #666;
  font-size: 0.95rem;
}

.auth-note a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

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

.auth-footer {
  background: #f8f8f8;
  padding: 25px 30px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.auth-footer p {
  margin: 5px 0;
}

.auth-footer strong {
  color: #333;
}

.patent-text {
  color: var(--teal);
  font-weight: 600;
  margin-top: 10px !important;
}

.message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.message.error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.message.success {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
}

.message.info {
  background: #ebf8ff;
  border: 1px solid #90cdf4;
  color: #2c5282;
}

.nda-content {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  margin: 25px 0;
  max-height: 400px;
  overflow-y: auto;
  border: 2px solid #e0e0e0;
}

.nda-content h3 {
  color: var(--teal);
  margin-top: 20px;
  margin-bottom: 10px;
}

.nda-content h3:first-child {
  margin-top: 0;
}

.nda-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.nda-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.nda-content li {
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .auth-header {
    padding: 30px 20px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .auth-form {
    padding: 30px 20px;
  }

  .auth-footer {
    padding: 20px;
  }
}
