/* Formulário de OS */
.sc-form-os {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
.sc-form-os label {
  flex: 1 1 calc(50% - 15px);
  display: flex;
  flex-direction: column;
  font-weight: bold;
}
.sc-form-os input,
.sc-form-os select,
.sc-form-os textarea,
.sc-form-os button {
  margin-top: 5px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.sc-form-os button {
  background: #00d9ff;
  color: #1a1a2e;
  border: none;
  cursor: pointer;
}
.sc-form-os button:hover {
  background: #00c4e6;
}

/* Tabela de produtos na OS */
#produtos-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#produtos-table th,
#produtos-table td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}
#produtos-table th {
  background: #336699;
  color: #E0F7FF;
}

/* Cards de listagem de OS */
.sc-list-os {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.sc-card {
  background: #fff;
  color: #1a1a2e;
  border-radius: 8px;
  padding: 15px;
  width: 260px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-card-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.sc-card-buttons button {
  flex: 1;
  padding: 6px 8px;
  background: #00d9ff;
  color: #1a1a2e;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.sc-card-buttons button:hover {
  background: #00c4e6;
}

/* Responsivo */
@media (max-width:768px){
  .sc-form-os label { flex:1 1 100%; }
  .sc-list-os { flex-direction: column; align-items: center; }
  .sc-card { width: 90%; }
}


/* =====================
   Container geral e título
   ===================== */
.main-os {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.page-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #E0F7FF;
}

/* =====================
   Caixa de formulário
   ===================== */
.filter-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

/* =====================
   Grid interno do form
   ===================== */
.sc-form-os {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.sc-form-os label {
  flex: 1 1 calc(50% - 15px);
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #E0F7FF;
}
.sc-form-os input,
.sc-form-os select,
.sc-form-os textarea {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
}

/* =====================
   Botões
   ===================== */
.sc-form-os .sc-submit-btn,
.filter-container button,
.sc-form-os button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #00d9ff;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.3s;
}
.sc-form-os .sc-submit-btn:hover,
.filter-container button:hover {
  background: #00bcd4;
}

/* =====================
   Tabela de produtos
   ===================== */
#produtos-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#produtos-table th,
#produtos-table td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}
#produtos-table th {
  background: #336699;
  color: #E0F7FF;
}

/* =====================
   Responsividade
   ===================== */
@media (max-width:768px) {
  .sc-form-os label { flex: 1 1 100%; }
}


/* === Container + título === */
.main-os {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.page-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #E0F7FF;
}

/* === Caixa “filtro” === */
.filter-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

/* === Grid interno do form === */
.sc-form-os {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.sc-form-os label {
  flex: 1 1 calc(50% - 15px);
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #E0F7FF;
}
.sc-form-os input,
.sc-form-os select,
.sc-form-os textarea {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
}

/* === Botões iguais ao PMOC === */
.sc-form-os button,
.filter-container button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #00d9ff;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.3s;
}
.sc-form-os button:hover,
.filter-container button:hover {
  background: #00bcd4;
}

/* === Tabela de produtos estilizada === */
#produtos-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#produtos-table th,
#produtos-table td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}
#produtos-table th {
  background: #336699;
  color: #E0F7FF;
}

/* === Responsivo === */
@media (max-width:768px) {
  .sc-form-os label { flex: 1 1 100%; }
}


/* === Replica o estilo PMOC no form de OS === */
.main-os {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.page-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #E0F7FF;
}
.filter-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}
.sc-form-os {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.sc-form-os label {
  flex: 1 1 calc(50% - 15px);
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #E0F7FF;
}
.sc-form-os input,
.sc-form-os select,
.sc-form-os textarea {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
}
.sc-form-os button,
.filter-container button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #00d9ff;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.3s;
}
.sc-form-os button:hover,
.filter-container button:hover {
  background: #00bcd4;
}
#produtos-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#produtos-table th,
#produtos-table td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}
#produtos-table th {
  background: #336699;
  color: #E0F7FF;
}
/* responsivo */
@media (max-width:768px) {
  .sc-form-os label { flex: 1 1 100%; }
}
