/* Reset e base */
:root {
  --primary-color: #8a2be2;
  --secondary-color: #6a0dad;
  --accent-color: #b388ff;
  --dark-bg: #0a001f;
  --darker-bg: #050011;
  --text-light: #f5f5ff;
  --text-muted: #b3b3cc;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Efeito de partículas */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.3;
}

/* Estilos para a página de autenticação */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem;
}

.auth-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  z-index: 2;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 43, 226, 0.1);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.auth-header h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-form {
  margin-top: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.forgot-password {
  color: var(--accent-color);
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.forgot-password:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.input-with-icon input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s;
  height: auto;
}

.input-with-icon input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
  outline: none;
  background: rgba(138, 43, 226, 0.05);
}

.toggle-password {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: var(--accent-color);
}

.form-options {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.3s;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-color);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-button {
  width: 100%;
  padding: 1rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.auth-button:active {
  transform: translateY(0);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 1rem;
}

.auth-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.auth-footer a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.auth-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Estilos para o formulário de solicitação de acesso */
.requests-control {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.btn-request {
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-request:hover {
  background: rgba(138, 43, 226, 0.2);
  transform: translateY(-1px);
}

.btn-request:active {
  transform: translateY(0);
}

.request-input {
  flex: 1;
  margin: 0 0.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.75rem !important;
  font-weight: 600;
  color: #fff !important;
}

.valor-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(138, 43, 226, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.valor-total .valor {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Responsividade para a página de login */
@media (max-width: 576px) {
  .auth-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .auth-header h2 {
    font-size: 1.5rem;
  }
  
  .auth-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Gradiente animado */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, 
    rgba(138, 43, 226, 0.2) 0%, 
    rgba(106, 13, 173, 0.1) 30%, 
    rgba(10, 0, 31, 0) 70%);
  z-index: -1;
  animation: rotate 60s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 0, 31, 0.9);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(10, 0, 31, 0.95);
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.navbar .logo::before {
  content: '🚀';
  font-size: 1.5rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.navbar nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
  color: var(--accent-color);
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
  width: 100%;
}

.api-btn {
  padding: 0.7rem 1.5rem;
  background: var(--gradient);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.api-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.api-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.api-btn:hover::before {
  opacity: 1;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive menu */
@media (max-width: 992px) {
  .menu-btn {
    display: block;
  }
  
  .navbar nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(10, 0, 31, 0.98);
    backdrop-filter: blur(10px);
    padding: 100px 30px 30px;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar nav.active {
    right: 0;
  }
  
  .navbar nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .navbar .api-btn {
    margin-top: 1.5rem;
    display: inline-block;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 2rem 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #0d0d2b 0%, #0a001f 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHdpZHRoPSIyMDAlIiBoZWlnaHQ9IjIwMCUiIGZpbGw9InJnYmEoMTM4LCA0MywgMjI2LCAwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(to right, #fff, #d1b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(138, 43, 226, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-buttons .btn.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.5);
  border: none;
}

.hero-buttons .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.7);
}

.hero-buttons .btn.secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  backdrop-filter: blur(5px);
}

.hero-buttons .btn.secondary:hover {
  background: rgba(179, 136, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
}

.hero-buttons .btn i {
  font-size: 1.2em;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  position: relative;
  background: linear-gradient(to bottom, #0a001f, #14002d);
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #d1b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(138, 43, 226, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.2);
  border-color: rgba(138, 43, 226, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
}


.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Botão de rolar para baixo */
.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 2rem;
  opacity: 0.8;
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.scroll-down:hover {
  color: var(--accent-color);
  opacity: 1;
}

.scroll-down i {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Seção CTA */
.cta-section {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(106, 13, 173, 0.1));
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #d1b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
}

.cta-button:hover::before {
  opacity: 1;
}

/* Rodapé */
.footer {
  background: linear-gradient(180deg, #0a001f 0%, #050011 100%);
  padding: 6rem 5% 2.5rem;
  position: relative;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
  text-align: center;
  overflow: hidden;
  margin-top: 5rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0;
  max-width: none;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand .logo {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  max-width: 600px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.6rem;
  border: 2px solid rgba(37, 211, 102, 0.2);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.05);
  color: white;
  background: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  border-color: transparent;
}

.social-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 2rem 5% 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Efeito de partículas no rodapé */
.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

/* Responsivo */
@media (max-width: 992px) {
  .navbar {
    padding: 1rem 5%;
  }
  
  .navbar .api-btn {
    margin-right: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 5rem 5% 2rem;
    margin-top: 3rem;
  }
  
  .footer-content {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }
  
  .footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }
  
  .footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .social-links a {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  
  .footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 1.5rem 0;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  
  .stat:not(:last-child)::after {
    display: none;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
  }
  
  .cta-section h3 {
    font-size: 1.8rem;
  }
}

/* Aparência do select para compatibilidade */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -o-appearance: none; /* Para Opera */
  -ms-appearance: none; /* Para Internet Explorer/Edge */
  background-image: none; /* Remove seta padrão no IE */
  text-indent: 0.01px; /* Remove seta padrão no Firefox */
  text-overflow: ''; /* Remove seta padrão no Firefox */
  /* Garante que o padding e a borda sejam incluídos na largura/altura */
  box-sizing: border-box;
  /* Remove a borda padrão do IE */
  border: 1px solid transparent;
  /* Remove o contorno ao focar */
  outline: none;
}

/* Features */
.features {
  padding: 4rem 2rem;
  background-color: #14002d;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #dfbfff;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #23004a;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #6400c8;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #a955ff;
}

.card h3 {
  font-size: 1.2rem;
  color: #f8f8ff;
}

/* Solicitação de Acesso */
.solicitar {
  background: #180038;
  padding: 4rem 2rem;
  text-align: center;
}

.solicitar h2 {
  font-size: 2rem;
  color: #dfbfff;
  margin-bottom: 1rem;
}

.solicitar p {
  margin-bottom: 1rem;
  color: #ccc;
}

.form-solicitacao {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 2rem auto;
  gap: 1rem;
}

.form-solicitacao input,
.form-solicitacao textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #1a0035;
  color: #fff;
  box-shadow: 0 0 5px #8a2be2;
}

.form-solicitacao button {
  background: #9f5fff;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px #9f5fff;
}

.form-solicitacao button:hover {
  background: #c185ff;
  box-shadow: 0 0 20px #c185ff;
}

/* Footer */
footer {
  background: #090016;
  padding: 1.5rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

.requests-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.requests-control button {
  background: #8f00ff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px #8f00ff;
  transition: background 0.3s;
}

.requests-control button:hover {
  background: #a335ff;
}

.requests-control input[type="number"] {
  width: 100px;
  text-align: center;
  font-size: 1.1rem;
  border-radius: 6px;
  border: none;
  background: #1a0035;
  color: white;
  box-shadow: 0 0 8px #8a2be2;
  -moz-appearance: textfield;
  appearance: textfield; /* Padrão */
}

.requests-control input[type=number]::-webkit-inner-spin-button, 
.requests-control input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0; 
}

/* Para garantir que o Firefox mostre corretamente os inputs numéricos */
.requests-control input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Estilos para a documentação */
.docs-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2rem;
}

.docs-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  background: rgba(10, 0, 31, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(138, 43, 226, 0.3);
  backdrop-filter: blur(10px);
}

.docs-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav li {
  margin-bottom: 0.5rem;
}

.docs-nav a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docs-nav a:hover,
.docs-nav a.active {
  background: rgba(138, 43, 226, 0.2);
  color: var(--accent-color);
}

.docs-nav a i {
  width: 20px;
  text-align: center;
}

.docs-content {
  flex: 1;
  background: rgba(10, 0, 31, 0.8);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(138, 43, 226, 0.3);
  backdrop-filter: blur(10px);
}

.docs-section {
  margin-bottom: 3rem;
}

.docs-section h2 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.docs-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.docs-section h3 {
  color: var(--text-light);
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}

.docs-section h4 {
  color: var(--text-light);
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.docs-section p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Estilos para as abas */
.docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 6px 6px 0 0;
  position: relative;
  margin-right: 0.25rem;
}

.tab-btn:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-light);
  background: rgba(138, 43, 226, 0.1);
}

.tab-btn.active {
  color: var(--accent-color);
  font-weight: 600;
}

.tab-btn.active:after {
  transform: scaleX(1);
}

.tab-content {
  position: relative;
  min-height: 300px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
  display: block;
}

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

/* Cards de recursos */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Endpoints e documentação */
.endpoint-category {
  background: rgba(10, 0, 31, 0.5);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.endpoint-category h3 {
  color: var(--accent-color);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.endpoint-category h3 i {
  font-size: 1.2em;
}

.endpoint {
  margin: 1.5rem 0;
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.endpoint-method {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.method-get {
  background-color: rgba(0, 184, 163, 0.1);
  color: #00b8a3;
}

.method-post {
  background-color: rgba(100, 108, 255, 0.1);
  color: #646cff;
}

.endpoint-path {
  font-family: 'Fira Code', monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Estilos para as abas de código */
.code-tabs {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tab-buttons {
  display: flex;
  background: #1a1a2e;
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 1rem 0;
}

.tab-button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  position: relative;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-button:hover {
  color: var(--text-light);
}

.tab-button.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.tab-panels {
  background: #0f0f1f;
}

.tab-panel {
  display: none;
  padding: 1.5rem;
  background: #0a0a15;
}

.tab-panel.active {
  display: block;
}

/* Estilos para os blocos de código */
.code-block {
  background: #0a0a15;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-left: 4px solid var(--accent-color);
}

.code-block pre {
  margin: 0;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Estilos para a seção de downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.download-card {
  background: rgba(10, 0, 31, 0.5);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.download-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  z-index: 1;
}

.download-card h3 {
  color: var(--text-light);
  margin: 0 0 1rem;
  font-size: 1.25rem;
  z-index: 1;
}

.download-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  z-index: 1;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
  z-index: 1;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* Efeito de brilho nos cards */
.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.download-card:hover::before {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 992px) {
  .docs-container {
    flex-direction: column;
  }
  
  .docs-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .docs-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  
  .endpoint-category {
    padding: 1.5rem;
  }
}

/* Melhorias de acessibilidade */
.tab-button:focus,
.tab-btn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Estilos para o highlight.js */
.hljs {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 0 8px 8px;
}

pre code.hljs {
  padding: 1.5rem !important;
  background: #0a0a15 !important;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estilos do Painel de Administração */
.admin-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.btn-danger {
  background: #ff4757;
  color: white;
}

.btn-danger:hover {
  background: #ff6b81;
  transform: translateY(-2px);
}

.btn-edit {
  background: #2ecc71;
  color: white;
}

.btn-edit:hover {
  background: #27ae60;
  transform: translateY(-2px);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(138, 43, 226, 0.3);
  transform: translateY(-2px);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.dataTables_wrapper {
  background: rgba(10, 0, 31, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(138, 43, 226, 0.3);
  backdrop-filter: blur(10px);
  margin-top: 1.5rem;
}

.dataTables_filter input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-left: 0.5rem;
}

.dataTables_length select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin: 0 0.5rem;
}

.dataTables_info, .dataTables_paginate a {
  color: var(--text-muted) !important;
}

.dataTables_paginate .paginate_button {
  color: white !important;
  border: 1px solid transparent !important;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  margin: 0 0.25rem;
  cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
  background: var(--gradient) !important;
  border-color: var(--accent-color) !important;
  color: white !important;
}

.dataTables_paginate .paginate_button:hover {
  background: rgba(138, 43, 226, 0.2) !important;
  border-color: var(--accent-color) !important;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #0a001f;
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(138, 43, 226, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--accent-color);
}

/* =================================
   Admin Panel Styles
   ================================= */

/* Layout Principal */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f5f7fa;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: #1a1a2e;
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: fixed;
  height: 100vh;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 20px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header .logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-header .gradient-text {
  background: linear-gradient(45deg, #8a2be2, #4b0082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-header .badge {
  background: linear-gradient(45deg, #8a2be2, #4b0082);
  color: white;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

.nav-section {
  margin-bottom: 20px;
}

.nav-header {
  padding: 0 15px 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 2px 10px;
  border-radius: 6px;
}

.nav-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-item.active {
  background: linear-gradient(45deg, #8a2be2, #4b0082);
  color: white;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-profile {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.user-info {
  flex: 1;
  min-width: 0;
}

.username {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.user-menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 10px;
  background: #2a2a42;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.user-profile:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 5px 0;
}

.text-danger {
  color: #ff6b6b !important;
}

.text-danger:hover {
  color: #ff5252 !important;
}

/* Admin Content */
.admin-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  background-color: #f5f7fa;
  transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #fff;
  border-bottom: 1px solid #e0e4e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar h1 i {
  color: #8a2be2;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box i {
  position: absolute;
  left: 12px;
  color: #95a5a6;
}

.search-box input {
  padding: 8px 15px 8px 40px;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  font-size: 0.9rem;
  width: 250px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #8a2be2;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 8px;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  position: relative;
  background: #f8f9fa;
  color: #7f8c8d;
}

.btn-icon:hover {
  background: #e9ecef;
  color: #2c3e50;
}

.btn-primary {
  background: linear-gradient(45deg, #8a2be2, #4b0082);
  color: white;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(138, 43, 226, 0.4);
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  border-radius: 10px;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Admin Container */
.admin-container {
  padding: 25px;
}

/* Stat Cards */
.header-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.stat-card i {
  font-size: 1.8rem;
  margin-right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-card:nth-child(1) i { background: linear-gradient(45deg, #8a2be2, #4b0082); }
.stat-card:nth-child(2) i { background: linear-gradient(45deg, #2ecc71, #27ae60); }
.stat-card:nth-child(3) i { background: linear-gradient(45deg, #f39c12, #e67e22); }
.stat-card:nth-child(4) i { background: linear-gradient(45deg, #e74c3c, #c0392b); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 2px;
}

/* Table Styles */
.table-responsive {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.dataTables_wrapper {
  padding: 20px;
}

table.dataTable {
  width: 100% !important;
  border-collapse: collapse;
}

table.dataTable thead th {
  background-color: #f8f9fa;
  color: #7f8c8d;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 15px;
  border-bottom: 2px solid #e9ecef;
  text-align: left;
}

table.dataTable tbody td {
  padding: 15px;
  border-bottom: 1px solid #f1f3f5;
  color: #2c3e50;
  vertical-align: middle;
}

table.dataTable tbody tr:last-child td {
  border-bottom: none;
}

table.dataTable tbody tr:hover {
  background-color: #f8f9fa;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background-color: #d4edda;
  color: #155724;
}

.badge-warning {
  background-color: #fff3cd;
  color: #856404;
}

.badge-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.badge-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

/* Action Buttons */
.btn-action {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #7f8c8d;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 2px;
}

.btn-action:hover {
  background: #e9ecef;
  color: #2c3e50;
}

.btn-edit {
  color: #3498db;
  border-color: rgba(52, 152, 219, 0.2);
}

.btn-edit:hover {
  background: rgba(52, 152, 219, 0.1);
}

.btn-delete {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.2);
}

.btn-delete:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  
  .admin-sidebar.active {
    transform: translateX(0);
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  .admin-content.active {
    margin-left: 260px;
  }
  
  .header-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }
  
  .top-bar-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .search-box {
    flex: 1;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .header-actions {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Dark scrollbar for sidebar */
.admin-sidebar::-webkit-scrollbar {
  width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Estilos para o dropdown do usuário */
.user-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.user-menu-btn:hover {
  background: rgba(138, 43, 226, 0.3);
  border-color: var(--primary-color);
}

.user-menu-btn i {
  font-size: 1.2rem;
}

.user-menu-btn .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.user-dropdown.active .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(20, 0, 40, 0.95);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
  margin-top: 0.5rem;
}

.user-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(138, 43, 226, 0.1);
  color: var(--accent-color);
}

.dropdown-menu a i {
  width: 20px;
  text-align: center;
}

/* Ajustes para o menu mobile */
@media (max-width: 992px) {
  .user-dropdown {
    margin-left: 0;
    width: 100%;
    margin-top: 1rem;
  }
  
  .user-menu-btn {
    width: 100%;
    justify-content: center;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  
  .user-dropdown.active .dropdown-menu {
    display: block;
  }
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--accent-color);
}

.modal-body {
  padding: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(138, 43, 226, 0.3);
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50rem;
}

.badge-success {
  background-color: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.badge-warning {
  background-color: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
}

.badge-danger {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.badge-info {
  background-color: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.badge-primary {
  background-color: rgba(138, 43, 226, 0.2);
  color: #8a2be2;
}

.badge-secondary {
  background-color: rgba(108, 117, 125, 0.2);
  color: #6c757d;
}

/* Tabela responsiva */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.dataTable {
  width: 100% !important;
  margin: 1rem 0;
  border-collapse: collapse;
}

table.dataTable thead th {
  background: rgba(138, 43, 226, 0.1);
  color: var(--accent-color);
  font-weight: 500;
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

table.dataTable tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

table.dataTable tbody tr:hover {
  background: rgba(138, 43, 226, 0.05);
}

/* Responsividade */
@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-actions {
    width: 100%;
    margin-top: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-content {
    margin: 1rem;
  }
  
  table.dataTable thead {
    display: none;
  }
  
  table.dataTable tbody td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  
  table.dataTable tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    width: 45%;
    text-align: left;
    font-weight: bold;
    color: var(--accent-color);
  }
  
  .action-buttons {
    justify-content: flex-end;
  }
}
