@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";
/* [project]/styles/globals.css [client] (css) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, 
body {
  padding: 0;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fafafa;
}
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
}
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.login-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.login-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 400;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #1a1a1a;
}
.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-input::placeholder {
  color: #9ca3af;
}
.login-button {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}
.login-button:hover:not(:disabled) {
  transform: translatey(-1px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.login-footer {
  text-align: center;
}
.login-link {
  color: #667eea;
  font-weight: 500;
  transition: color 0.2s ease;
}
.login-link:hover {
  color: #5a67d8;
}
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.alert-success {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: #fafafa;
}
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid #e5e7eb;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
}
.sidebar-header {
  padding: 0 2rem 2rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}
.sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.sidebar-nav {
  flex: 1;
  padding: 0 1rem;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-item {
  margin-bottom: 0.5rem;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  color: #6b7280;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-link:hover, 
.nav-link.active {
  background-color: #f3f4f6;
  color: #1a1a1a;
}
.nav-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.sidebar-footer {
  padding: 1rem 2rem;
  border-top: 1px solid #e5e7eb;
}
.logout-button {
  width: 100%;
  padding: 0.875rem;
  background-color: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logout-button:hover {
  background-color: #ef4444;
  color: white;
}
.main-content {
  flex: 1;
  padding: 2rem 3rem;
  background-color: #fafafa;
  overflow-y: auto;
}
.dashboard-header {
  margin-bottom: 3rem;
}
.dashboard-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.dashboard-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 400;
}
.user-info {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
.user-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.user-info p {
  color: #6b7280;
  font-size: 1rem;
}
.loading-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.content-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  transform: translatey(-1px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
}
.btn-secondary:hover {
  background-color: #e5e7eb;
}
.btn-danger {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-danger:hover {
  background-color: #dc2626;
}
.clients-grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.client-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}
.client-card:hover {
  transform: translatey(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.client-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.client-info p {
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.client-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}
.settings-grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}
.settings-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}
.settings-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}
.form-group label input[type="checkbox"] {
  margin-right: 0.5rem;
}
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #1a1a1a;
}
.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.filters-section {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}
.search-container {
  margin-bottom: 1rem;
}
.search-input {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
}
.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.filters-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: white;
  min-width: 180px;
  transition: all 0.2s ease;
}
.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.btn-search {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-search:hover {
  background-color: #2563eb;
}
.btn-new-client {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-new-client:hover {
  background-color: #059669;
}
.results-info {
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
  color: #6b7280;
}
.table-container {
  overflow-x: auto;
}
.clients-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.clients-table th {
  background-color: #f9fafb;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.clients-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #1f2937;
}
.clients-table tbody tr:hover {
  background-color: #f9fafb;
}
.projeto-cell {
  font-weight: 500;
  color: #1f2937;
}
.servicos-cell {
  color: #3b82f6;
}
.observacao-cell {
  color: #6b7280;
  max-width: 200px;
}
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  min-width: 70px;
}
.status-urgente {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.status-alto {
  background-color: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}
.status-medio {
  background-color: #fefce8;
  color: #ca8a04;
  border: 1px solid #fde68a;
}
.status-baixo {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.actions-cell {
  white-space: nowrap;
}
.btn-action {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
  border: none;
}
.btn-edit {
  background-color: #3b82f6;
  color: white;
}
.btn-edit:hover {
  background-color: #2563eb;
}
.btn-delete {
  background-color: #ef4444;
  color: white;
}
.btn-delete:hover {
  background-color: #dc2626;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}
.stat-card:hover {
  transform: translatey(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon-users {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.stat-icon-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}
.stat-icon-new {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}
.stat-icon-rating {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}
.stat-content {
  flex: 1;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.stat-change {
  font-size: 0.8rem;
  font-weight: 500;
}
.stat-change.positive {
  color: #10b981;
}
.stat-change.negative {
  color: #ef4444;
}
.cliente-cell {
  padding: 1rem 1.5rem !important;
}
.cliente-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cliente-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.cliente-details {
  flex: 1;
}
.cliente-nome {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
  margin-bottom: 0.125rem;
}
.cliente-id {
  font-size: 0.8rem;
  color: #6b7280;
}
.contato-cell {
  padding: 1rem 1.5rem !important;
}
.contato-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.contato-email {
  font-size: 0.9rem;
  color: #3b82f6;
  font-weight: 500;
}
.contato-telefone {
  font-size: 0.8rem;
  color: #6b7280;
}
.pedidos-cell {
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}
.gasto-cell {
  font-weight: 600;
  color: #059669;
  font-size: 0.9rem;
}
.avaliacao-cell {
  text-align: center;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rating-stars {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f59e0b;
}
.atividade-cell {
  font-size: 0.85rem;
  color: #6b7280;
}
.status-ativo {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.status-inativo {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.status-pendente {
  background-color: #fefce8;
  color: #ca8a04;
  border: 1px solid #fde68a;
}
.actions-cell {
  white-space: nowrap;
  text-align: center;
}
.btn-action {
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.btn-view {
  background-color: #f3f4f6;
  color: #6b7280;
}
.btn-view:hover {
  background-color: #3b82f6;
  color: white;
}
.btn-edit {
  background-color: #f3f4f6;
  color: #6b7280;
}
.btn-edit:hover {
  background-color: #10b981;
  color: white;
}
.btn-more {
  background-color: #f3f4f6;
  color: #6b7280;
}
.btn-more:hover {
  background-color: #6b7280;
  color: white;
}
.filters-section {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.search-container {
  margin-bottom: 0;
  flex: 1;
  max-width: 400px;
}
.filters-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-search {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-search:hover {
  background-color: #e5e7eb;
}
.btn-new-client {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-new-client:hover {
  transform: translatey(-1px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.dashboard-stat-card {
  border-radius: 16px;
  padding: 2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dashboard-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30px, -30px);
}
.dashboard-stat-card:hover {
  transform: translatey(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.dashboard-stat-card.purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.dashboard-stat-card.blue {
  background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
}
.dashboard-stat-card.green {
  background: linear-gradient(135deg, #00f260 0%, #0575e6 100%);
}
.dashboard-stat-card.orange {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%, #fecfef 100%);
  background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}
.dashboard-stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.dashboard-stat-card .stat-content {
  flex: 1;
}
.dashboard-stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.dashboard-stat-card .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.dashboard-stat-card .stat-change {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
}
.chart-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  margin-top: 2rem;
}
.chart-header {
  margin-bottom: 2rem;
}
.chart-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.chart-header p {
  color: #6b7280;
  font-size: 0.95rem;
}
.chart-container {
  display: flex;
  gap: 1rem;
  height: 350px;
}
.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
  width: 60px;
  height: 300px;
}
.chart-content {
  flex: 1;
  position: relative;
}
.chart-svg {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}
.chart-x-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}
@media (max-width: 768px) {
  .chart-container {
    height: 280px;
  }
  .chart-svg {
    height: 240px;
  }
  .chart-y-axis {
    height: 240px;
    width: 50px;
    font-size: 0.7rem;
  }
  .chart-x-axis {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
}
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .main-content {
    padding: 1.5rem;
  }
  .login-container {
    padding: 1rem;
  }
  .login-card {
    padding: 2rem 1.5rem;
  }
  .clients-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select {
    min-width: auto;
  }
  .search-input {
    max-width: none;
  }
  .table-container {
    font-size: 0.8rem;
  }
  .clients-table th, 
  .clients-table td {
    padding: 0.75rem 0.5rem;
  }
  .observacao-cell {
    max-width: 150px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .search-container {
    max-width: none;
  }
  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  .cliente-info {
    gap: 0.5rem;
  }
  .cliente-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .cliente-nome {
    font-size: 0.8rem;
  }
  .cliente-id {
    font-size: 0.7rem;
  }
  .contato-email {
    font-size: 0.8rem;
  }
  .contato-telefone {
    font-size: 0.7rem;
  }
  .btn-action {
    width: 28px;
    height: 28px;
    margin-right: 0.125rem;
  }
  .btn-action svg {
    width: 14px;
    height: 14px;
  }
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .dashboard-stat-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  .dashboard-stat-card .stat-icon {
    width: 50px;
    height: 50px;
  }
  .dashboard-stat-card .stat-number {
    font-size: 2rem;
  }
  .dashboard-stat-card .stat-label {
    font-size: 0.9rem;
  }
  .dashboard-stat-card .stat-change {
    font-size: 0.8rem;
  }
  .chart-section {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  .chart-header h2 {
    font-size: 1.25rem;
  }
  .chart-header p {
    font-size: 0.9rem;
  }
}
.novo-cliente-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.novo-cliente-btn:hover:not(:disabled) {
  transform: translatey(-1px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.novo-cliente-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.search-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translatey(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #1a1a1a;
}
.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-input::placeholder {
  color: #9ca3af;
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #6b7280;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #dc2626;
}
.error-message {
  margin-bottom: 1rem;
  text-align: center;
}
.retry-btn {
  padding: 0.5rem 1rem;
  background-color: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.retry-btn:hover {
  background-color: #5a67d8;
}
.no-data {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-style: italic;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.client-name {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.client-type {
  font-size: 0.8rem;
  color: #6b7280;
}
.actions {
  display: flex;
  gap: 0.5rem;
}
.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.action-btn.view {
  background-color: #f3f4f6;
  color: #6b7280;
}
.action-btn.view:hover {
  background-color: #e5e7eb;
  color: #374151;
}
.action-btn.edit {
  background-color: #fef3c7;
  color: #d97706;
}
.action-btn.edit:hover {
  background-color: #fde68a;
  color: #b45309;
}
.action-btn.delete {
  background-color: #fef2f2;
  color: #dc2626;
}
.action-btn.delete:hover {
  background-color: #fecaca;
  color: #b91c1c;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translatey(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translatey(0);
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.modal-close-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #6b7280;
  transition: all 0.2s ease;
}
.modal-close-btn:hover:not(:disabled) {
  background: #e5e7eb;
  color: #374151;
}
.modal-close-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-form {
  padding: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: 1/ -1;
}
.form-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background-color: white;
  color: #1a1a1a;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-group input.error, 
.form-group select.error, 
.form-group textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-group input:disabled, 
.form-group select:disabled, 
.form-group textarea:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}
.form-group .error-message {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.btn-cancel {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cancel:hover:not(:disabled) {
  border-color: #d1d5db;
  color: #374151;
}
.btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-submit {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
}
.btn-submit:hover:not(:disabled) {
  transform: translatey(-1px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0.5rem;
  }
  .modal-content {
    max-height: 95vh;
  }
  .modal-header, 
  .modal-form {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .modal-actions {
    flex-direction: column-reverse;
  }
  .btn-cancel, 
  .btn-submit {
    width: 100%;
  }
}
.visualizar-modal .modal-content {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}
.visualizar-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 20px;
}
.visualizar-header .header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cliente-avatar-header {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
}
.header-info h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}
.cliente-tipo {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.visualizar-header .modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.visualizar-header .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.cliente-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}
.info-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.info-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translatey(-2px);
}
.section-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e9ecef;
}
.section-header svg {
  color: #6c757d;
}
.section-header h4 {
  margin: 0;
  color: #495057;
  font-size: 16px;
  font-weight: 600;
}
.info-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-item strong {
  color: #6c757d;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-item span {
  color: #212529;
  font-weight: 500;
  font-size: 14px;
}
.observacoes-section .observacoes-content {
  background: #f8f9fa;
  padding: 20px;
  margin: 0;
  border: none;
  border-radius: 0;
  min-height: 80px;
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.6;
  color: #495057;
}
.info-section.basicas .section-header {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.info-section.basicas .section-header svg {
  color: #1976d2;
}
.info-section.pessoais .section-header {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}
.info-section.pessoais .section-header svg {
  color: #7b1fa2;
}
.info-section.inss .section-header {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}
.info-section.inss .section-header svg {
  color: #388e3c;
}
.info-section.sistema .section-header {
  background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
}
.info-section.sistema .section-header svg {
  color: #f57c00;
}
.observacoes-section .section-header {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}
.observacoes-section .section-header svg {
  color: #c2185b;
}
.confirmar-exclusao-modal .modal-content {
  max-width: 500px;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15);
}
.exclusao-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  padding: 20px;
  border-radius: 16px 16px 0 0;
}
.exclusao-header .header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.warning-icon-header {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.warning-icon-header svg {
  color: white;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.exclusao-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.exclusao-header .modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 15px;
  right: 15px;
}
.exclusao-header .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.exclusao-content {
  padding: 30px;
}
.warning-message h3 {
  color: #dc3545;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}
.warning-message p {
  color: #6c757d;
  margin: 0 0 25px 0;
  line-height: 1.6;
}
.cliente-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 2px solid #e9ecef;
}
.cliente-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}
.cliente-details {
  flex: 1;
  text-align: left;
}
.cliente-details h4 {
  margin: 0 0 8px 0;
  color: #212529;
  font-size: 16px;
  font-weight: 600;
}
.cliente-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.info-label {
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 40px;
}
.info-value {
  color: #495057;
  font-size: 14px;
  font-weight: 500;
}
.modal-actions.exclusao-actions {
  justify-content: center;
  gap: 15px;
  padding: 0 30px 30px 30px;
}
.btn-cancel.exclusao {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}
.btn-cancel.exclusao:hover {
  background: #5a6268;
  transform: translatey(-1px);
}
.btn-submit.exclusao {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}
.btn-submit.exclusao:hover {
  background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
  transform: translatey(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
.btn-submit.exclusao:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .visualizar-modal .modal-content {
    width: 95%;
    margin: 10px auto;
    max-height: 95vh;
  }
  .visualizar-header {
    padding: 15px;
  }
  .cliente-avatar-header {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  .header-info h2 {
    font-size: 20px;
  }
  .cliente-info {
    padding: 15px;
    gap: 15px;
  }
  .section-header {
    padding: 12px 15px;
  }
  .section-header h4 {
    font-size: 14px;
  }
  .info-grid {
    padding: 15px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .observacoes-section .observacoes-content {
    padding: 15px;
  }
  .confirmar-exclusao-modal .modal-content {
    width: 95%;
    margin: 20px auto;
  }
  .exclusao-header {
    padding: 15px;
  }
  .exclusao-header h2 {
    font-size: 18px;
  }
  .exclusao-content {
    padding: 20px;
  }
  .cliente-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .cliente-details {
    text-align: center;
  }
  .cliente-info-row {
    justify-content: center;
  }
  .modal-actions.exclusao-actions {
    padding: 0 20px 20px 20px;
    flex-direction: column;
  }
  .btn-cancel.exclusao, 
  .btn-submit.exclusao {
    width: 100%;
    min-width: auto;
  }
}
.processo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}
.processo-modal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideInUp 0.4s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translatey(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translatey(0) scale(1);
  }
}
.processo-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  position: relative;
  border-radius: 20px 20px 0 0;
}
.processo-header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.processo-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}
.processo-header-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.processo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.processo-status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.processo-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.processo-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.processo-modal-body {
  max-height: calc(90vh - 200px);
  overflow-y: auto;
  padding: 0;
}
.processo-info-sections {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.processo-info-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.processo-info-section:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translatey(-2px);
}
.processo-info-section .section-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.processo-info-section .section-header svg {
  color: #64748b;
  flex-shrink: 0;
}
.processo-info-section .section-header h4 {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  font-weight: 600;
}
.processo-info-section .info-grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.processo-info-section .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.processo-info-section .info-item strong {
  color: #64748b;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.processo-info-section .info-item span {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
}
.processo-info-section.basicas .section-header {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.processo-info-section.basicas .section-header svg {
  color: #2563eb;
}
.processo-info-section.cliente .section-header {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}
.processo-info-section.cliente .section-header svg {
  color: #7c3aed;
}
.processo-info-section.datas .section-header {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}
.processo-info-section.datas .section-header svg {
  color: #059669;
}
.processo-info-section.observacoes .section-header {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.processo-info-section.observacoes .section-header svg {
  color: #d97706;
}
.observacoes-content {
  padding: 1.5rem;
  background: #f8fafc;
  margin: 0;
  border: none;
  border-radius: 0;
  min-height: 80px;
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.6;
  color: #475569;
  font-size: 0.875rem;
}
.processo-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
}
.editar-processo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}
.editar-processo-modal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideInUp 0.4s ease-out;
}
.editar-processo-modal-header {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 2rem;
  position: relative;
  border-radius: 20px 20px 0 0;
}
.editar-header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.editar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.editar-icon svg {
  color: white;
}
.editar-header-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.editar-header-info p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 400;
}
.editar-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.editar-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.editar-processo-modal-body {
  max-height: calc(90vh - 250px);
  overflow-y: auto;
  padding: 0;
}
.editar-form-sections {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.section-title {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.section-title svg {
  color: #64748b;
  flex-shrink: 0;
}
.section-title h3 {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  font-weight: 600;
}
.form-section .form-grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.form-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-section .form-group.full-width {
  grid-column: 1/ -1;
}
.form-section .form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
  margin: 0;
}
.form-section .form-group input, 
.form-section .form-group select, 
.form-section .form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background-color: white;
  color: #1a1a1a;
  font-family: inherit;
}
.form-section .form-group input:focus, 
.form-section .form-group select:focus, 
.form-section .form-group textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.form-section .form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.error-alert svg {
  flex-shrink: 0;
}
.editar-processo-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.modal-small {
  max-width: 500px;
}
.confirmation-content {
  text-align: center;
  padding: 1rem 0;
}
.warning-icon {
  margin: 0 auto 1.5rem auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.warning-icon svg {
  color: #d97706;
}
.confirmation-content h3 {
  color: #dc2626;
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.processo-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  border: 1px solid #e5e7eb;
}
.processo-info p {
  margin: 0 0 0.5rem 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
}
.processo-info p:last-child {
  margin-bottom: 0;
}
.processo-info strong {
  color: #334155;
  font-weight: 600;
}
.warning-text {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 1.5rem 0 0 0;
  font-style: italic;
}
@media (max-width: 768px) {
  .processo-modal-overlay, 
  .editar-processo-modal-overlay {
    padding: 0.5rem;
  }
  .processo-modal-content, 
  .editar-processo-modal-content {
    max-height: 95vh;
    border-radius: 16px;
  }
  .processo-modal-header, 
  .editar-processo-modal-header {
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
  }
  .processo-header-content, 
  .editar-header-content {
    gap: 1rem;
  }
  .processo-avatar, 
  .editar-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  .processo-header-info h2, 
  .editar-header-info h2 {
    font-size: 1.25rem;
  }
  .editar-header-info p {
    font-size: 0.875rem;
  }
  .processo-modal-close, 
  .editar-modal-close {
    width: 36px;
    height: 36px;
    top: 1rem;
    right: 1rem;
  }
  .processo-info-sections, 
  .editar-form-sections {
    padding: 1rem;
    gap: 1rem;
  }
  .processo-info-section .section-header, 
  .section-title {
    padding: 0.75rem 1rem;
  }
  .processo-info-section .info-grid, 
  .form-section .form-grid {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .observacoes-content {
    padding: 1rem;
  }
  .processo-modal-footer, 
  .editar-processo-modal-footer {
    padding: 1rem;
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .btn-secondary, 
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .modal-small {
    margin: 1rem;
  }
  .confirmation-content {
    padding: 0.5rem 0;
  }
  .warning-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .confirmation-content h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  .processo-info {
    padding: 1rem;
    margin: 1rem 0;
  }
  .modal-footer {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .btn-secondary, 
  .btn-danger {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .processo-modal-overlay, 
  .editar-processo-modal-overlay {
    padding: 0.25rem;
  }
  .processo-modal-content, 
  .editar-processo-modal-content {
    border-radius: 12px;
  }
  .processo-modal-header, 
  .editar-processo-modal-header {
    padding: 1rem;
    border-radius: 12px 12px 0 0;
  }
  .processo-header-info h2, 
  .editar-header-info h2 {
    font-size: 1.125rem;
  }
  .processo-info-sections, 
  .editar-form-sections {
    padding: 0.75rem;
  }
  .processo-info-section .section-header, 
  .section-title {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  .processo-info-section .info-grid, 
  .form-section .form-grid {
    padding: 0.75rem;
  }
}
.page-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.header-content-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-icon {
  font-size: 3rem;
  opacity: 0.9;
}
.header-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-title-modern {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: white;
}
.page-subtitle-modern {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stats-summary {
  display: flex;
  gap: 1.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary-modern {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.btn-primary-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translatey(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.btn-icon {
  font-size: 1.1rem;
  font-weight: bold;
}
.error-message-modern {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #f87171;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.error-icon {
  font-size: 1.5rem;
}
.error-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.error-text {
  color: #dc2626;
  font-weight: 500;
  flex: 1;
}
.retry-btn-modern {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.retry-btn-modern:hover {
  background: #b91c1c;
  transform: translatey(-1px);
}
.content-card-modern {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}
.empty-state-modern {
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.empty-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-icon-large {
  font-size: 4rem;
  opacity: 0.6;
  z-index: 2;
  position: relative;
}
.empty-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  border-radius: 50%;
  z-index: 1;
}
.empty-content {
  max-width: 400px;
}
.empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.empty-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.empty-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
}
.empty-cta:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}
.table-container-modern {
  background: white;
}
.table-header-modern {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
}
.table-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.table-filters {
  display: flex;
  gap: 1rem;
}
.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.table-wrapper {
  overflow-x: auto;
}
.data-table-modern {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table-modern thead {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}
.data-table-modern th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.th-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.sort-icon {
  opacity: 0.5;
  font-size: 0.8rem;
}
.table-row-modern {
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.table-row-modern:hover {
  background: #fafbfc;
}
.data-table-modern td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
}
.processo-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.processo-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}
.processo-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.processo-nome {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}
.processo-acao {
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}
.cliente-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cliente-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.cliente-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cliente-nome {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.9rem;
}
.cliente-documento {
  font-size: 0.8rem;
  color: #6b7280;
  font-family: 'Courier New', monospace;
}
.numero-container {
  display: flex;
  align-items: center;
}
.numero-processo-modern {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #374151;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-em-andamento .status-dot {
  background: #1e40af;
}
.status-aguardando-docs .status-dot {
  background: #d97706;
}
.status-aguardando-pericia .status-dot {
  background: #5b21b6;
}
.status-aguardando-decisao .status-dot {
  background: #be185d;
}
.status-finalizado .status-dot {
  background: #166534;
}
.status-arquivado .status-dot {
  background: #374151;
}
.data-container, 
.prazo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.data-value, 
.prazo-value {
  font-size: 0.9rem;
  color: #374151;
}
.prazo-vencido-modern {
  color: #dc2626;
  font-weight: 600;
  background: #fef2f2;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}
.prazo-alert {
  font-size: 1rem;
  color: #dc2626;
}
.action-buttons-modern {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.btn-action-modern {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.btn-action-modern:hover {
  transform: translatey(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.action-icon {
  font-size: 1rem;
}
.btn-view-modern:hover {
  background: #dbeafe;
  border-color: #3b82f6;
}
.btn-edit-modern:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}
.btn-delete-modern:hover {
  background: #fef2f2;
  border-color: #ef4444;
}
@media (max-width: 1024px) {
  .page-header-modern {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .header-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .stats-summary {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .page-header-modern {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .header-icon {
    font-size: 2.5rem;
  }
  .page-title-modern {
    font-size: 1.5rem;
  }
  .page-subtitle-modern {
    font-size: 0.9rem;
  }
  .stats-summary {
    gap: 1rem;
  }
  .stat-number {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .btn-primary-modern {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  .table-header-modern {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .table-title {
    font-size: 1.1rem;
    text-align: center;
  }
  .table-filters {
    justify-content: center;
  }
  .data-table-modern {
    font-size: 0.8rem;
  }
  .data-table-modern th, 
  .data-table-modern td {
    padding: 0.75rem 0.5rem;
  }
  .processo-card {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .processo-icon {
    font-size: 1.25rem;
  }
  .processo-nome {
    font-size: 0.85rem;
  }
  .processo-acao {
    font-size: 0.75rem;
  }
  .cliente-card {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .cliente-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .cliente-nome {
    font-size: 0.8rem;
  }
  .cliente-documento {
    font-size: 0.7rem;
  }
  .numero-processo-modern {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
  .status-badge-modern {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  .data-value, 
  .prazo-value {
    font-size: 0.8rem;
  }
  .action-buttons-modern {
    gap: 0.25rem;
  }
  .btn-action-modern {
    width: 32px;
    height: 32px;
  }
  .action-icon {
    font-size: 0.9rem;
  }
  .empty-state-modern {
    padding: 2rem 1rem;
  }
  .empty-icon-large {
    font-size: 3rem;
  }
  .empty-decoration {
    width: 100px;
    height: 100px;
  }
  .empty-title {
    font-size: 1.25rem;
  }
  .empty-description {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .page-header-modern {
    padding: 1rem;
  }
  .header-content-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  .header-icon {
    font-size: 2rem;
  }
  .page-title-modern {
    font-size: 1.25rem;
  }
  .stats-summary {
    flex-direction: column;
    gap: 0.5rem;
  }
  .table-wrapper {
    overflow-x: scroll;
  }
  .data-table-modern {
    min-width: 600px;
  }
  .empty-state-modern {
    padding: 1.5rem 0.5rem;
  }
  .empty-content {
    max-width: 300px;
  }
}
.clientes-page {
  padding: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}
.clientes-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.clientes-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.clientes-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.clientes-header-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.clientes-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.clientes-subtitle {
  font-size: 1.1rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-weight: 400;
}
.clientes-header-actions {
  display: flex;
  gap: 1rem;
}
.clientes-novo-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
}
.clientes-novo-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
  transform: translatey(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.clientes-novo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.clientes-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.clientes-stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.clientes-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.clientes-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}
.clientes-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: #64748b;
}
.clientes-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
.clientes-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #dc2626;
}
.clientes-error-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.clientes-error-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.clientes-error-content p {
  margin: 0 0 1rem 0;
  color: #7f1d1d;
}
.clientes-retry-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.clientes-retry-btn:hover {
  background: #b91c1c;
  transform: translatey(-1px);
}
.clientes-filters {
  padding: 0 2rem;
  margin-bottom: 2rem;
}
.clientes-search {
  position: relative;
  max-width: 500px;
}
.clientes-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translatey(-50%);
  color: #9ca3af;
  z-index: 1;
}
.clientes-search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  background: white;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.clientes-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.clientes-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #64748b;
}
.clientes-empty-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  color: white;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.clientes-empty h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #374151;
}
.clientes-empty p {
  font-size: 1rem;
  margin: 0 0 2rem 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.clientes-empty-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.clientes-empty-btn:hover {
  transform: translatey(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.clientes-table-container {
  margin: 0 2rem 2rem 2rem;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
.clientes-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.clientes-data-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
  white-space: nowrap;
}
.clientes-data-table th:first-child {
  padding-left: 1.5rem;
}
.clientes-data-table th:last-child {
  padding-right: 1.5rem;
}
.clientes-sort-icon {
  margin-left: 0.5rem;
  color: #9ca3af;
  vertical-align: middle;
}
.clientes-data-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.clientes-data-table td:first-child {
  padding-left: 1.5rem;
}
.clientes-data-table td:last-child {
  padding-right: 1.5rem;
}
.clientes-data-table tbody tr {
  transition: all 0.2s ease;
}
.clientes-data-table tbody tr:hover {
  background: #f8fafc;
}
.clientes-cliente-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.clientes-cliente-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.clientes-cliente-info {
  min-width: 0;
  flex: 1;
}
.clientes-cliente-nome {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clientes-cliente-tipo {
  margin-top: 0.25rem;
}
.clientes-tipo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.clientes-tipo-badge.fisica {
  background: #dbeafe;
  color: #1e40af;
}
.clientes-tipo-badge.juridica {
  background: #f3e8ff;
  color: #7c3aed;
}
.clientes-email, 
.clientes-telefone, 
.clientes-documento {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
}
.clientes-email svg, 
.clientes-telefone svg, 
.clientes-documento svg {
  color: #9ca3af;
  flex-shrink: 0;
}
.clientes-no-data {
  color: #9ca3af;
  font-style: italic;
}
.clientes-data {
  text-align: left;
}
.clientes-data-principal {
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.25rem;
}
.clientes-data-relativa {
  font-size: 0.75rem;
  color: #6b7280;
}
.clientes-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.clientes-action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.clientes-action-view {
  background: #dbeafe;
  color: #1e40af;
}
.clientes-action-view:hover {
  background: #bfdbfe;
  transform: translatey(-1px);
}
.clientes-action-edit {
  background: #fef3c7;
  color: #d97706;
}
.clientes-action-edit:hover {
  background: #fde68a;
  transform: translatey(-1px);
}
.clientes-action-process {
  background: #e0e7ff;
  color: #4338ca;
}
.clientes-action-process:hover {
  background: #c7d2fe;
  transform: translatey(-1px);
}
.clientes-action-delete {
  background: #fecaca;
  color: #dc2626;
}
.clientes-action-delete:hover {
  background: #fca5a5;
  transform: translatey(-1px);
}
@media (max-width: 1024px) {
  .clientes-header-content {
    flex-direction: column;
    gap: 1rem;
  }
  .clientes-header-actions {
    align-self: stretch;
  }
  .clientes-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .clientes-header {
    padding: 1rem;
  }
  .clientes-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .clientes-table-container {
    margin: 0 1rem 2rem 1rem;
    overflow-x: auto;
  }
  .clientes-data-table {
    min-width: 800px;
  }
  .clientes-cliente-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .clientes-actions {
    flex-direction: column;
    gap: 0.25rem;
  }
  .clientes-action-btn {
    width: 100%;
    justify-content: center;
  }
  .clientes-filters {
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  .clientes-header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .clientes-header-icon {
    align-self: center;
  }
  .clientes-empty {
    padding: 2rem 1rem;
  }
  .clientes-empty-circle {
    width: 80px;
    height: 80px;
  }
}
.cliente-info-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}
.cliente-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.cliente-details {
  flex: 1;
}
.cliente-nome {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}
.cliente-documento {
  font-size: 0.875rem;
  color: #6b7280;
}


/*# sourceMappingURL=styles_globals_796361.css.map*/