:root {
  --cor-fundo: #F9FAFB;
  --cor-card: #FFFFFF;
  --cor-primaria: #3B82F6;
  --cor-sucesso: #22C55E;
  --cor-alerta: #FACC14;
  --cor-erro: #F87171;
  --cor-texto: #111827;
  --cor-texto-suave: #6B7280;
  --radius: 12px;
  --espacamento: 1rem;
  --sombra: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recifes-marketplace {
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

.recifes-marketplace .card {
  background-color: var(--cor-card);
  border-radius: var(--radius);
  padding: var(--espacamento);
  box-shadow: var(--sombra);
  margin-bottom: 1.5rem;
}

.recifes-marketplace h1,
.recifes-marketplace h2,
.recifes-marketplace h3 {
  color: var(--cor-texto);
  margin-bottom: 1rem;
}

.recifes-marketplace a {
  color: var(--cor-primaria);
  text-decoration: none;
}

.recifes-marketplace a:hover {
  text-decoration: underline;
}

.recifes-marketplace .button,
.recifes-marketplace button {
  background-color: var(--cor-primaria);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.recifes-marketplace button:hover {
  background-color: #2563EB;
}

.recifes-marketplace input,
.recifes-marketplace select,
.recifes-marketplace textarea {
  background-color: #F3F4F6;
  color: var(--cor-texto);
  border: 1px solid #D1D5DB;
  border-radius: var(--radius);
  padding: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

.recifes-marketplace .label {
  display: block;
  font-size: 0.9rem;
  color: var(--cor-texto-suave);
  margin-bottom: 0.25rem;
}

.recifes-marketplace .alert {
  border-left: 4px solid var(--cor-alerta);
  background-color: #FEF9C3;
  color: #92400E;
  padding: var(--espacamento);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.recifes-marketplace .empresa-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.recifes-marketplace .empresa-logo-container {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F4F6;
  border-radius: 12px;
  overflow: hidden;
}


.recifes-marketplace .empresa-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #E5E7EB;
}

.recifes-marketplace .empresa-nome {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--cor-texto);
  margin-bottom: 0.25rem;
}

/* --- EDIÇÃO DE PRODUTO (MODAL) --- */

#recifes-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}
#recifes-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    font-family: 'Segoe UI', sans-serif;
}
.recifes-fechar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}
.recifes-fechar:hover {
    color: #000;
}
label.label {
    display: block;
    margin: 1rem 0 0.3rem;
    font-weight: 600;
    color: #333;
}
input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
}
button[type="submit"] {
    margin-top: 1.5rem;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
button[type="submit"]:hover {
    background: #218838;
}

