* Importação da fonte */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

body * {
  box-sizing: border-box;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal h2 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.modal .close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.modal .close:hover {
  color: var(--text-primary);
}

.modal .form-group {
  margin-bottom: 1.5rem;
}
.login-form .form-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.modal .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal .buttons-group {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Variáveis de tema */
:root {
  /* Tema Claro */
  --bg-color: #f5f7fa; /* Fundo principal */
  --text-color: #2e3a46; /* Texto principal */
  --card-bg: #ffffff; /* Fundo dos cards e áreas */
  --card-border: #e0e6ed; /* Borda de elementos */
  --input-bg: #f9fafc; /* Fundo de inputs */
  --input-border: #d1d9e6; /* Borda de inputs */
  --primary: #4caf93; /* Cor de destaque */
  --primary-dark: #3a8a6e; /* Cor de destaque no hover */
  --danger: #f04e4e; /* Vermelho para mensagens de erro */
  --danger-bg: #ffe6e6; /* Fundo para alertas */
}

[data-theme="dark"] {
  /* Tema Escuro */
  --bg-color: #1e272e;
  --text-color: #dcdde1;
  --card-bg: #2f3640;
  --card-border: #404553;
  --input-bg: #353b48;
  --input-border: #48506d;
  --primary: #27ae60;
  --primary-dark: #1e8449;
  --danger: #e74c3c;
  --danger-bg: #3b2828;
}

/* Layout geral */
.container {
  display: flex;
  min-height: 100vh;
}

/* Status Indicador */
.status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.status-indicator i {
  font-size: 12px;
  color: #ccc;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.status-indicator.online i {
  color: #28a745;
  opacity: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.status-indicator.offline i {
  color: #95a5a6;
  opacity: 0.5;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* Tabelas */
.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.9rem;
}

.table td span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.table td .status-indicator {
  margin-right: 0.5rem;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background-color: var(--card-bg);
  border-right: 1px solid var(--card-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.sidebar-links a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.sidebar-links i {
  font-size: 20px;
}

.user-name {
  margin-top: auto;
  text-align: center;
}

.user-name a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
}

.user-name .sair a {
  margin-top: 10px;
  color: var(--danger);
}

/* Alertas */
.alert {
  padding: 1rem;
  margin: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.alert-success {
  background-color: var(--success-color-light);
  color: var(--success-color-dark);
  border: 1px solid var(--success-color);
}

.alert-danger {
  background-color: var(--danger-color-light);
  color: var(--danger-color-dark);
  border: 1px solid var(--danger-color);
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 1rem;
    position: relative;
}

.login-box {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--text-primary);
}


.btn-login {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    border-color: var(--primary);
    color: var(--primary);
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Responsividade */
@media (max-width: 480px) {
    .login-box {
        padding: 1.5rem;
    }

    .logo-image {
        height: 32px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }
}
.main-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.left-login, .right-login {
  width: 50%;
}

.left-login {
  text-align: center;
  padding: 30px;
}

.left-login h1 {
  font-size: 2.2rem;
  color: var(--text-color);
}

.left-login img {
  width: 75%;
  max-width: 320px;
  margin-top: 20px;
}

.right-login {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-login {
  width: 100%;
  max-width: 400px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
}

.textfield {
  margin-bottom: 15px;
}

.textfield label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 6px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--input-bg);
  background-clip: padding-box;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
  background-color: var(--primary-dark);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.alert-danger {
  background-color: var(--danger-bg);
  color: var(--danger);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Filtro */
.filtro {
  flex: 1;
  padding: 20px;
}

.filtro header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filtro header h1 {
  font-size: 1.8rem;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.input-wrapper input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 2px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  outline: none;
}

.input-wrapper i {
  color: var(--text-color);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
}

.cards li {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cards li:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.cards .header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cards h2 {
  font-size: 1.2rem;
  color: var(--text-color);
}

.cards a {
  display: inline-block;
  padding: 12px 16px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.cards a:hover {
  background-color: var(--primary-dark);
}

/* Responsivo */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-login {
    flex-direction: column;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

    :root {
      --bg-color: #0f172a;
      --text-color: #f8fafc;
      --card-bg: #1e293b;
      --card-border: #334155;
      --input-bg: #1e293b;
      --input-border: #334155;
      --primary: #06b6d4;
      --primary-hover: #0891b2;
      --danger: #ef4444;
      --warning: #f59e0b;
      --info: #64748b;
      --accent: #8b5cf6;
      --header-bg: #0f172a;
      --gradient-1: #06b6d4;
      --gradient-2: #8b5cf6;
      --gradient-3: #f59e0b;
    }

    [data-theme="dark"] {
      --bg-color: #020617;
      --text-color: #f1f5f9;
      --card-bg: #0f172a;
      --card-border: #1e293b;
      --input-bg: #0f172a;
      --input-border: #1e293b;
      --primary: #22d3ee;
      --primary-hover: #06b6d4;
      --danger: #f87171;
      --warning: #fbbf24;
      --info: #94a3b8;
      --accent: #a78bfa;
      --header-bg: #020617;
      --gradient-1: #22d3ee;
      --gradient-2: #a78bfa;
      --gradient-3: #fbbf24;
    }

    html {
      scroll-behavior: smooth;
    }
    
    * {
      font-family: 'Poppins', sans-serif;
      box-sizing: border-box;
    }
    
    h1, h2, h3, h4, h5, h6, .nome-site span {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 600;
      letter-spacing: -0.02em;

    }
    .logo1 {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    body {
      color: var(--text-color);
      margin: 0;
      padding: 0;
      min-height: 100vh;
      overflow-x: hidden;
      transition: background-color 0.3s, color 0.3s;
      background-color: var(--bg-color);
      background-image: 
        radial-gradient(at 10% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.15) 0px, transparent 50%);
      background-attachment: fixed;
      position: relative;
    }
    
    body::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="currentColor" fill-opacity="0.03" fill-rule="evenodd"/%3E%3C/svg%3E');
      pointer-events: none;
      z-index: 0;
    }

    .container {
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 2rem;
      margin-top: 90px; /* Compensar o header fixo */
      position: relative;
      z-index: 1;
    }

    /* Conteúdo Principal */
    .content {
      width: 100%;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding: 1.5rem;
      background-color: rgba(30, 41, 59, 0.5);
      border-radius: 1rem;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(51, 65, 85, 0.5);
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    
    header:hover {
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      transform: translateY(-2px);
    }
    
    header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
    }

    header h1 {
      font-size: 1.8rem;
      margin: 0;
      position: relative;
      display: inline-block;
      font-weight: 700;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.02em;
    }
    
    header h1::after {
      content: '';
      position: absolute;
      bottom: -0.5rem;
      left: 0;
      width: 3rem;
      height: 0.25rem;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 0.25rem;
      transition: all 0.3s ease;
      opacity: 0.7;
    }
    
    header:hover h1::after {
      width: 5rem;
      opacity: 1;
    }
    .logo1 {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .nome-site {
      background-color: rgba(30, 41, 59, 0.3);
      padding: 0.75rem 1.25rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 500;
      border: 1px solid rgba(51, 65, 85, 0.5);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }
    
    .nome-site::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0));
      transition: all 0.6s ease;
    }
    
    .nome-site:hover::before {
      left: 100%;
    }
    
    .nome-site:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      border-color: rgba(6, 182, 212, 0.5);
    }
    
    .nome-site i {
      color: var(--primary);
      font-size: 1.1rem;
    }
    
    .user-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      background-color: rgba(30, 41, 59, 0.3);
      padding: 0.75rem 1.25rem;
      border-radius: 0.75rem;
      border: 1px solid rgba(51, 65, 85, 0.5);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }
    
    .user-info::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05), rgba(255, 255, 255, 0));
      transition: all 0.6s ease;
    }
    
    .user-info:hover::before {
      left: 100%;
    }
    
    .user-info:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      border-color: rgba(139, 92, 246, 0.5);
    }
    
    .user-avatar {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--accent);
      transition: all 0.3s ease;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .user-info:hover .user-avatar {
      border-color: var(--primary);
      transform: scale(1.05);
    }
    
    .user-details {
      display: flex;
      flex-direction: column;
    }
    
    .user-name {
      font-weight: 600;
      font-size: 0.95rem;
      background: linear-gradient(90deg, var(--accent), var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      transition: all 0.3s ease;
      letter-spacing: 0.01em;
    }
    
    .user-info:hover .user-name {
      opacity: 0.9;
      letter-spacing: 0.02em;
    }
    
    .user-badge {
      display: inline-block;
      padding: 0.15rem 0.5rem;
      background-color: rgba(6, 182, 212, 0.15);
      color: var(--primary);
      border-radius: 0.25rem;
      font-size: 0.7rem;
      font-weight: 500;
      margin-top: 0.25rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      border: 1px solid rgba(6, 182, 212, 0.2);
      letter-spacing: 0.02em;
    }
    
    .user-info:hover .user-badge {
      background-color: rgba(6, 182, 212, 0.25);
      transform: translateY(-1px);
    }
    
    .admin-badge {
      background-color: rgba(139, 92, 246, 0.15);
      color: var(--accent);
      border: 1px solid rgba(139, 92, 246, 0.2);
      position: relative;
      overflow: hidden;
    }
    
    .admin-badge::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0));
      transition: all 0.6s ease;
    }
    
    .admin-badge:hover::before {
      left: 100%;
    }
    
    .user-info:hover .admin-badge {
      background-color: rgba(139, 92, 246, 0.25);
      transform: translateY(-1px);
    }
    
    .user-credits {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.75rem;
      color: var(--info);
      margin-top: 0.25rem;
      transition: all 0.3s ease;
      letter-spacing: 0.01em;
    }
    
    .user-info:hover .user-credits {
      color: var(--primary);
      letter-spacing: 0.02em;
    }

    .action-buttons {
      display: flex;
      gap: 10px;
    }
    
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.6rem 1.25rem;
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 0.5rem;
      cursor: pointer;
      font-size: 0.875rem;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
      position: relative;
      overflow: hidden;
      letter-spacing: 0.01em;
    }
    
    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
      transition: all 0.6s ease;
    }
    
    .btn:hover::before {
      left: 100%;
    }

    .btn:hover {
      background-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
      letter-spacing: 0.02em;
    }
    
    .btn-info {
      background-color: var(--info);
      box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25);
    }
    
    .btn-info:hover {
      background-color: var(--primary);
      box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
    }
    
    .btn-danger {
      background-color: var(--danger);
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    }
    
    .btn-danger:hover {
      background-color: #dc2626;
      box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    }
    
    .theme-toggle {
      position: fixed;
      top: 100px;
      right: 20px;
      background-color: var(--card-bg);
      color: var(--text-color);
      border: 2px solid var(--primary);
      border-radius: 50%;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      overflow: hidden;
    }

    .theme-toggle i {
      font-size: 1.2rem;
      transition: transform 0.5s ease;
    }

    .theme-toggle:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
      border-color: var(--accent);
    }

    .theme-toggle:hover i {
      transform: rotate(360deg);
    }

    .logo-image {
      height: 40px;
      width: auto;
      margin-right: 1rem;
    }

    /* Conteúdo Principal */
    .content {
      width: 100%;
    }

    /* Projetos Cards */
    .cards {
      list-style: none;
      padding: 0;
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .project-card {
      animation: fadeIn 0.6s ease forwards;
      opacity: 0;
    }
    
    .project-card:nth-child(1) { animation-delay: 0.1s; }
    .project-card:nth-child(2) { animation-delay: 0.2s; }
    .project-card:nth-child(3) { animation-delay: 0.3s; }
    .project-card:nth-child(4) { animation-delay: 0.4s; }
    .project-card:nth-child(5) { animation-delay: 0.5s; }

    .cards li {
      background-color: rgba(30, 41, 59, 0.4);
      border-radius: 1rem;
      padding: 1.5rem;
      display: flex;
      align-items: flex-start;
      gap: 1.25rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(51, 65, 85, 0.5);
      flex: 1 1 320px;
      min-width: 320px;
      max-width: 450px;
      height: auto;
      cursor: pointer;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }

    .cards li:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      border-color: rgba(6, 182, 212, 0.5);
      background-color: rgba(30, 41, 59, 0.6);
      position: relative;
      z-index: 2;
    }
    
    .cards li:hover::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
      z-index: 1;
      border-radius: 1rem;
    }
    


    .card-image {
      flex-shrink: 0;
      width: 5rem;
      height: 5rem;
      object-fit: cover;
      border-radius: 0.75rem;
      border: 1px solid rgba(51, 65, 85, 0.5);
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .cards li:hover .card-image {
      border-color: rgba(6, 182, 212, 0.5);
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .card-content {
      flex: 1;
    }

    .card-content h2 {
      font-size: 1.25rem;
      background: linear-gradient(90deg, var(--warning), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.75rem;
      font-weight: 600;
      position: relative;
      padding-bottom: 0.75rem;
      letter-spacing: -0.01em;
    }
    
    .card-content h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 2.5rem;
      height: 2px;
      background: linear-gradient(90deg, var(--warning), var(--accent));
      border-radius: 2px;
      transition: all 0.3s ease;
      opacity: 0.7;
    }
    
    .cards li:hover .card-content h2 {
      background: linear-gradient(90deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .cards li:hover .card-content h2::after {
      background: linear-gradient(90deg, var(--primary), var(--accent));
      width: 4rem;
      opacity: 1;
    }

    .card-content p {
      font-size: 0.875rem;
      color: var(--info);
      line-height: 1.7;
      margin: 0.75rem 0;
      opacity: 0.85;
      transition: all 0.3s ease;
      font-weight: 300;
    }
    
    .cards li:hover .card-content p {
      opacity: 1;
      color: var(--text-color);
    }

    .card-content a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background-color: rgba(6, 182, 212, 0.15);
      color: var(--primary);
      border-radius: 0.5rem;
      font-size: 0.875rem;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
      margin-top: 1rem;
      border: 1px solid rgba(6, 182, 212, 0.2);
      letter-spacing: 0.01em;
    }
    
    .card-content a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
      transition: all 0.6s ease;
    }
    
    .card-content a:hover::before {
      left: 100%;
    }
    
    .card-content a::after {
      content: '\f061';
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      font-size: 0.8rem;
      margin-left: 5px;
    }

    .card-content a:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(6, 182, 212, 0.2);
      background-color: rgba(6, 182, 212, 0.25);
      color: var(--accent);
      border-color: rgba(139, 92, 246, 0.3);
      letter-spacing: 0.02em;
    }
    
    .card-content a:hover::after {
      transform: translateX(3px);
    }
    
    /* Filtro */
    .filter-section {
      background-color: rgba(30, 41, 59, 0.4);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(51, 65, 85, 0.5);
      transition: all 0.3s ease;
    }
    
    .filter-section:hover {
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      transform: translateY(-2px);
    }
    
    .filter-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
    }
    
    .filter-section h2 {
      font-size: 1.5rem;
      margin-top: 0;
      margin-bottom: 1rem;
      background: linear-gradient(90deg, var(--warning), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 600;
      position: relative;
      display: inline-block;
      padding-bottom: 0.75rem;
      letter-spacing: -0.01em;
    }
    
    .filter-section h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 3rem;
      height: 2px;
      background: linear-gradient(90deg, var(--warning), var(--accent));
      border-radius: 2px;
      transition: all 0.3s ease;
      opacity: 0.7;
    }
    
    .filter-section:hover h2::after {
      width: 4rem;
      opacity: 1;
    }
    
    .filter-options {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }
    
    .filter-option {
      background-color: rgba(30, 41, 59, 0.3);
      border: 1px solid rgba(51, 65, 85, 0.5);
      border-radius: 0.5rem;
      padding: 0.5rem 1rem;
      cursor: pointer;
      font-size: 0.875rem;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      color: var(--info);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      font-weight: 400;
    }
    
    .filter-option:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
      border-color: rgba(6, 182, 212, 0.5);
      color: var(--primary);
      background-color: rgba(30, 41, 59, 0.5);
    }
    
    .filter-option.active {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
      color: var(--accent);
      border-color: rgba(139, 92, 246, 0.5);
      box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
      font-weight: 500;
    }
    
    .filter-option::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
      transition: all 0.6s ease;
    }
    
    .filter-option:hover::before {
      left: 100%;
    }
    
    /* Navegação Superior */
    .top-nav {
      background-color: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      height: 4.5rem;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
      overflow: visible;
      box-sizing: border-box;
      border-bottom: 1px solid rgba(51, 65, 85, 0.5);
      transition: all 0.3s ease;
    }
    
    .top-nav::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(6, 182, 212, 0.9), 
        rgba(139, 92, 246, 0.9), 
        rgba(245, 158, 11, 0.9));
      background-size: 200% 200%;
      animation: gradient-animation 6s ease infinite;
      z-index: 2;
      opacity: 0.8;
    }
    
    @keyframes gradient-animation {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    
    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 2rem;
      height: 100%;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .user-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary);
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding-right: 0.75rem;
      color: var(--text-color);
      font-size: 0.85rem;
      font-weight: 500;
    }

    .user-name {
      color: var(--text-color);
    }

    .text-primary {
      color: var(--primary);
    }

    .text-accent {
      color: var(--accent);
    }

    .user-info i {
      font-size: 0.85rem;
      opacity: 0.9;
    }

    .logo {
      display: flex;
      align-items: center;
      height: 100%;
      position: relative;
      padding: 0 0.5rem;
    }
    
    .nome-site span {
      font-size: 1.75rem;
      font-weight: 700;
      background: linear-gradient(90deg, 
        rgba(6, 182, 212, 1), 
        rgba(139, 92, 246, 0.9));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      position: relative;
      letter-spacing: -0.02em;
      font-family: 'Space Grotesk', sans-serif;
    }
    
    .nome-site::after {
      content: '';
      position: absolute;
      bottom: 0.4rem;
      left: 0.5rem;
      width: calc(100% - 1rem);
      height: 0.25rem;
      background: linear-gradient(90deg, 
        rgba(6, 182, 212, 0.7), 
        rgba(139, 92, 246, 0.7));
      border-radius: 1rem;
      opacity: 0.5;
      transform: scaleX(0.7);
      transform-origin: left;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nome-site:hover::after {
      transform: scaleX(1);
      opacity: 0.8;
      background: linear-gradient(90deg, 
        rgba(6, 182, 212, 0.9), 
        rgba(139, 92, 246, 0.9));
    }
    
    .nav-links {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      height: 100%;
    }
    
    .nav-links a {
      text-decoration: none;
      color: var(--info);
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      position: relative;
      letter-spacing: 0.01em;
      border: 1px solid transparent;
    }
    
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -0.25rem;
      left: 0.5rem;
      width: calc(100% - 1rem);
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(6, 182, 212, 0.7), 
        rgba(139, 92, 246, 0.7));
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      border-radius: 2px;
      opacity: 0;
    }
    
    .nav-links a:hover::after,
    .nav-links a.active::after {
      transform: scaleX(1);
      transform-origin: left;
      opacity: 1;
    }
    
    .nav-links a:hover {
      color: var(--primary);
      background-color: rgba(6, 182, 212, 0.1);
      border-color: rgba(6, 182, 212, 0.2);
    }
    
    .nav-links a.active {
      color: var(--accent);
      font-weight: 600;
      background-color: rgba(139, 92, 246, 0.1);
      border-color: rgba(139, 92, 246, 0.2);
    }
    
    /* Responsividade */
    @media (max-width: 768px) {
      .top-nav {
        height: auto;
        padding: 0.75rem 0;
      }
      
      .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 1.5rem;
      }
      
      .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        height: auto;
        gap: 0.5rem;
      }
      
      .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
      }

      .logo::after {
        bottom: 0.5rem;
      }

      .cards {
        grid-template-columns: 1fr;
      }
      
      .cards li {
        max-width: 100%;
        min-width: 100%;
      }
      
      .filter-section {
        padding: 1.25rem;
      }
      
      .filter-options {
        justify-content: center;
        gap: 0.5rem;
      }
      
      .theme-toggle {
        top: 150px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
      }
    }
    
    @media (max-width: 480px) {
      .user-info, .nome-site {
        width: 100%;
        justify-content: center;
      }
      
      header h1 {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
      }
      
      header h1::after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .filter-option {
        font-size: 0.8rem;
        padding: 6px 12px;
      }
      
      .card-image {
        width: 60px;
        height: 60px;
      }
    }
    
    /* Botão Voltar ao Topo */
    .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background-color: var(--warning);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 999;
    }
    
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }
    
    .back-to-top:hover {
      background-color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
  </style>
  <style>
    /* Animação de Carregamento */
    .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #1e1e38;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease;
    }
    
    .preloader.fade-out {
      opacity: 0;
      pointer-events: none;
    }
    
    .loader {
      width: 50px;
      height: 50px;
      border: 3px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      border-top-color: var(--warning);
      animation: spin 1s ease-in-out infinite;
      position: relative;
    }
    
    .loader::before {
      content: '';
      position: absolute;
      top: -3px;
      left: -3px;
      right: -3px;
      bottom: -3px;
      border: 3px solid transparent;
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.5s linear infinite reverse;
      opacity: 0.6;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
  