@tailwind base;
@tailwind components;
@tailwind utilities;

/* Design System */
:root {
  --primary: #00875F;
  --primary-dark: #015F43;
  --primary-light: #00B37E;
  --secondary: #7C3AED;
  --secondary-dark: #5B21B6;
  --secondary-light: #8B5CF6;
  --background: #121214;
  --surface: #202024;
  --text: #C4C4CC;
  --title: #E1E1E6;
  --shape: #323238;
  --placeholder: #7C7C8A;
  --border: #323238;
  --error: #F75A68;
  --success: #00875F;
  --warning: #FBA94C;
  --info: #81D8F7;
}

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-weight: 700;
  line-height: 1.2;
}

/* Botões */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--primary-dark);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}

/* Formulários */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text);
}

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

/* Feedback */
.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

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

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.slide-up {
  animation: slideUp 0.3s ease-in-out;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .button {
    padding: 0.5rem 1rem;
  }
} 