/* === Estilos Gerais do Plugin Orçamento === */

/* Container principal (caso tenha wrappers) */
.wocnpj-container {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  max-width: 480px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Botão Orçamento */
a.button.alt {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none;
  background: var(--wocnpj-btn-bg, #0071a1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 161, 0.3);
  border: none;
  cursor: pointer;
  user-select: none;
}
a.button.alt:hover,
a.button.alt:focus {
  background: var(--wocnpj-btn-hover, #005d7a);
  box-shadow: 0 6px 18px rgba(0, 93, 122, 0.5);
  outline: none;
}

/* Mensagens de alerta e aviso */
.wocnpj-message {
  font-size: 0.9rem;
  padding: 0.8em 1em;
  border-radius: 5px;
  margin: 1rem 0;
  line-height: 1.4;
}
.wocnpj-message.error {
  background: #ffe1e6;
  color: #b00020;
  border: 1px solid #b00020;
}
.wocnpj-message.success {
  background: #e6ffed;
  color: #2d6a4f;
  border: 1px solid #2d6a4f;
}

/* Formulários de orçamento */
.wocnpj-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #444;
  font-size: 0.95rem;
}
.wocnpj-form input[type="text"],
.wocnpj-form input[type="email"],
.wocnpj-form input[type="tel"],
.wocnpj-form input[type="number"],
.wocnpj-form textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  margin-bottom: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s ease;
}
.wocnpj-form input:focus,
.wocnpj-form textarea:focus {
  border-color: #0071a1;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 113, 161, 0.4);
}

/* Botão dentro do formulário */
.wocnpj-form button {
  background: var(--wocnpj-btn-bg, #0071a1);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75em 1.5em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.wocnpj-form button:hover,
.wocnpj-form button:focus {
  background: var(--wocnpj-btn-hover, #005d7a);
  box-shadow: 0 6px 18px rgba(0, 93, 122, 0.5);
  outline: none;
}

/* Links dentro do plugin */
.wocnpj-link {
  color: #0071a1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}
.wocnpj-link:hover,
.wocnpj-link:focus {
  color: #005d7a;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 480px) {
  .wocnpj-container {
    margin: 1rem;
    padding: 1rem;
  }
  a.button.alt,
  .wocnpj-form button {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 1em;
  }
}
.wocnpj-carrinho-wrap {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.05);
    font-family: "Segoe UI", sans-serif;
}
.wocnpj-carrinho-wrap h2 {
    margin-top: 0;
    font-size: 1.5rem;
}
.wocnpj-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.wocnpj-tabela th, .wocnpj-tabela td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: left;
}
.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.remove-btn:hover {
    background: #c0392b;
}
.wocnpj-botoes {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.btn-voltar, .btn-finalizar {
    background: #0071a1;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}
.btn-voltar:hover, .btn-finalizar:hover {
    background: #005f86;
}
