/* ========================================
   ESTILOS GLOBAIS E RESET
   ======================================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212; /* Fundo padrão após login */
  color: white;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  padding-bottom: 0; /* Remove padding do body */
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 100px; /* Espaço para o footer fixo */
  box-sizing: border-box;
  min-height: 100vh;
}

.login-logo {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

/* Para telas maiores que celular */
@media (min-width: 481px) {
  .container {
    max-width: 450px;
    padding: 25px;
    padding-bottom: 100px; /* Espaço para o footer fixo */
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 500px;
    padding: 30px;
    padding-bottom: 100px; /* Espaço para o footer fixo */
  }
}


.card {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  border-radius: 15px;
  padding: 20px;
  color: white;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 p{
  margin: 0;
  font-size: 22px;
}

.card-header p {
  margin: 0;
  font-size: 18px;
}

.implementos-container {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.implementos-container h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.implemento-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 8px;
  font-size: 14px;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.rating i {
  color: gold;
  font-size: 20px;
}

.balance-section {
  text-align: right;
}

.balance-section .balance {
  font-size: 28px;
  margin: 0;
}

.balance-section p {
  margin: 0;
}

.locations {
  background: #1d1d1d;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.locations span {
  font-size: 14px;
  flex: 1;
  text-align: center;
}

.locations i {
  font-size: 18px;
  color: #35d7b1;
  margin: 0 10px;
}

.income-spending {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  gap: 15px;
}

.income-spending div {
  text-align: center;
  flex: 1;
}

.income-spending p {
  margin: 5px 0;
  font-size: 14px;
}

.income-spending p:last-child {
  font-size: 18px;
  font-weight: bold;
}

.income {
  color: #4ce48e;
}

.spending {
  color: #e44c4c;
}

.quick-service {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-service button {
  background: #2b2b2b;
  color: white;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s;
  box-sizing: border-box;
}

.quick-service button:hover {
  background: #3b3b3b;
}

.quick-service button:disabled,
.quick-service button.disabled {
  background: #1a1a1a !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.quick-service button:disabled:hover,
.quick-service button.disabled:hover {
  background: #1a1a1a !important;
}

.quick-service button i {
  font-size: 18px;
}

.transaction {
  margin-top: 20px;
}

.transaction-item {
  display: flex;
  flex-direction: column;
  background: #1d1d1d;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.transaction-item .header,
.transaction-item .transaction-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.transaction-item .header .name,
.transaction-item .transaction-code {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.transaction-item .header .amount,
.transaction-item .transaction-value {
  font-size: 14px;
  color: #00ff00;
  font-weight: bold;
}

.transaction-item .details,
.transaction-item .transaction-route {
  font-size: 12px;
  color: #a9a9a9;
  line-height: 1.4;
}

.footer {
  display: flex;
  justify-content: space-around;
  background: #1d1d1d;
  padding: 15px 0;
  border-radius: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-icon {
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
  padding: 5px;
}

.footer-icon i {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}

.footer-icon span {
  font-size: 11px;
}

.footer-icon.active {
  color: #35d7b1;
}

.footer-icon:hover {
  color: #35d7b1;
}

/* Media Queries para responsividade sem reduzir componentes */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 15px;
  }
  
  /* Manter tamanhos originais dos componentes */
  .card {
    margin-bottom: 20px;
  }
  
  /* Apenas ajustar layout quando necessário */
  .quick-service {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .quick-service button {
    flex: 1;
    min-width: calc(50% - 7.5px);
  }
  
  /* Footer responsivo mas mantendo tamanho */
  .footer {
    position: sticky;
    bottom: 0;
    margin-top: 30px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 10px;
  }
  
  /* Em telas muito pequenas, permitir scroll horizontal se necessário */
  .card-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* Botões em coluna apenas em telas muito pequenas */
  .quick-service {
    flex-direction: column;
  }
  
  .quick-service button {
    min-width: 100%;
    margin-bottom: 10px;
  }
  
  /* Ajustar apenas o container das transações */
  .income-spending {
    gap: 15px;
  }
}

/* Estilos para tabela de conjuntos */
.table-container {
  overflow-x: auto;
  margin-top: 10px;
}

#conjuntosTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

#conjuntosTable th,
#conjuntosTable td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#conjuntosTable th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

#conjuntosTable td small {
  display: block;
  opacity: 0.8;
  font-size: 10px;
}

#conjuntosTable button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 5px 8px;
  border-radius: 3px;
  color: white;
  cursor: pointer;
}

#conjuntosTable button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  padding-bottom: 120px; /* Espaço extra para evitar sobreposição com footer */
  box-sizing: border-box;
}

.modal-content {
  background-color: #1e1e1e;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 140px); /* Altura máxima considerando padding do overlay */
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #333;
}

.modal-header h3 {
  margin: 0;
  color: #35d7b1;
  font-size: 18px;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background-color: #333;
  color: white;
}

.modal-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 180px; /* Espaço ainda maior para garantir acesso aos botões acima do teclado */
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: white;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #35d7b1;
  box-shadow: 0 0 0 2px rgba(53, 215, 177, 0.2);
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-section-divider {
  margin: 25px 0 20px 0;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.form-section-divider h4 {
  margin: 0;
  color: #35d7b1;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
  padding: 20px;
  border-top: 1px solid #333;
  background-color: #1e1e1e;
  border-radius: 0 0 15px 15px;
  /* Removido position: sticky para acompanhar o scroll */
}

.form-actions button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

#cancel-viagem {
  background-color: #333;
  color: white;
}

#cancel-viagem:hover {
  background-color: #444;
}

#save-viagem {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  color: white;
}

#save-viagem:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(53, 215, 177, 0.3);
}

/* Botões do modal de perfil */
#cancel-perfil {
  background-color: #333;
  color: white;
}

#cancel-perfil:hover {
  background-color: #444;
}

#save-perfil {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  color: white;
}

#save-perfil:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(53, 215, 177, 0.3);
}

/* Responsividade do Modal */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 10px;
    padding-bottom: 140px; /* Espaço maior para mobile */
  }
  
  .modal-header, .modal-body {
    padding: 15px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-actions {
    flex-direction: column;
    padding: 15px;
  }
  
  .form-actions button {
    width: 100%;
  }
}

/* Divisor de seção no modal de perfil */
.form-section-divider {
  margin: 30px 0 20px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-divider h4 {
  margin: 0;
  color: #35d7b1;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Estilos específicos para despesas */
.despesa-opcoes {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.opcao-despesa {
  background: #2a2a2a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.opcao-despesa:hover {
  border-color: #35d7b1;
  background: #333;
  transform: translateY(-2px);
}

.opcao-despesa i {
  font-size: 32px;
  color: #35d7b1;
}

.opcao-despesa span {
  font-size: 16px;
  font-weight: bold;
}

.opcao-despesa small {
  font-size: 12px;
  opacity: 0.7;
}

.viagem-info {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.viagem-info h4 {
  margin: 0 0 10px 0;
  color: #35d7b1;
  font-size: 16px;
}

.viagem-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
}

textarea {
  resize: vertical;
  min-height: 60px;
}

@media (min-width: 481px) {
  .despesa-opcoes {
    flex-direction: row;
  }
  
  .opcao-despesa {
    flex: 1;
  }
}

/* Estilos para seção de viagem ativa */
.viagem-ativa-card {
  background: linear-gradient(135deg, #1a3d2e, #2a5d4a);
  border: 2px solid #35d7b1;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(53, 215, 177, 0.2);
}

.viagem-ativa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.viagem-ativa-header .header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.viagem-ativa-header h3 {
  margin: 0;
  color: #35d7b1;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  background: #35d7b1;
  color: #000;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.status-badge-editar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  padding: 5px 10px;
}

.status-badge-editar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.status-badge-editar:active {
  transform: translateY(0);
}

.status-badge-editar i {
  margin-right: 4px;
}

.viagem-ativa-info {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-row .label {
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
}

.info-row .value {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}

/* Seção de Comprovantes */
.comprovante-section {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.comprovante-section h4 {
  margin: 0 0 15px 0;
  color: #35d7b1;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comprovante-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-comprovante {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(53, 215, 177, 0.3);
}

.btn-comprovante:hover {
  background: linear-gradient(135deg, #2bc49e, #02634f);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(53, 215, 177, 0.4);
}

.btn-comprovante:active {
  transform: translateY(0);
}

.comprovantes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comprovante-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(53, 215, 177, 0.3);
}

.comprovante-item .info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
  font-size: 12px;
}

.comprovante-item .remove-btn {
  background: rgba(255, 59, 59, 0.2);
  color: #ff3b3b;
  border: none;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comprovante-item .remove-btn:hover {
  background: rgba(255, 59, 59, 0.4);
}

/* Modal de Comprovante */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background: #1a1a2e;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #35d7b1;
}

.modal-header {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: white;
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 20px;
}

.comprovante-options {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.option-btn {
  flex: 1;
  background: rgba(53, 215, 177, 0.1);
  border: 2px solid #35d7b1;
  color: #35d7b1;
  padding: 15px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background: rgba(53, 215, 177, 0.2);
  border-color: #2bc49e;
  color: #2bc49e;
}

.option-btn i {
  font-size: 20px;
}

.foto-preview {
  margin: 15px 0;
  text-align: center;
  position: relative;
}

.foto-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  border: 2px solid #35d7b1;
}

.foto-preview .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 59, 59, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.form-group {
  margin: 15px 0;
}

.form-group label {
  display: block;
  color: #e0e0e0;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #35d7b1;
  border-radius: 6px;
  background: rgba(53, 215, 177, 0.1);
  color: white;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #2bc49e;
  box-shadow: 0 0 0 2px rgba(53, 215, 177, 0.3);
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(53, 215, 177, 0.3);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-secondary {
  background: rgba(128, 128, 128, 0.2);
  color: #ccc;
  border: 1px solid #666;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(128, 128, 128, 0.3);
  color: white;
}

.btn-primary {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #2bc49e, #02634f);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: rgba(128, 128, 128, 0.3);
  color: #666;
  cursor: not-allowed;
  transform: none;
}

.finalizar-section {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
}

.finalizar-section h4 {
  margin: 0 0 15px 0;
  color: #35d7b1;
  font-size: 16px;
}

.finalizar-section .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.finalizar-section .form-group {
  flex: 1;
  margin-bottom: 0;
}

.finalizar-section .form-group label {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 5px;
}

.finalizar-section .form-group input {
  background: #1a1a1a;
  border: 1px solid #444;
  color: white;
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
}

.finalizar-section .form-group input:focus {
  border-color: #35d7b1;
  outline: none;
}

.btn-finalizar {
  width: 100%;
  background: linear-gradient(135deg, #35d7b1, #2bb896);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-finalizar:hover:not(:disabled) {
  background: linear-gradient(135deg, #2bb896, #35d7b1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(53, 215, 177, 0.3);
}

.btn-finalizar:disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsividade para seção de viagem ativa */
@media (max-width: 480px) {
  .viagem-ativa-card {
    padding: 15px;
    margin: 15px 0;
  }
  
  .viagem-ativa-header h3 {
    font-size: 16px;
  }
  
  .finalizar-section .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .status-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* ===== TELA DE LOGIN ===== */
.login-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Fundo com imagem personalizada */
  background-image: url('/fundo_app.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* Fallback caso imagem não carregue */
  background-color: #121212;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 210px;
  z-index: 9999;
  box-sizing: border-box;
}

.login-container {
  /* Container transparente - apenas organiza o layout */
  padding: 20px 30px 30px 30px;
  width: 90%;
  max-width: 400px;
  margin-bottom: 0;
}

.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-header i {
  font-size: 48px;
  color: #35d7b1;
  margin-bottom: 15px;
}

.login-header h1 {
  color: white;
  margin: 0 0 10px 0;
  font-size: 24px;
}

.login-header p {
  color: #e0e0e0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

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

.login-form label {
  display: block;
  color: white;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.login-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 10px;
  background: #2a2a2a;
  color: white;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.login-form input:focus {
  outline: none;
  border-color: #35d7b1;
}

.login-form input::placeholder {
  color: #666;
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #35d7b1, #03745d);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(53, 215, 177, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-error {
  background: #ff4444;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Animação de loading no botão */
.login-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.login-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   ESTILOS PARA UPLOAD DE FOTOS
   ======================================== */
.foto-upload-container {
  width: 100%;
}

.foto-upload-container.foto-dupla .camera-btn-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.foto-upload-container.foto-dupla .camera-btn-row .camera-btn {
  width: 100%;
}

.camera-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #35d7b1, #03745d);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.camera-btn:hover {
  background: linear-gradient(135deg, #2bc199, #02634f);
  transform: translateY(-2px);
}

.camera-btn i {
  font-size: 18px;
}

.foto-preview {
  position: relative;
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.foto-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.remove-photo-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-photo-btn:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

/* Responsivo para fotos */
@media (max-width: 480px) {
  .foto-preview img {
    height: 150px;
  }
  
  .camera-btn {
    padding: 12px;
    font-size: 14px;
  }
}

/* Auto-save indicator */
.autosave-indicator {
  font-size: 12px;
  color: #35d7b1;
  opacity: 0.8;
  animation: pulse 2s infinite;
  margin-top: 5px;
  display: block;
}

.autosave-indicator i {
  margin-right: 4px;
  font-size: 11px;
}

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

/* Responsivo */
@media (max-width: 480px) {
  .dashboard {
    padding: 15px;
  }
  
  .dashboard-header h1 {
    font-size: 20px;
  }
  
  .motorista-info,
  .conjunto-info,
  .acoes {
    padding: 15px;
  }
}

/* ========================================
   🎨 MODO SIMPLES - Interface Otimizada
   ======================================== */
.modo-simples-wrapper {
  width: 100%;
  padding: 20px 0;
}

.modo-simples-content {
  text-align: center;
  padding: 20px;
}

.modo-simples-titulo {
  font-size: 24px;
  font-weight: 700;
  color: #35d7b1;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.modo-simples-subtitulo {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 30px 0;
}

.modo-simples-botoes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.btn-simples {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
  border: 2px solid rgba(53, 215, 177, 0.3);
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-simples:active {
  transform: scale(0.98);
}

.btn-simples-primary {
  background: linear-gradient(135deg, #35d7b1, #03745d);
  border-color: #35d7b1;
}

.btn-simples-primary:hover {
  box-shadow: 0 6px 20px rgba(53, 215, 177, 0.4);
  border-color: #45e7c1;
}

.btn-simples-secondary:hover {
  background: linear-gradient(135deg, #2a2a2a, #333);
  border-color: rgba(53, 215, 177, 0.6);
}

.btn-simples-icon {
  font-size: 48px;
  margin-right: 20px;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.btn-simples-texto {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.btn-simples-titulo {
  font-size: 20px;
  font-weight: 700;
  color: white;
  display: block;
}

.btn-simples-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

/* Responsivo para telas menores */
@media (max-width: 380px) {
  .btn-simples-icon {
    font-size: 40px;
    width: 50px;
    margin-right: 15px;
  }
  
  .btn-simples-titulo {
    font-size: 18px;
  }
  
  .btn-simples-desc {
    font-size: 12px;
  }
  
  .modo-simples-titulo {
    font-size: 20px;
  }
}

/* Animação de entrada */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modo-simples-wrapper {
  animation: slideInUp 0.4s ease-out;
}

.btn-simples:nth-child(1) {
  animation: slideInUp 0.5s ease-out;
}

.btn-simples:nth-child(2) {
  animation: slideInUp 0.6s ease-out;
}

.btn-simples:nth-child(3) {
  animation: slideInUp 0.7s ease-out;
}
