.cnh-client-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cnh-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
}

.cnh-header h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
}

.cnh-client-id {
  font-size: 16px;
  opacity: 0.9;
}

.cnh-status-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.cnh-status-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cnh-status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  margin-bottom: 15px;
}

.cnh-status-pendente {
  background-color: #6c757d;
}
.cnh-status-em_analise {
  background-color: #007bff;
}
.cnh-status-aprovado {
  background-color: #28a745;
}
.cnh-status-impresso {
  background-color: #6f42c1;
}
.cnh-status-enviado {
  background-color: #fd7e14;
}
.cnh-status-entregue {
  background-color: #20c997;
}

.cnh-progress {
  background-color: #e9ecef;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.cnh-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  transition: width 0.3s ease;
}

.cnh-client-info {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cnh-info-item {
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.cnh-tabs {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.cnh-tab-buttons {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.cnh-tab-button {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cnh-tab-button:hover {
  background-color: #e9ecef;
}

.cnh-tab-button.active {
  background-color: #007bff;
  color: white;
}

.cnh-tab-panel {
  display: none;
  padding: 30px;
}

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

.cnh-upload-area {
  border: 2px dashed #007bff;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.cnh-upload-area:hover {
  border-color: #0056b3;
  background-color: #f8f9ff;
}

.cnh-upload-label {
  cursor: pointer;
  font-size: 18px;
  color: #007bff;
}

.cnh-button {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cnh-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cnh-image-container {
  text-align: center;
  padding: 20px;
}

.cnh-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cnh-timeline {
  position: relative;
  padding-left: 30px;
}

.cnh-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.cnh-timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.cnh-timeline-marker {
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #007bff;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #007bff;
}

.cnh-timeline-content {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cnh-timeline-status {
  font-weight: bold;
  color: #007bff;
  margin-bottom: 5px;
}

.cnh-timeline-date {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.cnh-timeline-note {
  font-size: 14px;
  color: #495057;
}

.cnh-id-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cnh-form-group {
  margin-bottom: 20px;
}

.cnh-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #495057;
}

.cnh-form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.cnh-form-group input:focus {
  outline: none;
  border-color: #007bff;
}

@media (max-width: 768px) {
  .cnh-status-overview {
    grid-template-columns: 1fr;
  }

  .cnh-tab-buttons {
    flex-direction: column;
  }

  .cnh-client-dashboard {
    padding: 10px;
  }
}
