:root {
  --primary: #2e4ead;
  --primary-dark: #1a2e7d;
  --primary-light: #4369f7;
  --secondary: #6c63ff;
  --accent: #00c9a7;
  --dark: #172241;
  --light: #f8faff;
  --gray-100: #f3f6ff;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #10ca93;
  --warning: #ffbe0b;
  --danger: #ff5b64;
  --info: #2cc7ff;
}

/* Base e Reset */
body, html {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--light);
  color: var(--gray-800);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Utilitários */
.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent {
  color: #00e676;
  display: block;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.bg-gradient-alt {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: -60px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 99;
  opacity: 0;
}

.back-to-top.active {
  bottom: 20px;
  opacity: 1;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
}

/* Cookie Consent */
.cookie-consent-banner {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  background: rgba(23, 34, 65, 0.95);
  color: white;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.cookie-consent-banner.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.cookie-content a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 78, 173, 0.15);
}

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

.btn-secondary:hover {
  background: #5853dd;
  border-color: #5853dd;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(108, 99, 255, 0.15);
}

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

.btn-accent:hover {
  background: #00b090;
  border-color: #00b090;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 201, 167, 0.15);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 78, 173, 0.15);
}

.btn-outline-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}

.card-header h5 {
  margin-bottom: 0;
  font-weight: 700;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  background-color: transparent;
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar-brand img {
  height: 55px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
  color: white;
}

.navbar-dark {
  background: transparent;
}

.navbar-scrolled {
  background: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 0.7rem 0;
}

/* Hero Section Modernizado */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%);
  color: white;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Formas abstratas de fundo */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: 20%;
}

.shape-3 {
  width: 400px;
  height: 400px;
  top: 20%;
  left: -200px;
  opacity: 0.05;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  max-width: 550px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-visuals {
  position: relative;
}

.hero-dashboard {
  position: relative;
  margin-top: 20px;
  z-index: 2;
}

.hero-dashboard img {
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) rotate(1deg);
  transition: all 0.5s ease;
}

.hero-dashboard:hover img {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) rotate(0deg);
}

.floating-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  max-width: 260px;
}

.floating-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.floating-badge-1 {
  top: 15%;
  left: -20px;
}

.floating-badge-2 {
  bottom: 20%;
  right: -20px;
}

.floating-badge-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(57, 73, 171, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #3949ab;
  margin-right: 16px;
}

.floating-badge-content {
  flex: 1;
}

.floating-badge-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #172241;
}

.floating-badge-content p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: #6c757d;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2.5rem;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: white;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.service-card .bi-whatsapp { color: #25D366; }
.service-card .bi-telegram { color: #0088cc; }
.service-card .bi-google { color: #DB4437; }
.service-card .bi-facebook { color: #4267B2; }
.service-card .bi-instagram { color: #E1306C; }
.service-card .bi-twitter { color: #1DA1F2; }

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background-color: var(--gray-100);
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author h5 {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.testimonial-body p {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: var(--warning);
}

/* How It Works Section */
.process-line {
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--primary);
  opacity: 0.2;
}

/* Pricing */
.pricing {
  padding: 6rem 0;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.pricing-card.featured h2, 
.pricing-card.featured h4, 
.pricing-card.featured h5 {
  color: white;
}

.pricing-card .pricing-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.pricing-card.featured .pricing-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pricing-card h4 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.pricing-card ul li i {
  margin-right: 0.5rem;
  color: var(--success);
}

.pricing-card.featured ul li i {
  color: white;
}

.pricing-card .btn {
  width: 100%;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 5rem 0 2rem;
}

.footer h5 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-about img {
  max-width: 180px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-social {
  margin-top: 2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
}

/* Payment Methods in Footer */
.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.payment-icon {
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-icon:hover {
  opacity: 1;
}

/* Auth Pages */
.auth-container {
width: 100vw;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
min-height: 100vh;
padding: 0;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
display: flex;
align-items: center;
justify-content: center;
}

/* Ajustar o tamanho da logo no card de autenticação */
.auth-card .card-header img.logo {
max-height: 45px;
width: auto;
margin-bottom: 1rem;
}

/* Garantir que o card não tenha margens verticais enormes */
.auth-card {
margin-top: 2rem;
margin-bottom: 2rem;
}

.auth-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.auth-header img {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.auth-header h4 {
  margin-bottom: 0;
  font-weight: 700;
}

.auth-body {
  padding: 2rem;
}

.auth-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

/* Dashboard */
.dashboard-container {
  display: flex;
}

.sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: var(--dark);
  padding: 1rem;
  transition: all 0.3s ease;
  z-index: 1000;
}

.sidebar-logo {
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo img {
  max-width: 160px;
}

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

.sidebar-nav li {
  margin-bottom: 0.25rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--gray-400);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-nav a i {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.sidebar-nav a:hover, 
.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-user {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.user-details h6 {
  margin-bottom: 0.25rem;
  color: white;
  font-size: 0.875rem;
}

.user-details p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 0.75rem;
}

.user-balance {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 1rem;
}

.balance-label {
  font-size: 0.75rem;
  opacity: 0.7;
}

.balance-value {
  font-weight: 700;
}

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

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  transition: all 0.3s ease;
}

/* Dashboard Footer */
.dashboard-footer {
  margin-left: 260px;
  background: white;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
}

.dashboard-footer a {
  color: var(--primary);
  text-decoration: none;
}

.dashboard-footer a:hover {
  text-decoration: underline;
}

/* Dashboard Page Header */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-description {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Dashboard Stats */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.75rem;
}

.stat-icon.primary {
  background: rgba(46, 78, 173, 0.1);
  color: var(--primary);
}

.stat-icon.success {
  background: rgba(16, 202, 147, 0.1);
  color: var(--success);
}

.stat-icon.warning {
  background: rgba(255, 190, 11, 0.1);
  color: var(--warning);
}

.stat-icon.danger {
  background: rgba(255, 91, 100, 0.1);
  color: var(--danger);
}

.stat-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stat-content p {
  margin-bottom: 0;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* DataTables customization */
.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 1rem;
}

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

table.dataTable thead th {
  border-bottom: 2px solid var(--gray-200);
  font-weight: 600;
}

table.dataTable tbody td {
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem;
  vertical-align: middle;
}

.dataTables_info,
.dataTables_paginate {
  margin-top: 1rem;
}

/* Phone number box styles */
.phone-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.phone-box .phone-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.phone-box .status-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.phone-box .status-label.waiting {
  background: rgba(255, 190, 11, 0.1);
  color: var(--warning);
}

.phone-box .status-label.active {
  background: rgba(16, 202, 147, 0.1);
  color: var(--success);
}

.phone-box .status-label.completed {
  background: rgba(46, 78, 173, 0.1);
  color: var(--primary);
}

.phone-box .status-label.failed {
  background: rgba(255, 91, 100, 0.1);
  color: var(--danger);
}

.phone-box .sms-code {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.phone-box .sms-code h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--gray-600);
}

.phone-box .sms-code p {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0;
  letter-spacing: 2px;
}

.phone-box .timer {
  margin-bottom: 1.5rem;
}

.phone-box .timer h5 {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.phone-box .timer p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 0;
}

/* Main container adjustments for dashboard */
.main-container {
  min-height: calc(100vh - 220px);
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Sidebar divider */
.sidebar-divider {
  padding: 1rem 1rem 0.5rem;
  color: var(--gray-500);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.25rem;
  }
  
  .floating-badge-1 {
    left: 0;
  }
  
  .floating-badge-2 {
    right: 0;
  }
}

@media (max-width: 992px) {
  .navbar-brand img {
    height: 55px;
  }
  
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .dashboard-footer {
    margin-left: 0;
  }
  
  .process-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta h2 {
    font-size: 1.75rem;
  }
  
  .floating-badge {
    max-width: 200px;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.alert-container {
  position: fixed;
  top: 70px; /* Ajuste conforme a altura do seu header */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  z-index: 1050; /* Valor alto para garantir que fique acima de outros elementos */
  pointer-events: none; /* Permite clicar em elementos abaixo */
}

/* Garantir que os botões dentro dos alertas possam ser clicados */
.alert-container .alert button {
  pointer-events: auto;
}

/* Estilização adicional para alertas flutuantes */
.alert-container .alert {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  pointer-events: auto; /* Permite interagir com o alerta */
  margin-bottom: 10px;
}

/* Garantir que o menu mobile tenha fundo quando aberto */
.navbar-collapse.show,
.navbar-collapse.collapsing {
background-color: var(--primary);
padding: 1rem;
border-radius: 0 0 10px 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ajustar espaçamento dos itens no menu mobile */
.navbar-collapse.show .navbar-nav,
.navbar-collapse.collapsing .navbar-nav {
padding: 0.5rem 0;
}

/* Garantir que os itens de menu sejam visíveis */
.navbar-collapse.show .nav-link,
.navbar-collapse.collapsing .nav-link {
color: white !important;
padding: 0.75rem 1rem;
border-radius: 8px;
}

/* Destacar item ativo ou em hover */
.navbar-collapse.show .nav-link:hover,
.navbar-collapse.show .nav-link.active,
.navbar-collapse.collapsing .nav-link:hover,
.navbar-collapse.collapsing .nav-link.active {
background: rgba(255, 255, 255, 0.1);
}

/* Responsividade e correções para dashboard mobile */
@media (max-width: 992px) {
.main-content {
  margin-left: 0 !important;
  padding-top: 65px !important; /* Espaço para o navbar mobile */
}

.dashboard-footer {
  margin-left: 0 !important;
}

.sidebar {
  z-index: 1050 !important; /* Garantir que fique acima de outros elementos */
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.active {
  transform: translateX(0);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Overlay para quando o sidebar estiver ativo */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.sidebar-overlay.active {
  display: block;
}

/* Garantir que a navbar mobile tenha um fundo sólido */
.navbar.navbar-dark.d-lg-none {
  background-color: var(--primary) !important;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ajustes de espaçamento para a página */
.page-header {
  margin-top: 1rem;
}

/* Cards responsivos em mobile */
.card {
  margin-bottom: 1rem;
}

/* Tabelas responsivas */
.table-responsive {
  border: 0;
}
}

/* Para dispositivos muito pequenos */
@media (max-width: 576px) {
.container, .container-fluid {
  padding-left: 10px;
  padding-right: 10px;
}

.main-content {
  padding: 65px 10px 20px !important;
}

.page-title {
  font-size: 1.5rem;
}

.page-header {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

/* Ajustar tamanho das estatísticas */
.stat-card {
  padding: 1rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
}

.stat-content h3 {
  font-size: 1.25rem;
}
}

/* Dropdown submenu no sidebar */
.sidebar-dropdown > a {
position: relative;
}

.sidebar-dropdown > a .dropdown-icon {
position: absolute;
right: 15px;
transition: transform 0.3s ease;
}

.sidebar-dropdown > a[aria-expanded="true"] .dropdown-icon {
transform: rotate(180deg);
}

.sidebar-submenu {
padding-left: 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.sidebar-submenu.show {
max-height: 500px;
}

.sidebar-submenu ul {
list-style: none;
padding: 0;
margin: 0;
}

.sidebar-submenu li a {
padding: 0.5rem 1rem 0.5rem 2.5rem;
font-size: 0.9rem;
}

/* Ajustes globais para responsividade mobile */
@media (max-width: 768px) {
  /* Garantir que todos os containers são responsivos */
  .container, .container-fluid, .row, .col, [class^="col-"] {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Evitar quebra de layout e scroll horizontal */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .main-content {
    padding: 65px 10px 20px !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Ajustar tabelas para não quebrarem layout */
  .table-responsive {
    overflow-x: auto;
    display: block;
    width: 100%;
  }
  
  /* Ajustar cards para não transbordarem */
  .card {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
  
  /* Ajustar imagens para serem responsivas */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Forçar elementos a respeitarem o limite da tela */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  /* Ajustar margens e paddings gerais */
  .dashboard-container,
  .page-header,
  .card-body,
  .stat-card,
  .table,
  .form-control,
  .btn-group,
  .page-title,
  .page-description {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* Quebrar palavras muito longas */
  .card-body, .page-description, p, .table td, .table th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    
  }
  
  /* Dimensionar botões para melhor exibição */
  .btn {
    white-space: normal;
  }
  
  /* Ajustar elementos específicos da interface de dashboard */
  .stat-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .stat-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Ajustes específicos para dispositivos muito pequenos */
@media (max-width: 375px) {
  .main-content {
    padding: 65px 5px 15px !important;
  }
  
  .container, .container-fluid {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
  
  /* Tamanho de texto responsivo */
  .page-title {
    font-size: 1.5rem !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3 {
    font-size: 1.2rem !important;
  }
}