/* ================================================
   HEADER PADRÃO - MVI Saúde
   Estilos unificados para todas as páginas
   ================================================ */

.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #007c8c !important;
    padding: 0.75rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border: none !important;
    margin-bottom: 0 !important;
    z-index: 1000 !important;
}

.header .container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.header .logo {
    flex: 1;
}

.header .logo img {
    height: 40px !important;
    width: auto !important;
}

.header .logo a {
    display: flex;
    align-items: center;
}

.header .user-greeting {
    color: white !important;
    font-size: 0.95rem;
    margin-right: 1rem;
}

.header .btn-logout {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    border: none !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header .btn-logout:hover {
    background: rgba(255,255,255,0.3) !important;
    color: white !important;
}

.header .btn-logout i {
    font-size: 1rem;
}

.header .btn-login {
    color: white !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.header .btn-login:hover {
    opacity: 0.8;
    color: white !important;
}

.header .btn-start {
    background: white;
    color: #007c8c;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.header .btn-start:hover {
    background: #8B7355;
    color: white;
}

/* ================================================
   RESPONSIVIDADE
   ================================================ */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0 !important;
    }

    .header .logo img {
        height: 32px !important;
    }

    .header .user-greeting {
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }

    .header .btn-logout,
    .header .btn-start {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .header .btn-login {
        display: none;
    }
}

@media (max-width: 480px) {
    .header .user-greeting {
        display: none;
    }

    .header .btn-start {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
