/*
 * Service TIC - ST-Cookies
 *
 * CSS do modal/overlay de consentimento.
 * - Posicionado fixo na parte inferior (centralizado)
 * - Sobreposição (overlay) para destaque na tela de login
 *
 * Licença: ver arquivo LICENSE.
 */

html.stcookies-noscroll, html.stcookies-noscroll body {
  overflow: hidden !important;
}

#stcookies-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 99999;
}

#stcookies-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px;
  display: flex;
  justify-content: center;
}

#stcookies-box {
  width: min(920px, calc(100vw - 24px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 16px 18px 14px 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1f2937;
  text-align: center; /* message centered */
}

#stcookies-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

#stcookies-message {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 8px;
}

#stcookies-toggle {
  display: inline-block;
  margin: 6px 0 10px 0;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

#stcookies-details {
  text-align: left;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 12px;
  margin: 10px auto 12px auto;
  background: #f9fafb;
  max-height: 45vh;
  overflow: auto;
}

.stcookies-section-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.stcookies-section ul {
  margin: 6px 0 10px 18px;
}

.stcookies-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #374151;
  background: #ffffff;
  margin-left: 6px;
}

.stcookies-badge-req {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.stcookies-muted {
  margin: 6px 0 10px 0;
  color: #4b5563;
}

.stcookies-note {
  font-size: 12px;
  color: #4b5563;
  margin-top: 8px;
}

.stcookies-warn {
  margin: 8px 0 10px 0;
  padding: 10px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
}

#stcookies-actions-wrap {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
}

#stcookies-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

#stcookies-actions button {
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  min-width: 110px;
}

#stcookies-actions button:active {
  transform: translateY(1px);
}

