/* Variáveis CSS para temas */
:root {
  --primary-color: #4a6cf7;
  --primary-hover: #3a5ce5;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-sidebar: #f0f2f5;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-modal: #ffffff;
  
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-light: #ffffff;
  --text-muted: #919191;
  
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-color-hover: rgba(0, 0, 0, 0.15);
  
  --border-radius: 6px;
  --transition-speed: 0.3s;
}

/* Tema escuro */
[data-theme="dark"] {
  --primary-color: #4d70ff;
  --primary-hover: #5d7fff;
  --secondary-color: #8c8c8c;
  
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-sidebar: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-input: #2d2d2d;
  --bg-modal: #2d2d2d;
  
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-light: #e0e0e0;
  --text-muted: #8c8c8c;
  
  --border-color: #444444;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --shadow-color-hover: rgba(0, 0, 0, 0.4);
}

/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* Container principal */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--bg-primary);
  box-shadow: 0 2px 10px var(--shadow-color);
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center
}

.logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo-g10 {
filter: brightness(0) drop-shadow(0px 0px 15px #A28000) invert(100%) saturate(130%);}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

#catalog-title {
  color:#FFF;
filter: drop-shadow(0px 0px 15px #5D7FFF);
margin-bottom: 10px;
}

/* User Info */
.user-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

#user-name {
  font-weight: 500;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  display: none;
  z-index: 100;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  transition: background-color var(--transition-speed);
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
  text-decoration: none;
}

/* Seletor de tema */
.theme-selector {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: var(--bg-sidebar);
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 5px;
  transition: background-color var(--transition-speed);
}

.theme-selector .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.theme-selector .icon.sun i {
  color: #ffc107;
}

.theme-selector .icon.moon i {
  color: #adb5bd;
}

.theme-selector .toggle {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 3px;
  transition: transform var(--transition-speed);
}

[data-theme="light"] .theme-selector .toggle {
  transform: translateX(0);
}

[data-theme="dark"] .theme-selector .toggle {
  transform: translateX(30px);
}

/* Main Content */
.main-content {
  display: flex;
  flex: 1;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow-y: auto;
  transition: width var(--transition-speed);
}

.sidebar-header {
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.sidebar-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sidebar ul {
  padding: 0;
  margin: 0;
}

.sidebar li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.sidebar li:hover {
  background-color: rgba(74, 108, 247, 0.1);
}

.sidebar li.active {
  background-color: rgba(74, 108, 247, 0.2);
  position: relative;
}

.sidebar li.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--primary-color);
}

.area-name {
  font-weight: 500;
}

.area-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  transition: margin-right var(--transition-speed);
}

.content-area.details-open {
  margin-right: 40%;
}

/* Área header */
.area-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.area-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.area-responsaveis {
  color: var(--text-secondary);
}

/* Stats cards */
.stats-cards {
  display: flex;
  gap: 1rem;
}

.stat-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  min-width: 180px;
  transition: all var(--transition-speed);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--shadow-color-hover);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.progress-container {
  height: 6px;
  background-color: var(--bg-secondary);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  width: 0;
  transition: width 1s ease-in-out;
}

.progress-bar.updating {
  animation: pulse 1s;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Dashboard stats */
.dashboard-stats {
  margin-top: 2rem;
}

.stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-stats .stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 220px;
}

.dashboard-stats .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(74, 108, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Sistemas Grid */
.sistemas-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sistema-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--shadow-color);
  overflow: hidden;
  transition: all var(--transition-speed);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.sistema-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color-hover);
}

.card-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.card-actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--transition-speed);
  padding: 0.25rem;
}

.card-actions button:hover {
  color: var(--text-primary);
}

.edit-sistema-btn:hover {
  color: var(--primary-color) !important;
}

.delete-sistema-btn:hover {
  color: var(--danger-color) !important;
}

.card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.progress-bar-container {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.progress-text {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
}

/* Card para adicionar sistema */
.sistema-card.add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  box-shadow: none;
  min-height: 150px;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.sistema-card.add-card:hover {
  border-color: var(--primary-color);
  background-color: rgba(74, 108, 247, 0.05);
}

.add-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.sistema-card.add-card p {
  color: var(--text-secondary);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Sistema Details */
.sistema-details {
  width: 40%;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  padding: 2rem;
  overflow-y: auto;
  z-index: 5;
  transform: translateX(100%);
  opacity: 0;
  display: none;
  box-shadow: -5px 0 15px var(--shadow-color);
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.sistema-details.active {
  transform: translateX(0);
  opacity: 1;
}

.close-details-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-speed);
}

.close-details-btn:hover {
  color: var(--danger-color);
}

.sistema-details-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.sistema-details-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sistema-details-header p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.sistema-meta {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Pergunta Card */
.pergunta-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all var(--transition-speed);
}

.pergunta-card:hover {
  box-shadow: 0 5px 15px var(--shadow-color-hover);
}

.pergunta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.pergunta-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.status-pending {
  color: var(--warning-color);
}

.status-completed {
  color: var(--success-color);
}

.pergunta-body {
  padding: 1rem;
}

.resposta-input {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color var(--transition-speed);
  margin-bottom: 1rem;
}

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

.resposta-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.resposta-autor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.autor-input {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-input);
  color: var(--text-primary);
  width: 180px;
  transition: border-color var(--transition-speed);
}

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

.resposta-feedback {
  margin-top: 0.5rem;
  min-height: 24px;
}

.success-feedback {
  color: var(--success-color);
  animation: fadeIn 0.5s;
}

.error-feedback {
  color: var(--danger-color);
  animation: fadeIn 0.5s;
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Modais */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.modal.show {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: var(--bg-modal);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--shadow-color);
  width: 100%;
  max-width: 500px;
  margin: 2rem;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  animation: slideIn 0.3s forwards;
}

.modal-sm {
  max-width: 400px;
}

.modal-lg {
  max-width: 800px;
}

@keyframes slideIn {
  to { transform: translateY(0); }
}

.modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-header .close {
  font-size: 1.5rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
}

.modal-body {
  padding: 1.25rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Formulários */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Notificação */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  max-width: 350px;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification i {
  font-size: 1.25rem;
  color: var(--success-color);
}

.notification.error i {
  color: var(--danger-color);
}

.notification.warning i {
  color: var(--warning-color);
}

/* Administração */
.admin-actions {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.admin-item {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--shadow-color);
  overflow: hidden;
  transition: all var(--transition-speed);
}

.admin-item:hover {
  box-shadow: 0 4px 12px var(--shadow-color-hover);
}

.admin-item .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-item .title {
  font-weight: 600;
}

.admin-item .actions {
  display: flex;
  gap: 0.5rem;
}

.admin-item .content {
  padding: 1rem;
}

.admin-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-list-item:last-child {
  border-bottom: none;
}

.admin-list-item .item-content {
  flex: 1;
}

.admin-list-item .item-title {
  font-weight: 500;
}

.admin-list-item .item-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.admin-list-item .item-actions {
  display: flex;
  gap: 0.5rem;
}

.item-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.badge-primary {
  background-color: rgba(74, 108, 247, 0.1);
  color: var(--primary-color);
}

.badge-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 0.25rem;
  transition: color var(--transition-speed);
}

.action-btn:hover {
  color: var(--primary-color);
}

.action-btn.delete-area-btn:hover,
.action-btn.delete-pergunta-btn:hover,
.action-btn.delete-usuario-btn:hover {
  color: var(--danger-color);
}

/* Telas de Login e Registro */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--bg-secondary);
}

.auth-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--shadow-color);
  width: 100%;
  max-width: 400px;
  padding: 2rem;
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.auth-logo i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.auth-logo h1 {
  font-size: 1.75rem;
  text-align: center;
}

.auth-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 500;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  margin-left: 0.5rem;
  animation: spin 1s linear infinite;
}

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

/* Responsividade */
@media (max-width: 992px) {
  .content-area.details-open {
    margin-right: 0;
  }
  
  .sistema-details {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .sistemas-list {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .area-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stats-cards {
    margin-top: 1rem;
    width: 100%;
  }
  
  .stat-card {
    width: 100%;
  }
}

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

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

.fadeIn {
  animation: fadeIn 0.3s;
}

.slideUp {
  animation: slideUp 0.3s;
}

/* Estilo para login/registro */
.error-message {
  color: var(--danger-color);
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--danger-color);
  display: none;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.3s;
}

/* Boto para exportar todos os sistemas */
.export-all-btn {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.export-all-btn .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.export-all-btn .btn i {
  margin-right: 0.5rem;
}

/* Boto de exportar todos os sistemas */
.export-all-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.export-all-btn .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: all var(--transition-speed);
}

.export-all-btn .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color-hover);
}

.export-all-btn i {
  margin-right: 0.5rem;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .export-all-btn {
    margin-top: 1rem;
  }
}
/* Adicione no final do arquivo */
#salvar-todas-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.1rem;
}

#salvar-todas-btn i {
    margin-right: 8px;
}