/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --primary-color: #5864ff;
  --secondary-color: #3c3b6e;
  --accent-color: #ff8da6;
  --background-color: #f8fafc;
  --text-color: #1e293b;
  --light-text-color: #64748b;
  --error-color: #ef4444;
  --success-color: #10b981;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.form-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header .container {
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}

.header-link:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #4754f0;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
}

.btn-block {
  display: block;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(88, 100, 255, 0.1);
}

.form-input.error {
  border-color: var(--error-color);
}

.form-error {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-notice {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: #f0f9ff;
  color: #0369a1;
}

.alert {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
}

.alert-success {
  background-color: #f0fdf4;
  color: var(--success-color);
}

.alert-error {
  background-color: #fef2f2;
  color: var(--error-color);
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.hero {
  padding: 4rem 0;
  text-align: center;
  background-color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--light-text-color);
}

.features {
  background-color: var(--background-color);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background-color: #f0f4ff;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.verification-code-input {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.verification-code-input input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.25rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
}

.verification-code-input input:focus {
  outline: none;
  border-color: var(--primary-color);
}

footer {
  background-color: white;
  padding: 2rem 0;
  text-align: center;
  color: var(--light-text-color);
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 1rem;
  }
}

.btn-accent {
  background: none;
  color: var(--text-color);
  font-weight: 700;
  border: none;
  border-radius: 0;
  box-shadow: 0 6px 0 -2px var(--accent-color);
  padding: 0 2px;
  transition: box-shadow 0.2s;
}

.btn-accent:hover {
  box-shadow: 0 10px 0 -2px var(--accent-color);
  color: var(--primary-color);
}
