/* --- Blocos de contato Atendimento --- */
.atendimento-contato-wrapper {
    margin-top: 40px;
    margin-bottom: 24px;
}
.atendimento-contato-titulo {
    font-size: 1.25rem;
    color: #174a3c;
    font-weight: 600;
    margin-bottom: 18px;
}
.atendimento-contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.atendimento-contato-card {
    background: #f6faf7;
    border-radius: 14px;
    padding: 18px 22px 14px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(23,74,60,0.06);
    min-height: 80px;
}
.atendimento-contato-card-email {
    grid-column: span 2;
}
.atendimento-contato-icone {
    font-size: 2.1rem;
    color: #174a3c;
    margin-top: 2px;
}
.atendimento-contato-info {
    font-size: 1.08rem;
    font-weight: 700;
    color: #174a3c;
    margin-bottom: 2px;
}
.atendimento-contato-info a {
    color: #174a3c;
    text-decoration: none;
}
.atendimento-contato-info a:hover {
    text-decoration: underline;
}
.atendimento-contato-label {
    font-size: 1rem;
    color: #174a3c;
    font-weight: 400;
    margin-top: 2px;
}
/* --- ATENDIMENTO --- */
.atendimento-header-gradient {
    background: linear-gradient(90deg, #174a3c 0%, #7a8c3a 100%);
    padding: 38px 0 24px 0;
    margin-bottom: 0;
}
.atendimento-container {
    max-width: 900px;
    margin-top: 0;
}
.atendimento-fundo-branco {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(23,74,60,0.08);
    padding: 40px 36px 28px 36px;
}
.atendimento-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #174a3c;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.atendimento-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}
.atendimento-btn {
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 22px;
    border: none;
    box-shadow: 0 2px 8px rgba(23,74,60,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-novo {
    background: #174a3c;
    color: #fff;
}
.btn-novo:hover {
    background: #218c5b;
    color: #fff;
}
.btn-lista {
    background: #e2b800;
    color: #174a3c;
}
.btn-lista:hover {
    background: #ffd700;
    color: #174a3c;
}
.btn-enviar {
    background: #218c5b;
    color: #fff;
    margin-top: 8px;
}
.btn-enviar:hover {
    background: #174a3c;
    color: #fff;
}
.atendimento-box {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(23,74,60,0.07);
    padding: 24px 22px 18px 22px;
    margin-bottom: 18px;
}
.atendimento-lista {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}
.atendimento-lista-item {
    font-size: 1.08rem;
    padding: 8px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}
.atendimento-lista-item.aberto {
    color: #218c5b;
    font-weight: 600;
}
.atendimento-lista-item.resolvido {
    color: #174a3c;
    font-weight: 500;
}
.form-group label {
    font-weight: 500;
    color: #174a3c;
}
.form-control {
    border-radius: 7px;
    border: 1px solid #e2b800;
    font-size: 1rem;
    padding: 8px 12px;
    margin-top: 4px;
}
.form-control:focus {
    border-color: #218c5b;
    outline: none;
    box-shadow: 0 0 0 2px #e2b80033;
}
h4 {
    color: #218c5b;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
:root {
    --abt-green-dark: #01321F;
    --abt-green-primary: #01321F;
    --abt-gold: #d4af37;
    --abt-gold-light: #e6c759;
    --abt-card-bg: #ffffff;
    --text-secondary: #6c7a7a;
    --border-color: #e0e7e3;
    --shadow-main: 0 4px 20px rgba(1, 50, 31, 0.08);
    --shadow-hover: 0 8px 30px rgba(1, 50, 31, 0.12);
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.1);
    --highlight-bg: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background: linear-gradient(135deg, #01321F 0%, #d4af37 100%);
    line-height: 1.6;
    min-height: 100vh;
}

.container-abt { max-width: 1400px; }

/* --- NAVBAR --- */
.navbar {
    background: transparent; padding: 1.5rem 0; border-bottom: 3px solid var(--abt-gold);
    box-shadow: none;
}
.navbar-left { display: flex; align-items: center; gap: 2rem; max-width: 75%; min-width: 0; }
.navbar-brand {
    display: flex; align-items: center; gap: 1rem; color: white !important;
    font-weight: 800; font-size: 1.5rem; margin: 0; padding: 0;
}
.logo-img { height: 48px; }
.client-details-left {
    display: flex; flex-direction: column; align-items: flex-start;
    line-height: 1.2; color: white; min-width: 0;
}
.client-name-navbar {
    font-size: 0.9rem; font-weight: 700; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.client-cnpj-navbar { font-size: 0.8rem; font-weight: 500; color: var(--abt-gold-light); }
.navbar-right { display: flex; align-items: center; gap: 1.5rem; }
.account-details-right {
    display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2;
}
.account-details-right span { font-size: 0.8rem; font-weight: 600; color: var(--abt-gold); }

.btn-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: none; border-radius: 8px;
    text-decoration: none; transition: all 0.3s ease; opacity: 0.9;
}
.btn-icon.btn-logout {
     background: linear-gradient(135deg, #d4af37, #b8941f); color: #01321F;
}
.btn-icon.btn-profile {
    background-color: var(--abt-gold); color: var(--abt-green-dark); font-size: 1rem;
}
.btn-icon:hover { opacity: 1; filter: brightness(1.05); }

/* --- NOTIFICAÇÕES --- */
.notification-container { position: relative; z-index: 1030; }
.notification-bell { position: relative; color: white; font-size: 1.5rem; cursor: pointer; }
.notification-badge {
    position: absolute; top: -5px; right: -8px; background-color: #ff4d4f;
    color: white; border-radius: 50%; width: 20px; height: 20px;
    font-size: 0.7rem; font-weight: 700; display: grid; place-items: center;
}
.dropdown-menu-notifications { width: 350px; padding: 1rem; }
.notification-item { border-bottom: 1px solid var(--border-color); padding: 0.75rem 0; }
.notification-item:last-child { border-bottom: none; }
.notification-item .text { font-size: 0.9rem; margin-bottom: 0.25rem; }
.notification-item .time { font-size: 0.75rem; color: var(--text-secondary); }

/* --- MENU SECUNDÁRIO --- */
.secondary-navbar {
    background-color: var(--abt-card-bg);
    box-shadow: var(--shadow-subtle);
    padding: 0; position: sticky; top: 0; z-index: 1020;
}
.nav-links { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav-links a {
    display: block; padding: 1rem 0; text-decoration: none;
    color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
    border-bottom: 3px solid transparent; transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--abt-green-dark); }
.nav-links a.active { color: var(--abt-green-dark); border-bottom-color: var(--abt-green-dark); }

/* --- SEÇÃO DE TÍTULO --- */
.page-header-container { padding: 2.5rem 0; color: #FFFFFF; }
.page-header { display: flex; justify-content: space-between; align-items: center; }
.page-title h1 { font-weight: 700; font-size: 1.8rem; margin: 0; }
.page-title p { font-weight: 500; font-size: 0.9rem; opacity: 0.8; margin: 0; }
.breadcrumbs { font-size: 0.8rem; font-weight: 600; opacity: 0.7; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs .separator { margin: 0 0.5rem; }

/* --- LAYOUT PRINCIPAL E CARDS --- */
.main-content-area { padding-bottom: 3rem; }
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 2rem; }

.data-card {
    background: var(--abt-card-bg); border-radius: 16px; padding: 2rem;
    box-shadow: var(--shadow-main); border: 1px solid var(--border-color);
    position: relative; overflow: hidden; color: var(--abt-green-dark);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.data-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.data-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--abt-green-primary) 0%, var(--abt-gold) 100%);
}

.section-title {
    display:flex;
    align-items:center;
    gap:.75rem;
    font-size:1.3rem;
    font-weight:600;
    margin-bottom:1.5rem;
    padding-bottom:.75rem;
    border-bottom:2px solid var(--border-color);
}
.section-title i { color:var(--abt-gold); }

.data-item {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 0.75rem 0.5rem;
    margin: 0 -0.5rem;
    border-bottom:1px solid #f0f0f0;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
}
.data-card:not(.highlight-card) .data-item:hover { background-color: var(--highlight-bg); }
.data-item:last-child { border-bottom:none; }

.data-label { 
    font-weight:500;
    color:var(--text-secondary);
    font-size:.95rem; 
}
.tooltip-icon {
    font-size: 0.8rem;
    color: #adb5bd;
    cursor: help;
    margin-left: 0.5rem; 
}

.data-value {
    font-weight:600;
    font-size:1rem;
    text-align:right;
    flex:1;
}
.data-value.money { font-weight:700; }

.highlight-card {
    background:var(--abt-green-dark);
    color:#fff;
}
.highlight-card .section-title,
.highlight-card .data-value {
    color:#fff;
}
.highlight-card .section-title { border-bottom-color:rgba(255,255,255,.2); }
.highlight-card .data-label { color:rgba(255,255,255,.9); }
.highlight-card .data-value.money { color:var(--abt-gold-light); }
.highlight-card .data-item { border-bottom-color:rgba(255,255,255,.1); }
.highlight-card .data-item:hover { background-color: rgba(255, 255, 255, 0.1); }

.value-indicator {
    width:8px;
    height:8px;
    border-radius:50%;
    margin-left:.75rem;
    flex-shrink:0;
}
.value-indicator.present { background:#10b981; }
.value-indicator.missing { background:#ef4444; }

.fade-in { animation:fadeIn .6s ease-in-out; }
@keyframes fadeIn {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}

@media (max-width:1250px) {
    .client-details-left,
    .account-details-right { display:none; }
    .navbar-left { max-width:none; }
}
@media (max-width:768px) {
    .main-content-area { padding-top:2rem; }
    .data-card { padding:1.5rem; }
    .navbar-brand { font-size:1.2rem; }
}

