html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================================
   Welcome bar — Dashboard (Sessão 58 / F-01)
   ============================================================ */

.welcome-bar {
    background: linear-gradient(100deg, var(--clarix-navy, #0B1F4A) 0%, #1a3a6e 100%);
    color: #fff;
    border-radius: var(--radius, .5rem);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.07));
    flex-wrap: wrap;
}

.welcome-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 184, 217, .25);
    color: var(--clarix-cyan, #00B8D9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.welcome-text {
    flex: 1;
    min-width: 0;
}

.welcome-h {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.welcome-p {
    font-size: .85rem;
    opacity: .95;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    line-height: 1.5;
}

.welcome-sep {
    width: 4px; height: 4px;
    background: rgba(255,255,255,.4);
    border-radius: 50%;
    flex-shrink: 0;
}

.welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    background: rgba(255,255,255,.18);
    color: #fff;
    white-space: nowrap;
}

.welcome-chip-danger { background: rgba(239, 68, 68, .85); }
.welcome-chip-warn   { background: rgba(245, 158, 11, .85); }
.welcome-chip-info   { background: rgba(14, 165, 233, .85); }

.welcome-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.welcome-cta {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    padding: .55rem .85rem;
    border-radius: .4rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.welcome-cta:hover {
    background: rgba(255,255,255,.28);
    color: #fff;
}

.welcome-cta-danger {
    background: #ef4444;
    border-color: #ef4444;
}
.welcome-cta-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

@media (max-width: 576px) {
    .welcome-bar { padding: .85rem 1rem; }
    .welcome-actions { width: 100%; margin-top: .25rem; }
    .welcome-cta { flex: 1; justify-content: center; }
}