/* Estilização geral */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f9f9f9; } header { background-color: #0056b3; color: white; padding: 20px; text-align: center; font-size: 24px; font-weight: bold; border-bottom: 5px solid #003d80; } nav { background-color: #007bff; display: flex; justify-content: center; padding: 10px 0; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } nav ul { list-style-type: none; padding: 0; margin: 0; display: flex; gap: 15px; } nav ul li a { text-decoration: none; color: white; padding: 10px 20px; border-radius: 5px; font-weight: bold; transition: background-color 0.3s ease; } nav ul li a.active, nav ul li a:hover { background-color: #003d80; } main { max-width: 1200px; margin: 0 auto; padding: 20px; } h2 { color: #0056b3; border-bottom: 2px solid #ddd; padding-bottom: 5px; margin-bottom: 20px; } /* Tabela estilizada */ table { width: 100%; border-collapse: collapse; margin-top: 10px; background-color: white; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); border-radius: 5px; overflow: hidden; } table th, table td { border: 1px solid #ddd; padding: 8px; text-align: left; } table th { background-color: #0056b3; color: white; text-align: center; } table td { vertical-align: top; } /* Ajustar larguras específicas */ table th:nth-child(1), table td:nth-child(1) { width: 5%; /* Selecionar */ text-align: center; } table th:nth-child(2), table td:nth-child(2) { width: 12%; /* Nº Pedido */ } table th:nth-child(7), table td:nth-child(7) { width: 30%; /* Descrição */ } table th:nth-child(8), table td:nth-child(8) { width: 15%; /* Data */ } table th:nth-child(9), table td:nth-child(9) { width: 15%; /* Utilizador */ } /* Cores para estados */ .tr-status-0 { background-color: lightgreen; } .tr-status-1 { background-color: lightyellow; } .tr-status-2 { background-color: lightblue; } .tr-status-3 { background-color: lightsalmon; } .tr-status-4 { background-color: thistle; } .tr-status-5 { background-color: lightcoral; } .tr-status-6 { background-color: lightgray; } /* Estilizar linha selecionada */ tr.selected { background-color: #d1ecf1; color: #0c5460; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; } /* Estilo dos botões de rádio */ td input[type="radio"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 2px solid #ced4da; border-radius: 50%; outline: none; cursor: pointer; margin: 0 auto; display: block; } td input[type="radio"]:checked { background-color: #17a2b8; border-color: #138496; } /* Botões */ .button-container { display: flex; gap: 10px; margin-bottom: 20px; } .button-container button { padding: 10px 15px; border: none; border-radius: 5px; font-size: 14px; cursor: pointer; color: white; transition: background-color 0.3s ease; } .btn-novo { background-color: #28a745; border: 1px solid #218838; } .btn-novo:hover { background-color: #218838; } .btn-pdf { background-color: #dc3545; border: 1px solid #c82333; } .btn-pdf:hover { background-color: #c82333; } .btn-atualizar { background-color: #007bff; border: 1px solid #0056b3; } .btn-atualizar:hover { background-color: #0056b3; } .btn-analise { background-color: #ffc107; border: 1px solid #e0a800; } .btn-analise:hover { background-color: #e0a800; } .btn-pecas { background-color: #f39c12; border: 1px solid #d68910; } .btn-pecas:hover { background-color: #d68910; } .btn-cancelar { background-color: #dc3545; border: 1px solid #c82333; } .btn-cancelar:hover { background-color: #c82333; } footer { text-align: center; padding: 10px; background-color: #0056b3; color: white; margin-top: 20px; font-size: 14px; }