/* =========================================================
   Makrosites Tools - Base UI (para todas as ferramentas)
   Arquivo: /assets/tools/css/tools.css
   ========================================================= */

:root{
  --tool-max: 980px;
  --tool-radius: 16px;
  --tool-radius-sm: 12px;

  --tool-border: rgba(255,255,255,.12);
  --tool-bg: rgba(255,255,255,.06);
  --tool-bg-2: rgba(255,255,255,.10);

  --tool-shadow: 0 10px 30px rgba(0,0,0,.20);
  --tool-shadow-soft: 0 8px 22px rgba(0,0,0,.14);

  --tool-focus: 0 0 0 4px rgba(255,255,255,.06);
}

/* Container central */
.tools-wrap{
  max-width: var(--tool-max);
  margin: 0 auto 28px auto;
}

/* Hero/Topo (padrão bonito) */
.tools-hero{
  max-width: var(--tool-max);
  margin: 0 auto 18px auto;
  border: 1px solid var(--tool-border);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius: var(--tool-radius);
  box-shadow: var(--tool-shadow-soft);
  padding: 16px;
}

.tools-hero .tools-hero-row{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}

.tools-hero .tools-hero-icon{
  width:90px;
  height:90px;
  object-fit:contain;
  border-radius:12px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.10);
  padding: 10px;
}

.tools-hero .tools-hero-desc{
  flex:1;
  min-width:260px;
  opacity:.95;
}

/* Card padrão (usa .post-card sem quebrar seu tema) */
.tools-card{
  border: 1px solid var(--tool-border);
  background: linear-gradient(180deg, var(--tool-bg), rgba(255,255,255,.03));
  border-radius: var(--tool-radius);
  box-shadow: var(--tool-shadow);
  overflow: hidden;
}

.tools-card .tools-card-body{
  padding: 22px;
}

/* Títulos */
.tools-card h3{
  font-size: 1.15rem;
  margin: 0 0 10px 0;
  letter-spacing: .2px;
}

/* Texto auxiliar */
.tools-muted{
  opacity: .9;
}

/* Labels */
.tools-card label{
  font-weight: 600;
  opacity: .96;
  display:block;
  margin: 10px 0 6px;
}

/* Inputs/textarea (padrão consistente) */
.tools-input{
  width: 100%;
  border-radius: var(--tool-radius-sm);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  padding: 12px 14px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease, transform .05s ease;
}

.tools-input:focus{
  border-color: rgba(255,255,255,.32);
  box-shadow: var(--tool-focus);
}

/* Ações / botões */
.tools-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.tools-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  color: inherit;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: var(--tool-shadow-soft);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease, border .2s ease;
  user-select: none;
}

.tools-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.26);
}

.tools-btn:active{
  transform: translateY(0);
  opacity: .92;
}

.tools-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Preview box padrão */
.tools-preview{
  margin-top: 18px;
  display:none;
}

.tools-preview-box{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  box-shadow: var(--tool-shadow-soft);
}

/* Separador */
.tools-hr{
  border: none;
  height: 1px;
  background: rgba(255,255,255,.14);
  margin: 18px 0;
}

/* Links */
.tools-card a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsivo */
@media (max-width: 520px){
  .tools-card .tools-card-body{ padding: 16px; }
  .tools-hero{ padding: 14px; }
  .tools-hero .tools-hero-icon{ width:76px; height:76px; }
}
/* CSS Document */

