/* WK Hub - tema profissional: texto preto, fundo branco, destaque azul da marca */

:root,
[data-theme="wkhub"] {
  color-scheme: light;
  --color-base-100: #ffffff;
  --color-base-200: #f6f7f9;
  --color-base-300: #e3e6eb;
  --color-base-content: #0a0a0a;
  --color-primary: #0a0a0a;
  --color-primary-content: #ffffff;
  --color-secondary: #0057ff;
  --color-secondary-content: #ffffff;
  --color-accent: #0057ff;
  --color-accent-content: #ffffff;
  --color-neutral: #111827;
  --color-neutral-content: #ffffff;
  --color-info: #0057ff;
  --color-info-content: #ffffff;
  --color-success: #047857;
  --color-success-content: #ffffff;
  --color-warning: #b45309;
  --color-warning-content: #ffffff;
  --color-error: #b91c1c;
  --color-error-content: #ffffff;
  --radius-selector: 0.25rem;
  --radius-field: 0.375rem;
  --radius-box: 0.5rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 0;
  --noise: 0;
}

body {
  background: #ffffff;
  color: #0a0a0a;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* A logo é um quadrado com margens brancas: recorta apenas a marca */
.brand-logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
  aspect-ratio: 547 / 365;
  flex-shrink: 0;
}
.brand-logo img {
  position: absolute;
  max-width: none;
  width: 128.5%;
  left: -14.3%;
  top: -50.7%;
}

.field-error { color: #b91c1c; font-size: 0.8125rem; margin-top: 0.25rem; overflow-wrap: break-word; }
.text-muted { color: #4b5563; }

/* Contenção de quadros (cards), formulários e textos no painel (compatibilidade DaisyUI 5) */
.card,
.card-body {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card-title {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.35;
  min-width: 0;
}

.form-control {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.label:not(.input > .label, .select > .label) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
  height: auto;
  line-height: 1.35;
}

.label-text {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.35;
  min-width: 0;
  max-width: 100%;
}

.form-control > .input,
.form-control > .select,
.form-control > .textarea,
.form-control > .file-input,
.input.w-full,
.select.w-full,
.textarea.w-full,
.file-input.w-full {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.dropdown-content {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}
