@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

html, body, * {
    font-family: 'Montserrat', sans-serif !important;
}

.lni {
    font-family: 'LineIcons' !important;
}

footer {
    background-color: #142F3F;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}
footer p {
    font-size: 13px;
    margin: 18px 0;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}
.social-icons a {
    color: #fff;
    font-size: 28px;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icons a:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* ── Banner principal (base.html) ───────────────── */
.fvs-main-banner {
    height: 350px;
    background: url('../imagens/predio-fvs2.png') no-repeat center center / cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.fvs-main-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(26, 128, 70, 0.8);
    z-index: 2;
}

.top-bar-fvs-ajustada {
    position: absolute;
    top: 10px;
    left: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.top-bar-fvs-ajustada .logo {
    margin-top: 15px;
    margin-left: 20px;
}

.banner-overlay-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-title-fvs {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    z-index: 3;
}

.container-icones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.container-icones a { text-decoration: none; }

.icone img {
    height: 35px;
    vertical-align: middle;
    border-radius: 50%;
}

.user-text {
    color: #fff;
    margin-left: 5px;
    font-size: 16px;
    text-decoration: none;
}

/* ── Dropdown de usuário ──────────────────────── */
.user-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.user-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: opacity .2s;
}

.user-dropdown-trigger:hover { opacity: .85; }

.user-dropdown-trigger .user-icon {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.6);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    min-width: 230px;
    z-index: 9999;
    overflow: hidden;
    animation: dropdownFadeIn .15s ease;
}

.user-dropdown-menu.open { display: block; }

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown-header {
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.user-dropdown-header strong {
    font-size: 14px;
    font-weight: 700;
    color: #142F3F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-header span {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.user-dropdown-item:hover {
    background: #f3f4f6;
    color: #1a8046;
}