/* Ajustes de UI sobre o tema Jobick — não substitui style.css */

/* Jobick usa height: calc(100% - 30px) nos cards (grade do dashboard).
   Nas telas empilhadas isso estica o card e deixa um vazio enorme. */
.content-body .card {
    height: auto;
}

.nav-header .brand-title-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d4461;
    line-height: 1.15;
    margin-left: 0.35rem;
}
.nav-header .brand-title-text span {
    color: #f73a0b;
}
.nav-header .brand-title-text small {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    color: #888ea8;
    letter-spacing: 0.02em;
}
.menu-toggle .nav-header .brand-title-text {
    display: none;
}
[data-theme-version="dark"] .nav-header .brand-title-text {
    color: #fff;
}
[data-theme-version="dark"] .filter-toolbar,
[data-theme-version="dark"] .table-clients-wrap {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.import-toggle-icon {
    color: #888ea8;
    transition: transform 0.2s ease;
}
#btn-toggle-import[aria-expanded="true"] .import-toggle-icon {
    transform: rotate(180deg);
}
#btn-toggle-import {
    text-decoration: none;
    cursor: pointer;
}
#import-excel-body.collapse:not(.show) {
    display: none !important;
}

.dlabnav-scroll {
    padding-top: 0.75rem;
}

.page-titles {
    margin-bottom: 1rem;
}

.filter-toolbar {
    background: #f8f9fd;
    border: 1px solid #eeeef5;
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
}

.placeholder-chip {
    display: inline-block;
    background: var(--rgba-primary-1, #ffe7db);
    color: #f73a0b;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.75rem;
    font-family: Consolas, Monaco, monospace;
    margin: 0.1rem 0.15rem 0.1rem 0;
    cursor: pointer;
    line-height: 1.4;
}
button.placeholder-chip {
    appearance: none;
    -webkit-appearance: none;
}
.placeholder-chip:hover,
.placeholder-chip:focus {
    background: #f73a0b;
    color: #fff;
    outline: none;
}

.emoji-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.emoji-chip {
    appearance: none;
    -webkit-appearance: none;
    background: #f8f9fd;
    border: 1px solid #eeeef5;
    border-radius: 0.4rem;
    padding: 0.15rem 0.4rem;
    font-size: 1.15rem;
    line-height: 1.3;
    cursor: pointer;
}
.emoji-chip:hover,
.emoji-chip:focus {
    background: #ffe7db;
    border-color: #f73a0b;
    outline: none;
}

.message-composer-row > [class*="col-"] {
    display: flex;
}
.message-composer-input,
.message-preview-phone {
    flex: 1 1 auto;
    width: 100%;
    min-height: 240px;
    height: 100%;
}
.message-composer-input {
    resize: vertical;
}
.message-preview-phone {
    background: #e5ddd5;
    border-radius: 0.5rem;
    padding: 1rem;
}
.message-preview-bubble {
    background: #dcf8c6;
    color: #111;
    border-radius: 0.55rem 0.15rem 0.55rem 0.55rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}
.message-preview-empty {
    color: #667781;
    font-style: italic;
}

[data-theme-version="dark"] .emoji-chip {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme-version="dark"] .message-preview-phone {
    background: #0b141a;
}
[data-theme-version="dark"] .message-preview-bubble {
    background: #005c4b;
    color: #e9edef;
}
[data-theme-version="dark"] .message-preview-empty {
    color: #8696a0;
}

.campaign-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.campaign-card:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(61, 68, 97, 0.08);
}
.campaign-card .campaign-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.table-clients-wrap {
    max-height: 320px;
    overflow: auto;
    border: 1px solid #eeeef5;
    border-radius: 0.5rem;
}
.table-clients-wrap thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.stat-mini .card-body {
    padding: 1.15rem 1.25rem;
}

.upload-hint {
    font-size: 0.8rem;
    color: #888ea8;
}

.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}
.empty-state i {
    font-size: 2.5rem;
    color: #f73a0b;
    opacity: 0.7;
}

.modal .progress {
    height: 0.85rem;
    border-radius: 1rem;
}

.form-check-input:checked {
    background-color: #f73a0b;
    border-color: #f73a0b;
}

.auth-body {
    min-height: 100vh;
    background: #f8f9fd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.auth-wrap {
    width: 100%;
    max-width: 420px;
}
.auth-card {
    border: 0;
    box-shadow: 0 0.75rem 2rem rgba(61, 68, 97, 0.08);
}
.auth-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3d4461;
    letter-spacing: -0.02em;
}
.auth-brand span {
    color: #f73a0b;
}
