.breadcrumb {
    padding: 5px 15px;
    background-color: #fff;
    border-width: 0 1px 4px;
    margin: 0 0 15px;
    border-radius: 10px;
}

/* Base visual reutilizável para migração das views legadas */
.box-title,
.dash-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.dash-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 14px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    margin: -6px;
}

.filter-item {
    flex: 1 1 200px;
    min-width: 180px;
    padding: 6px;
    box-sizing: border-box;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="password"],
select,
textarea {
    border-radius: 10px;
    border: 1px solid #ddd;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="password"],
select {
    height: 36px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #008ce1;
    box-shadow: 0 0 0 2px rgba(0, 140, 225, 0.12);
    outline: none;
}

.btn-primary-full {
    width: 100%;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #008ce1;
    background: #008ce1;
    color: #fff;
    font-weight: 700;
    transition: all 0.16s ease-in-out;
}

.btn-primary-full:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px rgba(0, 140, 225, 0.18);
}

.btn-search {
    height: 36px;
    border-radius: 10px;
    border: 1px solid #008ce1;
    background: #008ce1;
    color: #fff;
    font-weight: 700;
    padding: 0 14px;
    transition: all 0.16s ease-in-out;
}

.btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px rgba(0, 140, 225, 0.18);
}

.kpi-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    font-size: 12px;
    line-height: 1.2;
    color: #444;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

.table-modern th,
.table-modern td {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.table-compact th,
.table-compact td,
.text-small {
    font-size: 12px;
    line-height: 1.3;
}

.table-nowrap {
    white-space: nowrap;
}

.table-break {
    white-space: normal;
    word-break: break-word;
}
