/* Variables globales */
:root {
  --primary-color: #6C63FF;
  --secondary-color: #2A2D3E;
  --background-dark: #1A1C2E;
  --background-light: #2A2D3E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --card-bg: rgba(42, 45, 62, 0.8);
  --card-hover: rgba(108, 99, 255, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background: linear-gradient(180deg, #0b0c2a, #1b1c3f);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Stars animation background */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--background-dark);
  z-index: 0;
  animation: moveStars 200s linear infinite;
}

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: 10000px 10000px; }
}

.container {
  background: rgba(0, 0, 30, 0.85);
  padding: 40px;
  border-radius: 15px;
  width: 400px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  z-index: 1;
}

h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 20px 0;
  color: #7ed6df;
}

label {
  display: block;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 10px;
  border: none;
  border-radius: 8px;
  background-color: #222445;
  color: #fff;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

input:focus {
  outline: none;
  box-shadow: 0 0 5px #7ed6df;
}

.conditions {
  font-size: 12px;
  margin-top: 15px;
  color: #ccc;
}

.conditions a,
.toggle-label a {
  color: #7ed6df;
  text-decoration: underline;
}

.toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 12px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #7ed6df;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  
  
}

button {
  padding: 10px 20px;
  background-color: #7ed6df;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1dd1a1;
}

.already-account {
  text-align: center;
  margin-top: 16px;
}

/* Header */
header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 2rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .container {
    width: 90%;
    max-width: 350px;
  }
}

